Developer

VS Code Shortcuts

Browse Visual Studio Code keyboard shortcuts for Windows, macOS, and Linux.

ActionShortcutCategory
Command PaletteCtrl+Shift+PGeneral
Quick OpenCtrl+PGeneral
New WindowCtrl+Shift+NGeneral
Close WindowAlt+F4General
User SettingsCtrl+,General
Keyboard ShortcutsCtrl+K Ctrl+SGeneral
FindCtrl+FSearch
ReplaceCtrl+HSearch
Search in FilesCtrl+Shift+FSearch
Toggle TerminalCtrl+`Terminal
New TerminalCtrl+Shift+`Terminal
Split EditorCtrl+\Editor
Format DocumentShift+Alt+FEditor
Go to DefinitionF12Navigation
Peek DefinitionAlt+F12Navigation
Rename SymbolF2Refactor
Toggle CommentCtrl+/Editor
Multi CursorAlt+ClickEditor
Move Line UpAlt+UpEditor
Move Line DownAlt+DownEditor

FAQ

Questions people ask

Which VS Code platforms are included?

The shortcut table includes Windows, macOS, and Linux key combinations.

Can I search by shortcut or action?

Yes. Search matches the action name, category, and all platform shortcut strings.

Can I copy a shortcut?

Yes. Use the copy button beside a row to copy the shortcut for the selected platform.

Related tools

Continue working