← Back to context

Comment by sixtyj

1 day ago

Sidenote: Sublime remembers all tabs even those unsaved. (Software update deletes this memory.)

I use Sublime as a scratchpad and never save anything, so this is an important feature for me. It's worked flawlessly for years.

I've tried Zed several times like this and it continues to lose data.

> Software update deletes this memory.

While there was a bug where the session was lost when updating, this was fixed years ago.

  • Great, good to know. Thanks. I wasn’t brave enough to test, so I hope you are a human not a dog that tries to prank me :))

> 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.)

      1 reply →