edit multiple lines vscode code example

Example 1: multiple line selection vscode

You can just Alt + click for additional cursors

Example 2: Multiline editing in Visual Studio Code

Ctrl+Shift+L

Example 3: vs code edit multi line

Windows: Ctrl + Alt + Arrow Keys.
Linux: Shift + Alt + Arrow Keys.
Mac: Opt + Cmd + Arrow Keys.

Example 4: multiple word select in vs code

//Selects the word at the cursor, or the next occurrence of the current selection.
Ctrl+D 

//To add cursors to all the occurrences of a highlighted word 
Ctrl+Shift+L 
//Then select all occurrences of that word

Example 5: select multiple lines in vs code

Ctrl + Alt + Arrow keys

Tags:

Html Example