Where does Atom store the unsaved files?


If I open a file, edit it and close Atom without saving, the changes I made show up when I re-open Atom.
Where are those temporary files stored on mac OS?
I tried to look for them in ~/.atom/storage but it seems they are not there.

I ask this because I was working on a file when my computer crashed.
When I reopened it all the changes were gone.
I think Atom saves files just when you close it, but it’d be good enough to have the version I had the last time I closed Atom.
Is there a way I can find it?


Atom stores unsaved files in its IndexedDB. If the changes didn’t come back when you reopened Atom with the same project folder, they’re probably gone.