You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Find references shortcut lost when callHierarchy is enabled #801
@angelozerr one thing cursive does that works great for Clojure is use the same shortcut of find definition, when the cursor is already on a definition it doesn't make sense to find the definition, so it finds the references.
So, Ctrl + B or Ctrl + click on a definition, opens the find references popup, if we could have this would be so great
This is the same behavior I implemented on clojure-lsp-intellij master
@angelozerr do you think we can fix this for next release? something really convenient for clojure devs is that if you use Ctrl + b andi t's already in a definition, it shows the references popup, do you think that would be feasible?
I believe the answer is "no" until/unless there are actual PsiReferences being added to LSP4IJ files.
However, I'm a bit perplexed as to the difference between Go To | LSP Reference(s) and the IDE's native Find/Show Usages actions. I don't think they behave identically right now, but I would think that any issues with the IDE's native action against LSP4IJ-provided references should be addressed and the custom Go To | LSP Reference(s) action should be deprecated/removed.
Activity
angelozerr commentedon Feb 4, 2025
Indeed we need to find an another shortcut for this LSP Find References. Any contribution are welcome!
ericdallo commentedon Feb 4, 2025
@angelozerr one thing cursive does that works great for Clojure is use the same shortcut of find definition, when the cursor is already on a definition it doesn't make sense to find the definition, so it finds the references.
So, Ctrl + B or Ctrl + click on a definition, opens the find references popup, if we could have this would be so great
This is the same behavior I implemented on clojure-lsp-intellij master
ericdallo commentedon Feb 13, 2025
@angelozerr do you think we can fix this for next release? something really convenient for clojure devs is that if you use
Ctrl+bandi t's already in a definition, it shows the references popup, do you think that would be feasible?angelozerr commentedon Feb 13, 2025
I dont know. I am not an expert wuth jetbrains sdk.
@SCWells72 do you think we could fix this issue?
SCWells72 commentedon Feb 13, 2025
Regarding @ericdallo's last question, that's the same thing being discussed here:
#813 (comment)
I believe the answer is "no" until/unless there are actual
PsiReferences being added to LSP4IJ files.However, I'm a bit perplexed as to the difference between Go To | LSP Reference(s) and the IDE's native Find/Show Usages actions. I don't think they behave identically right now, but I would think that any issues with the IDE's native action against LSP4IJ-provided references should be addressed and the custom Go To | LSP Reference(s) action should be deprecated/removed.
test: check the shortcuts of LSP4IJ against the navigation actions of…
fix: give LSP Reference(s) no shortcut of its own, as Ctrl+Alt+H is C…