You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Today my Atom crashed and I realized that there is no such thing as restore your unsaved work.
Since this is more than standard nowadays - please add this!
@benogle There is no such thing as a crash-free application, just a rare-crashes application, and not before tons of time spent on debugging, patching and tracking. That's why a "restore my unsaved buffers on crash/accidental quit" is a must-have.
Actually this time it was not Atom's fault. My whole system froze because of a different reason - so I had to hardly restart my computer...
This is only one reason for a crash recovery. But I think there are others and therefore it is worth building it. Should not me too difficult to regularly save the current state in a temporary file. And also should not slow something down. And code files are not big, so this is also no issue.
So you can only win by implementing this feature!
As the author of live-archive I hate to say it won't help. It only
archives a file when it is saved. So the file wouldn't be lost in any
case. Originally I was thinking of archiving on every long pause but
decided it wasn't necessary. Maybe that should be an option.
Power outages, accidental unplugs, large files (???), 73 KB files (just crashed for me with a weird font and large font size), broken packages, issues that will never be known til the end of time, Microsoft® Windows®, accidentally clicking the close button, siblings clicking the close button, ragequiting and then immediately realizing what you were doing wrong, spontaneous explosions, nuclear fission, and of course lots of crashes
This is a must-have.
Did I mention Microsoft Windows? It automatically restarts your computer to install updates.
Ideally there should never be a time where your changes aren't saved or at least safe. Scratch does this nicely. It's actually like you just edit the file when you edit a file. There's no unsaved state, and you can just undo when you need to. I find this is a much better model for editors to have. It still makes sense to back up the original (which git does for you of course).
At any rate, there's no excuse for not having crash handling.
👍 Agree on this being a critical feature for any serious text editor. Assumed this was a feature and just lost some work due to Atom-unrelated system event. sad 🐼
👍 badly need this! I often (stupidly) keep a list of things I need to do in a new tab that I don't save given how temporary it is. Just had atom lock up due to a minified JS file having too long of a line (another bug I believe). It then prompted me to either keep waiting, or shut so I shut. When it returned, I lost my temporary files. This is a desperately needed feature!!
was literally putting the finishing touches on a sonnet in fourteens for the love of my life and (surprise surprise) the mac crashes. Then I found out atom doesn't have a temp file buffer.
Ok. At this point there's not much constructive discussion happening, so I'm going to lock this issue. Updates will still be posted here as they appear. I'd also like to remind everyone that while the Quality Initiative may have ended, this issue is still open and is still on the post-1.0 roadmap.
Activity
alexandernst commentedon Nov 12, 2014
+1
benogle commentedon Nov 12, 2014
@darkdragon-001 Did you report the crash? If on OSX, you can open the
Consoleapp, and look for atom crash log. Paste it into a new issue.If not on osx, what System are you on? Version of atom?
Rather than investing in crash recovery, I'd rather it didnt crash at all.
alexandernst commentedon Nov 12, 2014
@benogle There is no such thing as a crash-free application, just a rare-crashes application, and not before tons of time spent on debugging, patching and tracking. That's why a "restore my unsaved buffers on crash/accidental quit" is a must-have.
benogle commentedon Nov 12, 2014
Very very infrequently then ;). A crash report from @darkdragon-001 would be very helpful.
darkdragon-001 commentedon Nov 12, 2014
Actually this time it was not Atom's fault. My whole system froze because of a different reason - so I had to hardly restart my computer...
This is only one reason for a crash recovery. But I think there are others and therefore it is worth building it. Should not me too difficult to regularly save the current state in a temporary file. And also should not slow something down. And code files are not big, so this is also no issue.
So you can only win by implementing this feature!
lee-dohm commentedon Nov 13, 2014
Sounds like you want the live-archive package.
I also feel like this is a duplicate of #1601?
mark-hahn commentedon Nov 13, 2014
As the author of live-archive I hate to say it won't help. It only
archives a file when it is saved. So the file wouldn't be lost in any
case. Originally I was thinking of archiving on every long pause but
decided it wasn't necessary. Maybe that should be an option.
On Wed, Nov 12, 2014 at 8:45 PM, Lee Dohm [email protected] wrote:
1j01 commentedon Dec 29, 2014
Power outages, accidental unplugs, large files (???), 73 KB files (just crashed for me with a weird font and large font size), broken packages, issues that will never be known til the end of time, Microsoft® Windows®, accidentally clicking the close button, siblings clicking the close button, ragequiting and then immediately realizing what you were doing wrong, spontaneous explosions, nuclear fission, and of course lots of crashes
This is a must-have.
Did I mention Microsoft Windows? It automatically restarts your computer to install updates.
mark-hahn commentedon Dec 29, 2014
How would automatically saving on every change work for you? That is the
way webstorm works and I loved it. I've been thinking of doing a package.
Change would be defined by a period of inactivity for some time, like 2 sec.
On Sun, Dec 28, 2014 at 11:05 PM, Isaiah Odhner [email protected]
wrote:
1j01 commentedon Jan 1, 2015
Ideally there should never be a time where your changes aren't saved or at least safe. Scratch does this nicely. It's actually like you just edit the file when you edit a file. There's no unsaved state, and you can just undo when you need to. I find this is a much better model for editors to have. It still makes sense to back up the original (which git does for you of course).
At any rate, there's no excuse for not having crash handling.
hyiltiz commentedon Jan 12, 2015
Thought we already have that in Atom. If not yet (such as now), it really is a must.
14 remaining items
ivanmayes commentedon Jun 26, 2015
+1
SpainTrain commentedon Jul 14, 2015
👍 Agree on this being a critical feature for any serious text editor. Assumed this was a feature and just lost some work due to Atom-unrelated system event. sad 🐼
mlms13 commentedon Jul 14, 2015
👍 Just lost an unsaved todo list when atom became unresponsive. Without it, I'm now aimless and confused.
pareeohnos commentedon Jul 16, 2015
👍 badly need this! I often (stupidly) keep a list of things I need to do in a new tab that I don't save given how temporary it is. Just had atom lock up due to a minified JS file having too long of a line (another bug I believe). It then prompted me to either keep waiting, or shut so I shut. When it returned, I lost my temporary files. This is a desperately needed feature!!
Sogl commentedon Jul 29, 2015
+1
need this!
batjko commentedon Jul 29, 2015
@Sogl and all: Looks like this ticket is now on the roadmap for a quality improvement push (see #7995 as linked by @benogle).
No further +1s necessary ;)
Eutropia commentedon Nov 5, 2015
was literally putting the finishing touches on a sonnet in fourteens for the love of my life and (surprise surprise) the mac crashes. Then I found out atom doesn't have a temp file buffer.
1j01 commentedon Nov 8, 2015
but that issue was closed, so how about a
This is the most important issue with Atom.
At least save things somewhere while you're editing them.
winstliu commentedon Nov 8, 2015
Ok. At this point there's not much constructive discussion happening, so I'm going to lock this issue. Updates will still be posted here as they appear. I'd also like to remind everyone that while the Quality Initiative may have ended, this issue is still open and is still on the post-1.0 roadmap.
winstliu commentedon Feb 16, 2016
#10605 has been merged and at the current pace of development crash restore should be available in Atom 1.7.0! ✨