Skip to content

Enable word selection with a key modifier. #130215

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

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

Conversation

manuelxmarquez
Copy link

This PR fixes #23957

The click link to gesture feature can be disabled and instead use word selection which is expected by some users as described in the issue.

Test:

  1. Open file and confirm holding Ctrl allows click to link gesture
    image
  2. Hold Ctrl and click comment to place cursor
    image
  3. Hold Alt and click to place multiple cursors
    image
  4. Open settings and enable Word Selection
    image
  5. Hold Ctrl and click the same location from step 1 to select the entire word
    image
  6. Hold Ctrl and click comment to select the entire word
    image
  7. Same beahviour as step 3
  8. Open settings to change the modifier key "editor.multiCursorModifier": "ctrlCmd" and remove the wordSelection
    image
  9. Repeat steps 1 to 7 swapping Ctrl for Alt and vice versa

@ghost
Copy link

ghost commented Aug 5, 2021

CLA assistant check
All CLA requirements met.

@alexdima alexdima added the keybindings VS Code keybinding issues label Oct 27, 2021
@alexdima alexdima self-requested a review November 16, 2022 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keybindings VS Code keybinding issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Option to disable cmd+click trigger for goToDefinition
2 participants