-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go To definition not working on dependencies #1421
Comments
The same happens with me with Calva but not with Emacs (lsp-mode), so I don't think it's a clojure-lsp issue. |
Let me make sure I'm understanding the issue correctly. If I Is that the issue ^? This is without a connected repl, so the definitions should be provided via clojure-lsp, but when I |
I also verified with a breakpoint that the If LSP should be providing this support, maybe we need to change/set some initialization setting... |
Yes @bpringe, that's the issue. |
The exact same issue happens on neovim. |
I'll try to debug that on calva myself soon to check what calva is sending/receiving when inside a jar/dependency |
you should do that: https://github.com/redhat-developer/vscode-java/blob/9f32875a67352487f5c414bb7fef04c9b00af89d/src/providerDispatcher.ts#L28 (or similar) |
#1431 should fix this issue |
@rafaeldelboni I am also able to enter in dependencies via "go to definition". But when I am inside a dependency "go to definition" doesn't work.
|
@ericdallo Do you know what should be done on nvim to fix this issue? |
@viebel if not working, I suspect the same need to be done on nvim, telling nvim do add the jar opened file to the same active lsp workspace |
Hi everyone!
When using
go to definition
Calva stops working when I'm inside a dependency.nrepl: 0.8.3
cider-nrepl: 0.26.0
cider/piggieback: 0.5.2
clojure-lsp version configured: latest
clojure-lsp version used: 2021.12.01-12.28.16
clj-kondo version used: 2021.10.20-SNAPSHOT
The text was updated successfully, but these errors were encountered: