-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
dialog with two definitions for one function on Go To Definition (F12) #1426
Comments
So you are connecting Calva to an nrepl server or jacking in? Calva doesn't connect to nrepl automatically (in any case that I know of), so I just want to make sure I understand correctly. |
The message I'm guessing you are using some other nREPL extension (maybe the Clojure extension?). Then maybe both clojure-lsp and that other extension finds the function and that's why you get two options. |
OMG, you're right! I had tried the Clojure extension before I found Calva and forgot it was still enabled. Sorry! |
Don't be sorry. It is quite common and you are reminding us that we should maybe detect this situation and issue a warning about it, as we do with some other potential extension conflicts. |
This issue is an excellent example of providing context, btw. It made it possible to spot a probable cause quickly. |
I just tried with the Clojure extension installed. It actually just starts a REPL and connects automatically. 😄 |
I have a simple file with two functions, one which calls the other. When I stand a function call
(doubleme)
and hit F12, I see a popup to disambiguate which function it should go to. There's only one actual function in the code though.Project is attached, code looks like this:
I noticed three phases, just after I open the project with VS Code+Calva:
I first saw this in a different project, and we discussed on the calva slack channel.
mytest.zip
clojure-language-client-output.log
The text was updated successfully, but these errors were encountered: