Git Product home page Git Product logo

Comments (13)

burabure avatar burabure commented on July 25, 2024

for some reason if im in a "project manager" project, it does remember the files open, but if i open a folder, quit, open atom, it doesn't

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

I just wrote this in another issue as well. But let me know if this is the case for you as well.

Since there is no event for loading projects (that I've found), projects currently get saved when the window gains focus. That means that just opening a project that doesn't open a new window, it won't save the project right away, you will have to alt-tab away from and back to Atom.

from save-session.

vmarkovtsev avatar vmarkovtsev commented on July 25, 2024

I confirm this on Yosemite. If you open a file, Atom will display the parent directory tree. Then you close Atom and then launch it again. You get the empty black Atom window - no tree, no open files, just tips. I would mark that "Remember Session" package works well in this scenario and re-opens everything.

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

I can't get this error to show up. Can one of you debug this to figure out what's going if it's still an issue?

from save-session.

hoffmannliu-ayla avatar hoffmannliu-ayla commented on July 25, 2024

I just installed Atom together with Save Session package several minutes ago. And I had the same experience as that of @vmarkovtsev. No matter how I tried, I just couldn't make it work as expected. I am using Yosemite too.

Is there anything I can do to debug this ?

from save-session.

hoffmannliu-ayla avatar hoffmannliu-ayla commented on July 25, 2024

Today I updated Atom to 0.172.0 and save-session to 0.11.3 it works as expected now. I think maybe 0.11.3 fixed this.

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

Glad to hear it's working for you. Is this still an issue for others or can we close this up?

from save-session.

magic-lantern avatar magic-lantern commented on July 25, 2024

I'm running 0.174 and save session 0.11.3 and it is not saving my session. Any additional info needed that would help to troubleshoot this?

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

Some things that can help are: are there any save-session related errors in the console? What other packages do you have installed? And what is your config?

from save-session.

magic-lantern avatar magic-lantern commented on July 25, 2024

Here's my config:

"*":
editor:
invisibles: {}
core:
themes: [
"atom-dark-ui"
"base16-tomorrow-dark-theme"
]
linter: {}
"exception-reporting":
userId: "363f270f-04cf-4653-abca-312511eb04bf"
welcome:
showOnStartup: false
"save-session":
dataSaveFolder: "/Users/seth/.atom/packages/save-session/projects"
disableNewFileOnOpen: false
autosave:
enabled: true

Here's the packages I've installed:

language-r
linter
linter-csslint
linter-jscs
linter-jshint
linter-tidy
save-session
seti-monokai
seti-syntax
seti-ui
unity-dark-syntax
unity-dark-ui
unity-ui

When launching Atom, there are some warnings about save-session.

save-session (2 deprecations)
atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.
Called 1 timeCreate Issue on save-session repo
Atom.Object.defineProperty.get - /Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11
Object.addListeners - /Users/seth/.atom/packages/save-session/lib/project.coffee:34:9
atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.
Called 1 timeCreate Issue on save-session repo
Atom.Object.defineProperty.get - /Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11
Object.addListeners - /Users/seth/.atom/packages/save-session/lib/project.coffee:37:9

I tried uninstalling and re-installing a few times. It seems that now sometimes Atom remembers the session state and other times it doesn't. I'm on OSX, and always just quit out by doing Command Q, so I don't know why it sometimes remembers and other times not.

Perhaps it is just a PEBCAK error...

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

It doesn't look like you have an issue with settings or conflicting packages.

Is this a recent problem or has it just started? The deprecation issue (#49) has just come up, so it could be that. I'll be looking into that issue soon.

from save-session.

magic-lantern avatar magic-lantern commented on July 25, 2024

I have only attempted to use the "save-session" package recently. At this point, I can no longer replicate the problem. Perhaps through my multiple install/uninstall/remove Atom/re-install atom I removed some configuration or package that was conflicting.

Anyway, thanks for the help - save-session seems to be working great now.

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

Well glad to hear it's working. I'm going to close this issue now.

from save-session.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.