Shortcut
Visual Studio Code Save File Shortcut
The Visual Studio Code shortcut to save file is Ctrl + S on Windows. On Mac, press Cmd + S.
Quick Answer
- Windows
- Ctrl+S
- Mac
- Cmd+S
- Web
- Not confirmed yet
Visual Studio CodeShortcut
Save File
Saves the current file.
How to save file in Visual Studio Code
- Open Visual Studio Code and go to where you want to save file.
- Press Ctrl + S on Windows or Cmd + S on Mac.
Visual Studio Code Save File Shortcut for Windows
Press Ctrl + S.
Visual Studio Code Save File Shortcut for Mac
Press Cmd + S.
Visual Studio Code Save File 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 file shortcut?
On Windows, press Ctrl + S. On a Mac, press Cmd + S.
Is there a Mac shortcut to save file in Visual Studio Code?
Yes: Cmd + 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