Where does Sublime Text 2 store editing information?
sublimetext2
Solution
As far as I'm concerned the question isn't answered completely...
As nnnn explained, the unsaved changes of a project are saved in its sublime-workspace file.
But if you haven't created a project and you are just working on some files, sublime also does remember the unsaved changes. These were saved in 'Session.sublime_session'.
Where the session can be found, depends on your operating system:
- OS X: `~/Library/Application Support/Sublime Text 2/Settings/`
- Windows: `%APPDATA%\Sublime Text 2\Settings\`
- Linux: `~/.config/sublime-text-2/Settings/`
(I just found this info some kind of accidentally in the official sublime forum)
Problem
When I perform these steps: - Open an existing file in Sublime Text 2. - Type in arbitrary text at an arbitrary place in the file. - Close Sublime Text 2. Note, I have not saved the changes. - Open Sublime Text 2. - Open the file from step 1. I see changes in the file. But if I view the file in, let's say, Notepad, I see no changes. Where does Sublime Text 2 keep the changes made to files?