Skip to content

super+click to open the Go to references popup window #1857

@LandazuriPaul

Description

@LandazuriPaul

Extension Version

v2.32.3

Problem Statement

This extension is great and allows to explore references both ways, but the cmd+click feature is only enabled in one direction:

  • When cmd+click is applied on a symbol reference, it jumps directly to its definition, as expected.
  • When cmd+click is applied on a symbol definition, nothing happens.

Currently, we can still see the references popup by:

  • either right click > Go to References
  • or using the shift+F12 shortcut (by default)

Expected User Experience

Since this is the way VS Code behaves with all other languages, it would be great to be able to open the Go to References popup when cmd+clicking on the symbol definition.

This would greatly improve the Developer Experience when navigating TF files.

Proposal

Since the Go to References feature is already implemented in this extension (according to this issue it was introduced in 2021), it would be a matter of "linking" the cmd+click to it.

References

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions