vs code copy line down code example

Example 1: VScode duplicate line

//------------ How to duplicate lines of code? --------------//

-> Windows:

Shift + Alt + Down   and   Shift + Alt + Up

-> Mac:

Shift + Option + Down   and   Shift + Option + Up

-> Linux:

Ctrl + Shift + Alt + Down   and   Ctrl + Shift + Alt + Up

Example 2: copy 1 line down visual studio

Edit "Copy Line Down" ( Shift + Alt + DownArrow ) to your your own shortcut.

Example 3: vscode duplicate line

Shift + Alt + Any Up 0r Down Keys

Example 4: vs code copy a link down

On Windows: Shift + Alt + Up/Down.
On Mac: Shift + Option + Up/Down.
On Ubuntu: Ctrl + Shift + Alt + Up/Down.

Tags:

Go Example