Skip to content
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

references-view: removeReferenceItem hotkey implementation #237486

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Clam-
Copy link

@Clam- Clam- commented Jan 8, 2025

Resolves #234017 and #200465.

Previously removeReferenceItem did not function when utilized via hotkey. This is because the function called by the hotkey does not have the "item" to remove.
This is resolved by iterating over the current selection and calling remove on those items in the case where no item is provided.

This can be tested by:

  • Assigning a hotkey to removeReferenceItem
  • Right clicking on a symbol and selecting "Find All References"
  • Pressing the hotkey

@Clam-
Copy link
Author

Clam- commented Jan 8, 2025

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some references.view shortcuts not working
2 participants