microsoft / microsoft/vscode-sublime-keybindings

Word navigation keybindings conflict with the new "Smart Selection" feature

Open
#112 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
257
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Note: This comes from the outcome of a bug report I opened in the main VSCode repo.

Looking through the keybindinds added by this extension, there are two that conflict with the recently added "Smart Selection" feature:

  • Alt + Shift + LeftArrow conflicts with editor.action.smartSelect.shrink
  • Alt + Shift + RightArrow conflicts with editor.action.smartSelect.expand

With that said, it has been a while since I used ST3, but I don't remember those specific keyboard shortcuts working to select the previous/next words, I always used Ctrl + Shift + Left/Right for that.

In light of this, I propose these custom bindings be removed from this extension.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the extension keybindings for Alt+Shift+LeftArrow and Alt+Shift+RightArrow, then compare them with VS Code's editor.action.smartSelect.shrink and editor.action.smartSelect.expand commands. Remove the conflicting custom bindings and verify that Smart Selection retains those shortcuts without breaking the intended word-navigation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.