-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Introduce ExpandSelectionToWord action #13765
Conversation
Let me know if you disagree with my assumptions above. |
b2486cb
to
f9d118d
Compare
what about a selection of |
RE |
VS Code has an "Expand Selection" action for Shift+Alt+Right. That expands to word --> line -->doc. (so if you're already on the whole word, it goes to line, etc...). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ez
From bug bash: Moved to #13854 |
make sure this gets into the docs! |
Hello @carlos-zamora! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
🎉 Handy links: |
Summary of the Pull Request
Introduces a new action
expandSelectionToWord()
which expands the beginning and end of the selection to encompass the word(s) it's on. This was implemented as a conditional keybinding where the key chord is passed through to the terminal if no selection is active (similar tocopy()
).It is not bound to anything by default.
PR Checklist
Validation Steps Performed
expandSelectionToWord()
expandSelectionToWord()