You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
A feature I love about ST2 and iA Writer, which I'm missing in Atom, is when you quit the app with open windows (including unsaved documents), they all appear again when you reopen.
This has saved me countless times in my workflow to handle having to do a system restart for software update, etc and not have to take time to save all my unsaved docs, etc.
It's also nice because I generally have five or six open projects that I just keep minimized in the editor for ease of access. It would be great to have such a feature in Atom.
Reacted by Patrick, Cheng Nie, raja777m, Tilde Lowengrimm and Oliver Sayers
It looks like this is mostly ready to go, even. Atom already keeps track of what was last open, and dumps it to JSON in ~/.atom/storage/ The next step is loading these state files at startup.
Isn't there a package which would just support switching between ~/.atom/storage/editor-* sessions? Hell, those JSONs even contain a project field, it should be extremely easy to write one for someone who's already written a package for Atom. I don't understand why the framework doesn't have a GUI and is only accessible via $ atom <path>. Or am I wrong?
As far as I found there is no solution yet when having multiple projects open. Very important aspect IMO: re-opening unsaved documents in the state they were in before the restart, so no work is lost.
dear god why was this not implemented as a plugin and is instead baked right into the core editor? Can't the atom devs adhere by their own philosophies?
Problem: On a mac, if you close using the red X button in the window, the Atom will still be running. So (now obviously) this is the state it saves, an empty atom.
So, you have to close it using Cmd + Q. Then it will restore correctly the next time.
PS: There should be an option in the settings to close the app completely with the X button.
I have tried removing complile-cache and installing atom-project-manager. still not restoring my previous project on OS X, even if I close it with cmd-Q
like @eliotsykes suggested on #10044 , Instead of opening my project folder with a symlink, I used the full path , and now when I exit atom with cmd+Q the project restores succesfully. however, if I just close atom clicking the red close button then It restores empty, so it seems like there are two separate problems, one with symlinks and one with atom saving a blank project on mac
@bb-git Please open a issue for this, if there isn't one already.
Since this was implemented a long, long time ago, I'm going to lock this to keep noise levels down. If you run into issues with Atom not restoring UI state correctly, please see the Contributing guide first, then open a new issue for it if there isn't one already.
Activity
jeffrabovsky commentedon May 26, 2014
👍
navarro75 commentedon May 26, 2014
Nice!
adykto commentedon May 26, 2014
I hope to see this working very soon!
parasyte commentedon May 28, 2014
It looks like this is mostly ready to go, even. Atom already keeps track of what was last open, and dumps it to JSON in ~/.atom/storage/ The next step is loading these state files at startup.
3871968 commentedon Jun 15, 2014
This feature is also in Brackets, the text editor I used to use.
atheleron commentedon Jun 28, 2014
I was missing that option to!! finally I found package that do just that :) https://atom.io/packages/open-last-project
whitlockjc commentedon Jul 3, 2014
+1
rtimoshenko commentedon Sep 24, 2014
+1
lstroud commentedon Oct 3, 2014
+1
jhrmnn commentedon Oct 7, 2014
Isn't there a package which would just support switching between
~/.atom/storage/editor-*sessions? Hell, those JSONs even contain aprojectfield, it should be extremely easy to write one for someone who's already written a package for Atom. I don't understand why the framework doesn't have a GUI and is only accessible via$ atom <path>. Or am I wrong?jeffmcneill commentedon Oct 12, 2014
Is this issue in a milestone somewhere? +1
screendriver commentedon Oct 28, 2014
+1
Mil0dV commentedon Nov 24, 2014
+1
As far as I found there is no solution yet when having multiple projects open. Very important aspect IMO: re-opening unsaved documents in the state they were in before the restart, so no work is lost.
vmarkovtsev commentedon Dec 2, 2014
+1
129 remaining items
gnomed commentedon May 11, 2016
dear god why was this not implemented as a plugin and is instead baked right into the core editor? Can't the atom devs adhere by their own philosophies?
niij commentedon Jun 9, 2016
+1 Mac v10.11 and Atom 1.8.0 isn't keeping my state between relaunches of Atom
winstliu commentedon Jun 9, 2016
@niij Please open a new issue.
Vvkmnn commentedon Jun 12, 2016
OSX Fix from old thread:
Referenced in #6605, and hopefully implemented in Atom 1.8.0-beta0 via #11324.
Other temporary fixes include:
rm -rf ~/.atom/compile-cacheapm install atom-project-managerniij commentedon Jun 13, 2016
@Vvkmnn Thank you! Using CTRL-Q instead of the Red X works for me.
wmertens commentedon Jun 13, 2016
Note that this behavior is the default behavior of apps on OS X. An app can
be running, and it can optionally have windows.
On Mon, Jun 13, 2016 at 4:29 PM Brandon Annin [email protected]
wrote:
Wout.
(typed on mobile, excuse terseness)
marcosfede commentedon Jul 3, 2016
I have tried removing complile-cache and installing atom-project-manager. still not restoring my previous project on OS X, even if I close it with cmd-Q
itbeyund commentedon Jul 18, 2016
怎么下载
winstliu commentedon Jul 18, 2016
@Leader138 请您用英文,所以别的人可以明白您在说什么呢。谢谢!您要下载什么?
Please use English, so that others can understand what you're saying. Thanks! What are you trying to download?
marcosfede commentedon Jul 18, 2016
like @eliotsykes suggested on #10044 , Instead of opening my project folder with a symlink, I used the full path , and now when I exit atom with cmd+Q the project restores succesfully. however, if I just close atom clicking the red close button then It restores empty, so it seems like there are two separate problems, one with symlinks and one with atom saving a blank project on mac
lsk-boy-f commentedon Jul 20, 2016
I m using Atom 1.8.0 on Ubuntu16.04LTS x64, and it not reopen the files I opened last time.
winstliu commentedon Jul 20, 2016
@x13945 please open a new issue.
bb-git commentedon Jul 21, 2016
+1 mac not restoring the tree view if you close using the red x
mnquintana commentedon Jul 21, 2016
@bb-git Please open a issue for this, if there isn't one already.
Since this was implemented a long, long time ago, I'm going to lock this to keep noise levels down. If you run into issues with Atom not restoring UI state correctly, please see the Contributing guide first, then open a new issue for it if there isn't one already.