If in vs code simultaneous editing? 🤔 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

If in vs code simultaneous editing? 🤔

In sublime text, if you hold down ctrl + html tags for example (<li>), you can simultaneously add classes to all of them. Is there such an option in Visual Studio Code? I use the Emmet plugin, but sometimes I have to add classes to existing tags and it takes a lot of time.

13th Jul 2020, 8:25 AM
Anna/Аня
Anna/Аня - avatar
5 Answers
+ 2
You can use multi cursor in vscode. Select the tag then press ctrl + D bunch of times. Then you can edit multiple tags.
13th Jul 2020, 8:35 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 3
Thank you all
13th Jul 2020, 8:39 AM
Anna/Аня
Anna/Аня - avatar
+ 3
Anna/Аня you are welcome. Help others
13th Jul 2020, 9:09 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 2
🇮🇳Vivek🇮🇳 Thank you very much 🤗
13th Jul 2020, 8:37 AM
Anna/Аня
Anna/Аня - avatar
+ 1
If you select the li tag and press ctrl + D then the next ki tag will also be selected and a new cursor will be added. If you keep repeating then next li tag will be selected and so on..
13th Jul 2020, 8:37 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar