calva icon indicating copy to clipboard operation
calva copied to clipboard

rename namespace action mangles clojure ns form

Open dustingetz opened this issue 2 years ago • 1 comments

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

dustingetz avatar Aug 24 '23 21:08 dustingetz

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.

PEZ avatar Aug 25 '23 05:08 PEZ