Sublime plugin to trigger save on all files open in a window.
Useful for triggering after-save actions (e.g. https://packagecontrol.io/packages/Expand%20Tabs%20on%20Save).
- Clone this repo to your local machine
- run
cp [path/to/repo/]ForceSaver.* [path/to/sublime/Packages/User/]
- for OSX the packages path should be
~/Library/Application Support/Sublime Text 3/Packages/User/
- this will copy
ForceSaver.py
andForceSaver.sublime-commands
into the User packages directory
- for OSX the packages path should be
- NOTE: You may have to restart Sublime
- Open the Command Palette (
Command + Shift + P
on OSX) and search forForce
and you'll see theForce Saver: Save All
command there.
- Add the Force Save All command to the file menu
- if you don't have a
[path/to/sublime/Packages/User/]Main.sublime-menu
installed already- run
cp [path/to/repo/]Main.sublime-menu.example [path/to/sublime/Packages/User/]Main.sublime-menu
- run
- if you do have one already, add an entry like the one in
Main.sublime-menu.example
- if you don't have a
- You should see the new "Force Save All Open Files" command in the File menu (Try restarting Sublime if you don't)