VS Code Shortcuts

VS Code Keyboard Shortcuts for Windows (2026)

The most important VS Code shortcuts for Windows. Download the official PDF cheat sheet or use this quick reference.

Quick answer: VS Code Windows shortcuts: Command Palette = Ctrl+Shift+P | Quick Open = Ctrl+P | Toggle Terminal = Ctrl+` | Format Document = Shift+Alt+F | Go to Definition = F12

All Shortcuts

ActionShortcutAlternative
Command PaletteCtrlShiftP
Quick Open FileCtrlP
Toggle TerminalCtrl`
Format DocumentShiftAltF
Go to DefinitionF12
Find in FilesCtrlShiftF
Split EditorCtrl\
Toggle SidebarCtrlB

Frequently Asked Questions

What is the VS Code Command Palette shortcut on Windows?

Press Ctrl+Shift+P on Windows to open the VS Code Command Palette, which lets you run any command.

How do I format code in VS Code on Windows?

Press Shift+Alt+F on Windows to format the entire document in VS Code.

What is the VS Code terminal shortcut on Windows?

Press Ctrl+` (backtick) to open or close the integrated terminal in VS Code on Windows.

Search 3,400+ shortcuts across 245 platforms

Explore All Platforms Practice Shortcuts