Skip to content

↑↓ moveEnter openEsc close

Toggle Sidebar visibility in VS Code

VS Code 1.96 · 138 shortcuts · checked Nov 2026 · Source: Microsoft docs

In Visual Studio Code, press Cmd+B (Mac), Ctrl+B (Windows, Linux).

What else uses Cmd+B? · What else uses Ctrl+B?

More VS Code shortcuts: display

ActionMacWindowsLinux
Toggle full screenCtrlCmdFF11F11
Toggle Zen ModeCmdK,ZCtrlK,ZCtrlK,Z
Zoom inCmd=Ctrl=Ctrl=
Zoom outCmd-Ctrl-Ctrl-
Show ExplorerShiftCmdECtrlShiftECtrlShiftE
Show SearchShiftCmdFCtrlShiftFCtrlShiftF
Show Source ControlCtrlShiftGCtrlShiftGCtrlShiftG
Show Run and DebugShiftCmdDCtrlShiftDCtrlShiftD
Show ExtensionsShiftCmdXCtrlShiftXCtrlShiftX
Replace in filesShiftCmdHCtrlShiftHCtrlShiftH

All 17 in display · All 138 VS Code shortcuts