Z
Z
zelich2020-06-26 18:10:19
Visual Studio Code
zelich, 2020-06-26 18:10:19

How to set up VS Code - select by double click with add. keys?

VS Code automatically, when double-clicking on the word "monthsavings" in the line , selects only the word monthsavings . That is, not the entire class, but only up to the character" - " You can reconfigure settings.json, add
<div class="monthsavings-value"></div>

"editor.wordSeparators": "`[email protected]#$%^&*()=+[{]}\\|;:'\",.<>/?"

Then the entire monthsavings-value class is allocated .
But there are times when you need to highlight one word. How can I set up VS Code so that, for example, a single word is selected on a double click, and an entire class is selected on a double click + ctrl?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question