Reputation: 2300
How to enable auto select non-word characters in Visual Studio code?
Here is the setting in atom.
This would enable selection of variables like $foo
or colours #fff
with just a double click in Atom Editor. And by selection I mean from $ to o in $foo. At the moment when double clicked on $foo
, VSCode selects only foo.
Is there a way to enable this?
Upvotes: 2
Views: 247
Reputation: 67689
settings.json
"editor.wordSeparators"
from default: ~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?
remove symbol
dollar:
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?"
sharp:
"editor.wordSeparators": "`~!@$%^&*()-=+[{]}\\|;:'\",.<>/?"
both:
"editor.wordSeparators": "`~!@%^&*()-=+[{]}\\|;:'\",.<>/?"
Upvotes: 4