Skip to content

Keyboard shortcuts

Use ⌘ on macOS and Ctrl on Windows/Linux unless noted. When in doubt, the command palette lists chrome commands with their bound keys.

Action Shortcut
Command Palette ⌘⇧P / Ctrl+Shift+P (also ⌘K / Ctrl+K)
Go to File… ⌘P / Ctrl+P
Find in Project (Find in Files) ⌘⇧F / Ctrl+Shift+F
Find Symbol in Project… ⌘T / Ctrl+T
Settings… ⌘, / Ctrl+,
Save ⌘S / Ctrl+S
Save All ⌘⇧S / Ctrl+Shift+S
Find in file ⌘F / Ctrl+F
Replace ⌘H / Ctrl+H
Go to Definition F12, Ctrl/Cmd+Click, or right-click → Go to Definition
Impact Analysis Command Palette → Impact Analysis, or Go → Impact Analysis
Run Impact Set Command Palette → Run Impact Set, or Go → Run Impact Set (certain hits only)
Run File F5
Stop Shift+F5
Robot Doctor ⌘⇧D / Ctrl+Shift+D
Problems ⌘⇧M / Ctrl+Shift+M
Format Document ⇧⌥F / Shift+Alt+F
Action Shortcut
Accept suggestion Tab or Enter
Next / previous suggestion ↓ / ↑
Dismiss Esc

With no popup open, Tab indents and Shift+Tab outdents as usual.

Action Shortcut / control
Toggle Side Bar ⌘B / Ctrl+B, View → Toggle Side Bar, or click the logo mark at the top of the activity bar
Toggle Terminal ⌘\`` / Ctrl+`` (Terminal → Toggle Terminal)
Close Editor ⌘W / Ctrl+W
Reopen Closed Editor ⌘⇧T / Ctrl+Shift+T
Next / previous editor tab Ctrl+Tab / Ctrl+Shift+Tab

On the editor start page (no open tab), Show Explorer / Hide Explorer uses the same ⌘B / Ctrl+B chord; Open File… and Search in Project use Go to File and Find in Project above.

Action Shortcut
Delete line ⌘⇧K / Ctrl+Shift+K
Copy line up / down ⇧⌥↑ / ⇧⌥↓ (Shift+Alt+↑ / Shift+Alt+↓)
Undo / Redo ⌘Z / Ctrl+Z · ⌘⇧Z / Ctrl+Y

Open this user guide with the Help (?) icon above Settings in the activity bar.

On Windows and Linux, File / Edit / View / Go / Run / Terminal appear as an in-window menu bar under the title (macOS uses the system menu bar).