How can we save all files in (VSCode) like we do in Visual Studio
How can we save all the files in Visual Studio Code like we do in Visual Studio by pressing Ctrl+Shift+S ?
It doesn't look like VS Code has a built-in single-press keyboard shortcut to save all open files on Windows.
The simplest way would be to use the menu accelerators: ALT+F, followed by ALT+L.
Alternatively, you can change the key binding by editing the keyboard preferences:
Add the binding to the right half of the screen, then restart VS Code:
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+shift+s",
"command": "workbench.action.files.saveAll"
}
]
⌥+⌘+S // macOS
Ctrl+K S // Windows
Ctrl+Alt+S // Linux