By Default VSCode only saves the current file when hitting Ctrl+S. Over time, I got used to Ctrl+S saving all the modified files in the project. Here is how to setup the same behavior in VSCode.
Go to
File > Preferences > Keyboard Shortcuts |
In the keybindings.json
where you can put your overrides, use the following:
[ |
This will invert the shortcuts for the Save
and Save All
actions. From now on, Ctrl+S
will save all the modified files.
Such a time saver when refreshing your build only to realise you forgot to save one of the files ;)