Comments (8)
How are you creating the new window? (keyboard shortcut, command pallete?)
from save-session.
On interesting. Creating a new window via keyboard shortcut and command palette creates an empty window.
But from the menubar, File > New Window
, duplicates the current window.
I'm using Atom Version 0.167.0 (0.167.0)
from save-session.
Hmm your right. When the command application:new-window
is triggered, the project path is cleared, so it is not reopened on the next window opening. However, the menubar version strangely doesn't seem to trigger application:new-window
...
from save-session.
Yup, just tested this out. I was getting frustrated about opening a duplicate.
It would be great to have the new window option in File not duplicating the current project like the shortcut.
If I want to start a completely new blank project, I don't want to see the old one's file, file tree and contents.
And not all users remember the New Window shortcut or find pratical to have access to such a simple feature throught the Command Palette.
from save-session.
@mpeterson2 Could this be a regression in atom core?
from save-session.
Yeah, I feel like Atom core should be triggering application:new-window
. I don't think it should work any differently from using the command palette or the shortcut.
from save-session.
It would be great if save-session could skip restoring the session in certain situations, such as "File -> New Window" from within Atom, or in the case of launching Atom from the command-line with parameters provided (like typing "atom ." to launch Atom with the current folder opened).
from save-session.
This issue should be resolved 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.