Remix.run Logo
sixtyj 6 hours ago

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

askedrelic 6 hours ago | parent | next [-]

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.

nh2 5 hours ago | parent | prev | next [-]

> Software update deletes this memory.

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

sixtyj 5 hours ago | parent | next [-]

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

8note 5 hours ago | parent | prev [-]

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

nh2 5 hours ago | parent [-]

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

sixtyj 4 hours ago | parent [-]

It's a shame I didn't know that. Thanks.

ben-schaaf 6 hours ago | parent | prev [-]

> Software update deletes this memory.

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

sixtyj 5 hours ago | parent [-]

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