[VScode] Customize so that all words are selected when double-clicking a word containing “-”.
Jun 22, 2021
How to customize so that all words are selected when double-clicking a word containing “-”.
I think VScode is designed to separate words at the hyphenated part when double-clicking a hyphenated string by default.
Since HTML ids and classes often separate words by hyphenation, I often find this inconvenient.
Many of you may think that this is a VScode specification and you have to give up.
Procedure
- Open settings with command + ,
- Search for editor.word
- In Editor: Word Separators, you will find a list of separator symbols, just delete the “-” from the symbols
I hope that I can contribute to improving your development efficiency as much as possible.
Have a good development life!
My Twitter -> https://twitter.com/IT_makesUsHappy