Shortcut

Visual Studio Code Save All Shortcut

The Visual Studio Code shortcut to save all is Ctrl + K then S on Windows. On Mac, press Cmd + Option + S.

Quick Answer

Windows
Ctrl+K then S
Mac
Cmd+Option+S
Web
Not confirmed yet
Visual Studio CodeShortcut

Save All

Windows
Ctrl+K then S

Saves all open files.

Tip: On Windows press Ctrl + K, release, then press S.

Learn More

How to save all in Visual Studio Code

  1. Open Visual Studio Code and go to where you want to save all.
  2. Press Ctrl + K then S on Windows or Cmd + Option + S on Mac.

Tip: On Windows press Ctrl + K, release, then press S.

Visual Studio Code Save All Shortcut for Windows

Press Ctrl + K then S.

Visual Studio Code Save All Shortcut for Mac

Press Cmd + Option + S.

Visual Studio Code Save All Shortcut for Visual Studio Code Web

We haven't confirmed a Visual Studio Code Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Visual Studio Code save all shortcut?

On Windows, press Ctrl + K then S. On a Mac, press Cmd + Option + S.

Is there a Mac shortcut to save all in Visual Studio Code?

Yes: Cmd + Option + S.

Does it work in Visual Studio Code for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify