[VScode] Customize so that all words are selected when double-clicking a word containing “-”.

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

  1. Open settings with command + ,
  2. Search for editor.word
  3. 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

--

--

KASATA - TechVoyager
KASATA - TechVoyager

Written by KASATA - TechVoyager

Master of Applied Physics/Programmer/Optics/Condensed Matter Physics/Quantum Mechanics/AI/IoT/Python/C,C++/Swift/WEB/Cloud/VBA

No responses yet