When I place my cursor at any position inside a text like the string in this photo, vs code automatically mildly highlights the entire string. Is there any shortcut key for selecting and copying this entire text highlighted by vs code?
CodePudding user response:
If in a string, triggering the command editor.action.smartSelect.grow
a couple of times should select that entire string. And then you can copy the normal way Ctrl C.
That command is unbound by default. You can assign a keybinding to it in the Keyboard Shortcuts
editor by searching for smartSelect
and click on the little pencil icon next to the command.