Reputation: 576
What hotkey or command helps to select the whole word under the cursor in VSC? (Like CTRL or ALT + D in ST3)
Upvotes: 18
Views: 12687
Reputation: 1329642
Note: the definition of a "word" is different when your document edited with VSCode is a markdown one.
That is why VSCode 1.52 (Nov. 2020) proposes:
Markdown inline smart select
Expand and shrink selection in Markdown documents using the following commands:
- Expand:
kb(editor.action.smartSelect.expand)
- Shrink:
kb(editor.action.smartSelect.shrink)
Selection applies to italics, bold, inline code blocks, and links.
Upvotes: 4