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

fix(lsp): Use correct origin selection range #2146

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

alex-snezhko
Copy link
Member

@alex-snezhko alex-snezhko commented Aug 16, 2024

Holding control highlights the correct origin

Before:
Screenshot from Screencast from 2024-08-15 21-15-36 webm

After:
Screenshot from Screencast from 2024-08-15 21-14-46 webm

@ospencer
Copy link
Member

I don't quite understand what this is. Can you explain?

@alex-snezhko
Copy link
Member Author

alex-snezhko commented Aug 16, 2024

@ospencer I updated the description with visuals including the mouse position if that clarifies things. When you hold down the control key, VS Code's LSP client surfaces this bug by showing the origin selection range as the thing you are targeting instead

@ospencer ospencer added this pull request to the merge queue Aug 16, 2024
Merged via the queue into main with commit ab3dde8 Aug 16, 2024
12 checks passed
@ospencer ospencer deleted the alex/lsp-goto-origin-range branch August 16, 2024 15:09
@github-actions github-actions bot mentioned this pull request Aug 16, 2024
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.

2 participants