In vscode, ctrl + arrow will not stop at an underscore. Is there any way to change this behaviour, or is there a shortcut to select characters between two underscores?
(I have searched through available shortcuts and extensions but could not find any)
Thanks!
If you add the underscore to your wordSeparators in the setting Editor: Word Separators
, then
Ctrl+rightArrow : move to the next word separator,
followed by another rightArrow to move after that underscore
, then
Ctrl+Shift+rightArrow will select all word characters up to the next word separator, which might or might not be the next underscore
- depends on your code.
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