Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Feature Request: add crash restore #4161

Closed

Description

@darkdragon-001

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!

Activity

  1. alexandernst commented on Nov 12, 2014

    @alexandernst

    +1

  2. benogle commented on Nov 12, 2014

    @benogle
    Contributor

    @darkdragon-001 Did you report the crash? If on OSX, you can open the Console app, 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.

  3. alexandernst commented on Nov 12, 2014

    @alexandernst

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

  4. benogle commented on Nov 12, 2014

    @benogle
    Contributor

    Very very infrequently then ;). A crash report from @darkdragon-001 would be very helpful.

  5. darkdragon-001 commented on Nov 12, 2014

    @darkdragon-001
    Author

    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!

  6. lee-dohm commented on Nov 13, 2014

    @lee-dohm
    Contributor

    Sounds like you want the live-archive package.

    I also feel like this is a duplicate of #1601?

  7. mark-hahn commented on Nov 13, 2014

    @mark-hahn
    Contributor

    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:

    Sounds like you want the live-archive package
    https://atom.io/packages/live-archive.

    I also feel like this is a duplicate of #1601
    #1601?

    —
    Reply to this email directly or view it on GitHub
    #4161 (comment).

  8. 1j01 commented on Dec 29, 2014

    @1j01

    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.

  9. mark-hahn commented on Dec 29, 2014

    @mark-hahn
    Contributor

    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:

    Power outages, accidental unplugs, large files (???
    #307), 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
    https://en.wikipedia.org/wiki/Splitting_the_atom, and of course lots
    https://github.com/atom/atom/issues?q=crash of crashes
    crash

    This is a must-have.

    Did I mention Microsoft Windows? It automatically restarts your computer
    to install updates.

    —
    Reply to this email directly or view it on GitHub
    #4161 (comment).

  10. 1j01 commented on Jan 1, 2015

    @1j01

    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.

  11. hyiltiz commented on Jan 12, 2015

    @hyiltiz

    Thought we already have that in Atom. If not yet (such as now), it really is a must.

  12. 14 remaining items

  13. ivanmayes commented on Jun 26, 2015

    @ivanmayes

    +1

  14. SpainTrain commented on Jul 14, 2015

    @SpainTrain

    👍 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 🐼

  15. mlms13 commented on Jul 14, 2015

    @mlms13

    👍 Just lost an unsaved todo list when atom became unresponsive. Without it, I'm now aimless and confused.

  16. pareeohnos commented on Jul 16, 2015

    @pareeohnos

    👍 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!!

  17. Sogl commented on Jul 29, 2015

    @Sogl

    +1
    need this!

  18. batjko commented on Jul 29, 2015

    @batjko
    Contributor

    @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 ;)

  19. Eutropia commented on Nov 5, 2015

    @Eutropia

    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.

  20. 1j01 commented on Nov 8, 2015

    @1j01

    No further +1s necessary ;)

    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.

  21. winstliu commented on Nov 8, 2015

    @winstliu
    Contributor

    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.

  22. locked and limited conversation to collaborators on Nov 8, 2015
  23. winstliu commented on Feb 16, 2016

    @winstliu
    Contributor

    #10605 has been merged and at the current pace of development crash restore should be available in Atom 1.7.0! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions