When I complete a known namespace symbol, Calva doesn't automatically also add to the namespace require, even though Add missing require does that afterward. Ideally, even if there is ambiguity in the alias, it should base it on the selection I made?
I chatted with Eric Dallo on #calva and he confirms the following:
Just confirmed this only works on lsp-mode(emacs) but not on Calva for some reason, probably related to how calva handles completion/resolveItem , please open a issue on Calva so we can investigate further more
When I complete a known namespace symbol, Calva doesn't automatically also add to the namespace require, even though
Add missing require
does that afterward. Ideally, even if there is ambiguity in the alias, it should base it on the selection I made?I chatted with Eric Dallo on #calva and he confirms the following:
The code I tested (with thanks to Eric):
a.clj
b.clj
c.clj
I don't have a
.cljfmt.edn
file in the project (completely new project)clojure-lsp info:
Clojure Language Client logs