VS Code Shortcuts

Development·35 shortcuts·6 sections·Also on: Linux, macOS

General5

Command PaletteCtrlShiftP
Quick Open FileCtrlP
New WindowCtrlShiftN
Open SettingsCtrl,
Toggle TerminalCtrl`

Editing10

Select Word / Next OccurrenceCtrlD
Select All OccurrencesCtrlShiftL
Move Line UpAlt
Move Line DownAlt
Delete LineCtrlShiftK
Toggle CommentCtrl/
Toggle block commentCtrlShiftA
Outdent LineCtrl[
Indent LineCtrl]
Insert Line AboveCtrlShiftEnter

Search & Replace4

FindCtrlF
Find and ReplaceCtrlH
Find in FilesCtrlShiftF
Replace in FilesCtrlShiftH

View7

Toggle SidebarCtrlB
ExplorerCtrlShiftE
Source ControlCtrlShiftG
ExtensionsCtrlShiftX
Split EditorCtrl\
Zoom InCtrl+
Zoom OutCtrl-

Debug3

Start DebuggingF5
Stop DebuggingShiftF5
Toggle BreakpointF9

Access VS Code shortcuts from your menu bar

KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.

Command PaletteCtrlShiftP
Quick Open FileCtrlP
New WindowCtrlShiftN