select multiple visual studio code example
Example 1: visual studi reccouci same select
Multi cursor edit is natively supported in Visual Studio starting from version 2017 Update 8. The following is an extract of the documentation:
this tuto
https://www.meziantou.net/visual-studio-tips-and-tricks-multi-line-and-multi-cursor-editing.htm
Ctrl + Alt + click : Add a secondary caret
Ctrl + Alt + double-click : Add a secondary word selection
Ctrl + Alt + click + drag : Add a secondary selection
Shift + Alt + . : Add the next matching text as a selection
Shift + Alt + ; : Add all matching text as selections
Shift + Alt + , : Remove last selected occurrence
Shift + Alt + / : Skip next matching occurrence
Alt + click : Add a box selection
Esc or click : Clear all selections
Example 2: how to replace text for same words vs code
(1) Select your code
(2) Ctrl+Shift+L (which is editor.action.selectHighlights)
(3) voila, multiple cursors done - type away.