After updating to dev build 3173, the content in my unsaved buffers has been cleared. The tabs still restore with original titles, but the buffers are empty. Any way I can get my data back? Where is it normally stored?
Thanks,
Hans
After updating to dev build 3173, the content in my unsaved buffers has been cleared. The tabs still restore with original titles, but the buffers are empty. Any way I can get my data back? Where is it normally stored?
Thanks,
Hans
The contents of buffers that have unsaved changes can appear in a couple of places.
The session information for all of the windows that are open when you quit sublime is stored in the file Local/Session.sublime-session
file in the Data directory (Use Preferences > Browse Packages...
and then go up a folder to see it). The key buffers
stores a list of all of the currently open views, and any with unsaved changes have a contents
field that stores the contents of the file as it appears in the buffer.
On the other hand, if you’re using a sublime-project
file and you close that window or switch to a different project inside the same window, the session for that project is stored in the sublime-workspace
file that was in use at the time instead.
That said, if the buffers appeared with the correct names but no contents it sounds like the session was restored already, so my guess would be that if those locations contained the buffer contents it would have been restored as well along with the tabs.
Hey, thanks for responding.
I’m seeing contents
set to empty strings for the unsaved tabs in question in the Local/Session.sublime-session
file… about 10 of them. They were definitely intact prior to updating to build 3173 today.
Oh well, lesson learned to back up the session files.
Thanks again for your help.
Cheers,
Hans