Skip to content

↑↓ moveEnter openEsc close

Save all in VS Code

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

In Visual Studio Code, press Cmd+Option+S (Mac), Ctrl+K S (Windows, Linux).

What else uses Option+Cmd+S?

More VS Code shortcuts: file management

ActionMacWindowsLinux
Open folderCmdOCtrlK,CtrlOCtrlK,CtrlO
New fileCmdNCtrlNCtrlN
Open fileCmdOCtrlOCtrlO
SaveCmdSCtrlSCtrlS
Save asShiftCmdSCtrlShiftSCtrlShiftS
Close all editorsCmdK,CmdWCtrlK,CtrlWCtrlK,CtrlW
Reopen closed editorShiftCmdTCtrlShiftTCtrlShiftT
Keep preview mode editor openCmdK,EnterCtrlK,EnterCtrlK,Enter
Open next editorCtrlTabCtrlTabCtrlTab
Open previous editorCtrlShiftTabCtrlShiftTabCtrlShiftTab

All 14 in file management · All 138 VS Code shortcuts