Problem:- How to add auto-save functionality in Sublime-Text?
Solution:-
Using auto-save package.
How to install this?
1)Open package Control in sublime (Ctrl+Shift+p)
2)Search and select install option
3)Search auto-save and select it
4)Enable auto-save
Press Command + Shift + P again and search for AutoSave. Here, there are 3 options:(select the one that you want to enable)
- Toggle AutoSave: all files
- Toggle AutoSave: current file only
- Toggle AutoSave Backup: current file only