vs code select multiple lines code example

Example 1: multiple line selection vscode

You can just Alt + click for additional cursors

Example 2: vs code edit multi line

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

Example 3: vscode multiple line string

You can break lines using + concatening operator:

template: "

" + "

" Or ` backtick template: `

` Or \ backslash template: "

\

"

Example 4: select multiple lines in vs code

Ctrl + Alt + Arrow keys

Example 5: multiple line selection vscode

multiple line selection vscode

Tags:

Misc Example