Allow popup window to be pinned

Currently, when using Cmd+Click (or Ctrl+Click) on a method/variable to see its references, the popup window disappears as soon as we click on one of the references. This makes it difficult to quickly navigate between multiple references of the same symbol.

Feature Request:

  • Add a pin button/option to the references popup window
  • When pinned, the window should stay visible even after clicking on a reference
  • This would allow users to easily jump between different usages without having to reopen the references window each time

Use Case:
When refactoring code or trying to understand the flow of a program, developers often need to check multiple usages of the same method or variable. Having to repeatedly Cmd+Click to reopen the references window interrupts the workflow and makes code navigation less efficient.

Alternative (current) workarounds:

  • Using “References: Find All References” from the command palette to open references in the side panel
  • This works but requires more steps and isn’t as convenient as having the option to pin the popup window directly

Similar features exist in other IDEs (like IntelliJ), where reference popups can be pinned for persistent viewing.