Support OS X State Restoration


Since Lion, OS X has included a feature where apps can restore their previous state on launch. This means the app should open with the same windows, same files, and same editing state as when they closed. I don’t know how much sense it would make for Atom to support this feature set, but I think it’s something we should at least discuss.

For the record, the current behaviour when a user checks the Reopen Windows When Logging Back In preference when restarting results in Atom being reopened, but with no open projects and an empty buffer.


Actually, restoring the state that existed on close has been a pretty common request:

It probably makes sense to make this work cross-platform and then integrate with the OS X API if there is any added benefit.