BetterThanTomorrow / calva

Clojure & ClojureScript Interactive Programming for VS Code
https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva
Other
1.67k stars 217 forks source link

rename namespace action mangles clojure ns form #2298

Open dustingetz opened 1 year ago

dustingetz commented 1 year ago

Calva v2.0.387, VSCode 1.82.0-insider (Universal) Goal: rename a clojure namespace in a clojure source file (.clj, .cljc tested) Steps taken: open clojure source file, right click on namespace symbol in the ns form, in context menu choose "rename symbol", type target name, submit Expected: ns name renamed to what i typed Actual: namespace qualified sym is mangled. File is correctly renamed

https://github.com/BetterThanTomorrow/calva/assets/124158/b0895175-8427-4559-8690-cb5bf32bb22d

PEZ commented 1 year ago

Thanks for reporting! Rename symbol is handled by clojure-lsp, so you should file an issue there as well, if there isn't one (and if it is, maybe link back to this one there). Let's keep this issue open until we have a resolution. You could add the clojure-lsp version you are using to this issue.