sublime text automatically make on save code example
Example: autosave in sublime text windows 10
Windows - click Preferences > Settings - User
Add this line
{ "save_on_focus_lost": true }
Save the file
Close the file
Windows - click Preferences > Settings - User
Add this line
{ "save_on_focus_lost": true }
Save the file
Close the file