ShortcutPosters
iPhone appNew

Visual Studio Code Keyboard shortcuts

Get the poster

Visual Studio Code is a lightweight, extensible code editor that has become a default for many developers. Its keyboard shortcuts drive the command palette, multi-cursor editing, and quick file switching, making it easy to navigate and edit code at speed.

All Visual Studio Code keyboard shortcuts (Mac)

Layout
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
`
1
2
3
4
5
6
7
8
9
0
-
=
⌫
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\
⇪
A
S
D
F
G
H
J
K
L
;
'
↩
Shift
Z
X
C
V
B
N
M
,
.
/
Shift
⌃
⌘
⌥
Space
⌥
⌘
⌃
↑
←
↓
→

+ 2 more controls in the table below

52 shortcuts

Editing 12

Action Shortcut
Cut Line ⌘X
Copy Line ⌘C
Move Line Up ⌥↑
Move Line Down ⌥↓
Toggle Line Comment ⌘/
Format Document ⇧⌥F
Delete Line ⌘⇧K
Copy Line Down ⇧⌥↓
Copy Line Up ⇧⌥↑
Indent Line ⌘]
Outdent Line ⌘[
Toggle Block Comment ⇧⌥A

Navigation 7

Action Shortcut
Go to Definition F12
Go to Line ⌃G
Go to Symbol ⌘⇧O
Go Back ⌃−
Go Forward ⌃⇧−
Peek Definition ⌥F12
Jump to Matching Bracket ⌘⇧\

Multi-cursor 6

Action Shortcut
Add Cursor to Next Match ⌘D
Select All Occurrences ⌘⇧L
Add Cursor Above ⌥⌘↑
Add Cursor Below ⌥⌘↓
Expand Selection ⌃⇧⌘→
Shrink Selection ⌃⇧⌘←

Display 6

Action Shortcut
Toggle Sidebar ⌘B
Toggle Panel ⌘J
Split Editor ⌘\
Toggle Zen Mode ⌘KthenZ
Zoom In ⌘=
Zoom Out ⌘−

General 4

Action Shortcut
Show Command Palette ⌘⇧P
Quick Open File ⌘P
Open Settings ⌘,
Open Keyboard Shortcuts ⌘Kthen⌘S

Search 4

Action Shortcut
Find ⌘F
Search Across Files ⌘⇧F
Replace ⌥⌘F
Replace Across Files ⌘⇧H

File 4

Action Shortcut
Save ⌘S
New File ⌘N
Close Editor ⌘W
Save As ⌘⇧S

Debug 4

Action Shortcut
Start / Continue Debugging F5
Toggle Breakpoint F9
Step Over F10
Step Into F11

Languages 3

Action Shortcut
Trigger Suggestion ⌃␣
Rename Symbol F2
Quick Fix ⌘.

Terminal 2

Action Shortcut
Toggle Terminal ⌃`
New Terminal ⌃⇧`

Sourced from code.visualstudio.com Last verified

Unofficial reference. ShortcutPosters is not affiliated with, endorsed by, or sponsored by Visual Studio Code. All product names, logos, and trademarks are property of their respective owners. See our licensing & trademark notice.

Get the Visual Studio Code poster

5 art directions — pick one below, click to zoom & compare.

Visual Studio Code blueprint shortcuts poster preview
Visual Studio Code aurora shortcuts poster preview
Visual Studio Code studio shortcuts poster preview
Visual Studio Code block shortcuts poster preview
Visual Studio Code riso shortcuts poster preview

Mac edition · 52 shortcuts

A printable, framed-quality poster of the essential Visual Studio Code shortcuts for Mac — the keys worth keeping in view, designed to stay readable on a wall.

Edition

Free PNG is web-resolution & watermarked.

Customise this poster Pick the shortcuts, restyle the colours — download free. Get the framed-quality print Full 300 DPI, print-ready — at home or shipped to your door.

Stream Deck profile

VS Code on physical keys

103 of its shortcuts on labelled Stream Deck keys, ready to import with a double-click.

103 shortcuts · macOS & Windows · €6.99

Frequently asked questions

Does the poster include every Visual Studio Code shortcut?
Visual Studio Code has 52 keyboard shortcuts on macOS — the complete list is free to read on this page. The poster features the most essential ones, curated to stay readable on a wall.
Can I print it at home?
Yes. The digital download is a high-resolution 300 DPI file you can print at home or at any print shop, in standard frame sizes.
Does it cover both Mac and Windows?
We sell a separate edition per platform so every key matches your keyboard exactly. This page is the macOS edition.
Is this an official Visual Studio Code product?
No. This is an unofficial reference poster and is not affiliated with or endorsed by Visual Studio Code. All trademarks belong to their respective owners.

Guides

Promote your app

Built an app with great keyboard shortcuts? Get it into the database — a free, searchable reference page, and an optional printable poster your power users will pin to the wall.

  • Free shortcut reference page
  • Indexed & searchable
  • Optional framed poster