Skip to content

Find references shortcut lost when callHierarchy is enabled #801

Closed

Description

@ericdallo

After enabling call hierarchy, the new shortcut Ctrl + Alt + h, overrides the find references shortcut, only working if manually selecting from menu.

Image

Activity

  1. angelozerr commented on Feb 4, 2025

    @angelozerr
    Contributor

    Indeed we need to find an another shortcut for this LSP Find References. Any contribution are welcome!

  2. added
    bug
    on Feb 4, 2025
  3. ericdallo commented on Feb 4, 2025

    @ericdallo
    ContributorAuthor

    @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

  4. ericdallo commented on Feb 13, 2025

    @ericdallo
    ContributorAuthor

    @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?

  5. angelozerr commented on Feb 13, 2025

    @angelozerr
    Contributor

    I dont know. I am not an expert wuth jetbrains sdk.

    @SCWells72 do you think we could fix this issue?

  6. SCWells72 commented on Feb 13, 2025

    @SCWells72
    Contributor

    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.

  7. added a commit that references this issue on Nov 21, 2026
    8328f72
  8. added this to the 0.30.2 milestone on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions