Is there a way to customize (i.e., in settings.json
) the set of characters used to delimit words and tokens in Visual Studio Code? I'm referring to the set of characters used to control the behavior of actions like Alt+Left, Alt+Right, or double-clicks when navigating text.
Sublime Text supports a "word_separators"
option for settings files that take a set of characters like “./\()"’-:,.;<>~!@#$%^&*|+=[]{}~?”
. Does Code support a similar feature?
As of the February update, v0.10.10 (February 2016), word navigation and word separators has now been added! As of today you can view the update announcement here under "Word navigation and word separators", but after the next release the url will probably change to this... I make this assumption based on previous releases.
Your settings file(s) now contain a section for editing word navigation and word separators
// Characters that will be used as word separators when doing word related navigations or operations
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",
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