Save All
What is Save All?
Save All: Write every modified file to disk at once. Save All writes every modified file to disk at once. In VS Code it is Ctrl+K S or Cmd+Option+S; JetBrains IDEs save automatically, with Ctrl+S or Cmd+S forcing a save of everything. It matters when you change several files for one task, such as a controller, a view and a test, and then run the tests or reload the browser. An unsaved file means you are testing old code, which leads to confusing results.
Frequently asked questions about Save All
What should you keep in mind with Save All?
Many developers turn on auto save so this never comes up. VS Code can save when focus moves away from the editor or after a short delay. If your project runs a file watcher, such as Vite or a test watcher, auto save keeps everything in step. Use Git to undo mistakes rather than relying on unsaved buffers.
At a glance
| Category | Keyboard shortcuts |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |