What hotkey or command helps to select the whole word under the cursor in VSC? (Like CTRL or ALT + D in ST3)
Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.
Using arrow-based key combinations, you should find that Ctrl ← will move to the start of the current word (or the previous word, if the cursor is already at the start of the current word), and then Ctrl Shift → will select the current word. Some applications use different shortcuts for the above.
Shift + End = Select the entire line from start to end. Shift + Home = Select the entire line from end to start.
Goto File > Preferences > Keyboard Shortcuts. in the search bar type this Select All. There's should a couple of results, you'll obviously want the "Select All" result. right click on his line and click on Change When Expression.
To select the word under the cursor in VSCode: ctrl + d
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With