← Back to context

Comment by nh2

1 day ago

> Software update deletes this memory.

Are you sure? I believe Sublime preserves all your unsaved tabs even on update.

Last time I have updated (half a year ago) it deleted tabs. And since that time I haven’t been brave enough to update it again as I have too many tabs unsaved :)

i lost all the open tabs last time i upgraded sublime.

burned once, twice shy; i wouldnt update without spending an hour making up names for random junk files

  • I have not lost any Sublime tab in 15 years (I have tabs this old).

    Sublime also saves a backup of its state files next to the state files in your home dir, so you can restore in case anything ever goes wrong (e.g. bugs in the new version).

    The .sublime_session state files are JSON, easy to read for a human.

    > spending an hour making up names for random junk files

    That is completely unnecessary. You can just backup the '.sublime_session' file that contains all that before an upgrade if you are worried. Sublime already stores all its state in 1 file; manually spreading that across N files seems unfun busywork. A quick web search reveals that by the way.

    (I perpetually have 40 Sublime windows open, each one with tens to hundreds of tabs. My 'Auto Save Session.sublime_session' is 70 MB.)