Comments (13)
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.
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.
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.
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.
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.
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.
Glad to hear it's working for you. Is this still an issue for others or can we close this up?
from save-session.
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.
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.
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.
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.
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.
Well glad to hear it's working. I'm going to close this issue now.
from save-session.
Related Issues (20)
- content-to-restore isn't erased when an unsaved window is closed
- Is this still working with atom v1.2.1 ? HOT 11
- Uncaught SyntaxError: Unexpected token b
- do not work on os x HOT 1
- Re-deprecate save-session HOT 2
- can not save session HOT 3
- Can this saves file when I stops typing?
- Is there anything in Atom that makes this package possible now? HOT 1
- does not work osx
- Doesnt work on win10
- Uncaught SyntaxError: Unexpected end of JSON input HOT 1
- Uncaught SyntaxError: Unexpected token u in JSON at position 0 HOT 1
- Should not be depricated HOT 3
- Uncaught TypeError: this.promptToSaveItem(...).then is not a function HOT 10
- Multiple tabs Session save
- MAC OS X: Unable to close temp tab
- Uncaught SyntaxError: Unexpected token r in JSON at position 56
- Uncaught Callback must be a function HOT 7
- Uncaught TypeError: invalid options argument HOT 10
- Uncaught TypeError: Callback must be a function. Received undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from save-session.