Visual Studio Code (Mac) keyboard shortcuts

Visual Studio Code (Mac)  

Zeynel -
6 years ago
- Shortcuts
3
↑  Shift + ⌘ Cmd + P then F1

Show Command Palette

-1
⌘ Cmd + P

Quick Open, Go to File

1
⌘ Cmd + W

Close window/instance

1
⌘ Cmd + K then ⌘ Cmd + S

Keyboard Shortcuts

Advertisement

1
⌘ Cmd + X

Cut line (empty selection)

1
↑  Shift + ⌥ Opt +   

Copy line up / down

-1
⌘ Cmd + ]

Indent/outdent line

2
⌥ Opt + ⌘ Cmd + [

Fold (collapse) region

2
⌘ Cmd + K then ⌘ Cmd + C

Add line comment

5
⌘ Cmd + K then ⌘ Cmd + U

Remove line comment

1
⌥ Opt + Z

Toggle word wrap

1
↑  Shift + ⌘ Cmd + M

Show Problems panel

0
Ctrl + Space

Trigger suggestion

0
↑  Shift + ⌥ Opt + F

Format document

2
⌘ Cmd + K then ⌘ Cmd + F

Format selection

4
F5

Start/Continue


Share this page on:
Is this page helpful?
3 0

Program information

Program name: Visual Studio Code (Mac) Visual Studio Code (Mac) (Developer tools)

Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It has features such as debugging, Git control, syntax highlighting, smart code completion, snippets and refactoring. It's free and open-source, however official download is under a proprietary license.

Web page: code.visualstudio.com

Last update: 1/16/2021 8:49 AM UTC

How easy to press shortcuts: 68%

More information >>

Shortcut count: 131

Platform detected: macOS

Similar programs



User operations

Add Visual Studio Code (Mac) to favorites

Add to favorites

Advertisement


What is your favorite Visual Studio Code (Mac) hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!