clojure-lsp / clojure-lsp-intellij

Intellij Plugin for Clojure & ClojureScript development via Language Server (LSP) made in Clojure
https://clojure-lsp.io
MIT License
85 stars 6 forks source link

External libraries don't show the full hierarchy #55

Open Jairolaya12x opened 4 months ago

Jairolaya12x commented 4 months ago

Is your feature request related to a problem? Please describe. In Cursive when you open an external library you have the option to navigate in the hierarchy through the files and folders of that.

Describe the solution you'd like I really like to know other files or classes that I can use without having the full context, but in this case is complex to navigate

Describe alternatives you've considered Not found

Additional context

(Look at the bottom as cursive exposes the hierarchy of the files and folders of the library) image

And currently is showing only the current file without option to jump to others image

ericdallo commented 3 months ago

That happens because clojure-lsp decompiles or find one file per navigation, so it doesn't know the others in the same hierarchy until you navigate, but we could improve this behavior although it's kind of complex