6 ms·
> but I immediately lost an important file Zed has an "autosave" setting, it's just off by default.
by the_duke 2y ago
> but I immediately lost an important file
Zed has an "autosave" setting, it's just off by default.
- robin_reala 2y agoSublime’s behaviour isn’t an autosave, it just never loses text in a window. You can upgrade the entire OS, start Sublime and your windows and text will be waiting for you, regardless of saved or unsaved state. I’ve got five-year-old scratchpad windows open that I’ve never saved.
- andrepd 2y agoFwiw zed also has this explicit "sublime style" save all buffers since 3-4 months ago.
- JackMorgan 2y agoHow do you enable it? I just installed Zed yesterday and I was looking for this setting. Edit, I suspect what I wanted was the "after delay" setting here https://zed.dev/docs/configuring-zed#autosave https://zed.dev/docs/configuring-zed#autosave
- kevinastone 2y agoIt doesn’t save unnamed files which is mostly how I use this feature in sublime-text (as a scratch pad): https://github.com/zed-industries/zed/issues/4985 https://github.com/zed-industries/zed/issues/4985
- computerthings 2y agoThat's still my favorite feature of all, it even remembers the undo history. Never lost anything to a crash.
- giancarlostoro 2y agoI had no idea it preserved this too.
- jaredsohn 2y agoI think you need to create a project file and then it stores things there. For a long time I would get paranoid about accepting Mac updates which would require a reboot because then I'd lose my undo history and then I discovered that this is all I would need to do.
- computerthings 2y agoWhile I meant closing the whole application at once (which restores all windows/projects and unsaved changes when you restart ST), you're right that projects keep track of unsaved state on a per-project basis, too. So you can open and close project windows individually, but also do the same for Sublime Text as a whole.
- simplify 2y agoIt doesn't remember undo history after you close the tab, would love to see that feature though!
- pmarreck 2y agoVSCode does this as well.
- mikepurvis 2y agoI do this with Notepad++ and honestly I have mixed feelings about it. It's so convenient but I feel weird about constantly pasting semi-important notes and snippets into this unnamed, unsaved, unsynced doc that just sits there always open on my desktop. Basically I just feel guilty that I'm not using a "proper" note taking application when so many of them exist.
- a1o 2y agoI use notepad++ in the same way without guilt, I also have a paper notebook where I write things in the same random chaos. In the past I had at a time a LG monitor that had really large bezels and I used to glue post its to it all the time as my "temporary" notes. Most of note taking applications I tried attempt to convince all my text is important and must be stored and if possible classified and that's just not how my relationship with physical notes is.
- mikepurvis 2y agoI resonate a lot with this. Like most of what goes into that system really is pretty disposable, but it would be nice if a note-taking app could just quietly swallow anything I didn't look at for a few days, while still making it available as an "also, this?" entry in full text search. Or maybe for a kind of context-aware search/browsing, if it were possible to do a query like "show me everything I added or altered around the same time I was working with keywords x and y".
- LoganDark 2y agoI used to use a clipboard manager. It had two functionalities: - The ability to scroll or search my clipboard history - The ability to pin/favorite individual entries, which would then show up in the pinned/favorited tab That thing was practically my extra brain before the database corrupted itself... (that threw me so off that I don't even remember anymore most of the time from back when I had it.)
- Dylan16807 2y agoIt's saved, just not to separate files. And the solution to getting it synced is to back up your computer, which you should definitely be doing.
- pxoe 2y ago>never loses That was not my experience with sublime because it'd just spontaneously lose a session along with all unsaved data. Some other people would have similar problems too (just look up 'sublime lost session', and apparently people are still having these kinds of problems with them complaining even quite recently).
- wussboy 2y agoIf you have multiple windows open and close them in the wrong order, you lose everything but the last one. Learned that the hard way and now never have more than one open.
- paulcarroty 2y agoIt works well, but Zed consuming too much CPU on Linux: https://github.com/zed-industries/zed/issues/14833 https://github.com/zed-industries/zed/issues/14833