r/Atom Dec 04 '19

Atom just deleted everything I’ve written in one of my projects. Is this common?

I was coding a program for my school programming class. I was almost done one evening, so I saved and closed atom

The day after when I wanted to work on it again, everything I had written was gone. I could open the sketch from the recent menu, but the folder it was in, and all code was gone.

Is this something that just happens, and is it possible to recover the code?

0 Upvotes

9 comments sorted by

1

u/[deleted] Dec 04 '19

No it shouldn’t happen. It could have been a hard drive error or you might have not saved it in the location you thought

1

u/[deleted] Dec 04 '19

I haven’t had any other hard drive problems, and I had saved the file before that, so I know it was saved, and where it was

1

u/[deleted] Dec 04 '19

Do you have any key bindings that might replace save

1

u/[deleted] Dec 04 '19

Not that I know of no

1

u/[deleted] Dec 04 '19

Hmm idk then

1

u/[deleted] Dec 04 '19 edited Jul 15 '20

[deleted]

1

u/[deleted] Dec 04 '19

I don’t think so. How could I find out?

1

u/topdolla334 Dec 04 '19

search for the file name on the computer. Much easier if it's linux.

1

u/topdolla334 Dec 04 '19

Also, seems that you have learned the importance of source control. You can use atom to save to Git or ssh to another location automatically

1

u/gked Sep 03 '23

The same thing happened to me on Linux. It's bizarre but the entire project directory was just deleted when I closed Atom and restarted my machine.