Autosave Mode on Mac



I have noticed that I have lost some little work I made on Atom the other day because I closed the window without saving changes on active files.

Note: I am using Atom on a Mac


Is there any way to save changes automatically on Atom editor?
Why didn’t Atom ask me if I want to save changes before close the window?

I have tried some methods to solve those questions but unsuccessfully… :frowning:

Thanks everyone! I would be thankful for any answer! :slightly_smiling:

  1. Atom serializes the state of the entire editor every time Atom is closed, including unsaved changes to files
  2. It serializes the state based on the project you’re working on
  3. It doesn’t ask to save files on exit because it stores the changes for you
  4. You can get back the unsaved changes by:
    1. Opening the same project again
  5. If you have not opened another project in the meantime, you can get back the unsaved changes by:
    1. Executing atom from the command line with no parameters
    2. Clicking the icon in the Dock