calva icon indicating copy to clipboard operation
calva copied to clipboard

autocomplete for symbol in cljs file adds require from clj file

Open zubairAmperity opened this issue 2 years ago • 2 comments

The autocomplete doesn't include an symbol defined in a fn, but does include an example of an alias of a namespace not included in the project.

That namespace comes from a .clj file, and i'm working in a .cljs file, so it shouldn't even be an option for autocomplete

image

zubairAmperity avatar Sep 06 '23 22:09 zubairAmperity

Hi! That looks wrong. If there isn't an issue about this on clojure-lsp, I think @ericdallo would want one. If you can create a minimal reproduction, that would be extra awesome. 🙏

PEZ avatar Sep 07 '23 06:09 PEZ

yes, clojure-lsp is aware of that during complete and that shouldn't happen, so we need a repro, feel free to create a issue when having one

ericdallo avatar Sep 07 '23 13:09 ericdallo