Git Product home page Git Product logo

Comments (8)

mpeterson2 avatar mpeterson2 commented on July 25, 2024

How are you creating the new window? (keyboard shortcut, command pallete?)

from save-session.

dashed avatar dashed commented on July 25, 2024

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.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

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.

mesosteros avatar mesosteros commented on July 25, 2024

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.

dashed avatar dashed commented on July 25, 2024

@mpeterson2 Could this be a regression in atom core?

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

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.

msssk avatar msssk commented on July 25, 2024

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.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

This issue should be resolved 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.