I recently moved to Sublime Text 3 for development and trying to figure out a way in which I can know whether a file is saved or not just by looking at it in the editor. For e.g.
Is there any such easy to see visual cue in Sublime Text 3 to know if a file has unsaved changes?
For linux, ~/. config/sublime-text-3/Local/ . The unsaved sessions can be found at "Auto Save Session. sublime_session".
In Windows, cache files are stored in a separate location, %LOCALAPPDATA%\Sublime Text 3, to improve performance with roaming profiles. Cache files are stored in a separate location: Windows: %LOCALAPPDATA%\Sublime Text. Mac: ~/Library/Caches/Sublime Text.
Sublime Text 2 stores the files in ~/Library/Application Support/Sublime Text 2/Settings , in the . sublime_session files that are located there. The contents of those files are a large JSON blob that contains the individual tab contents.
By default Sublime Text displays dot (•
) instead of x
used to close tabs when there are unsaved changes.
You can make this highlighting of modified tabs even more distinctive using following property which causes modified tabs to have different color:
{
"highlight_modified_tabs": true
}
The color of modified tabs with this property enabled will depend on the theme you are using. If you want to change it, either change the theme or change the color manually in your settings. See this answer for more details on that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With