Skip to content

↑↓ moveEnter openEsc close

Close window in VS Code

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

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

What else uses Shift+Cmd+W? · What else uses Ctrl+Shift+W?

More VS Code shortcuts: general

ActionMacWindowsLinux
Show Command PaletteShiftCmdPorF1CtrlShiftPorF1CtrlShiftPorF1
Quick Open, go to fileCmdPCtrlPCtrlP
New windowShiftCmdNCtrlShiftNCtrlShiftN
Open User SettingsCmd,Ctrl,Ctrl,
Open the keybindings editorCmdK,CmdSCtrlK,CtrlSCtrlK,CtrlS
Open Microsoft's shortcut referenceCmdK,CmdRCtrlK,CtrlRCtrlK,CtrlR

All 138 VS Code shortcuts