Home > Net >  Visual studio shortcuts (Duplication)
Visual studio shortcuts (Duplication)

Time:10-30

Can someone tell me how to duplicate the line I am on as most of the people do in visual studio code and list for me some shortcuts or where I can see them?/.

CodePudding user response:

@Mohammed Ahmed

You can press ctrl d to duplicate your current line.

CodePudding user response:

Duplicate line (down/up) Visual Studio Code.

Windows:

Shift Alt ↓ or Shift Alt ↑

Shortcuts for Win


Mac:

Shift Option ↓ or Shift Option ↑

Shortcuts for Mac


Linux:

Ctrl Shift Alt ↓ or Ctrl Shift Alt ↑

Shortcuts for Linux

(some distros You need use Numpad arrows)

  • Related