Git Product home page Git Product logo

Comments (13)

rudeayelo avatar rudeayelo commented on July 25, 2024

+1 ;)

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

I'm not sure how possible this is with Atom's current Api since I haven't found a way to figure out where a pane is yet. I would like to have this at some point though.

from save-session.

frizop avatar frizop commented on July 25, 2024

Could it be found using https://atom.io/docs/api/v0.135.0/Workspace#instance-getPaneItems

I think this is a drop dead requirement for the package, as always thanks for contributing! :)

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

Yes, a combination of atom.workspace.getPanes()and pane.getItems() would allow you to determine which files are open in which panes.

I also just found the ['pane.split()](https://atom.io/docs/api/v0.135.0/Pane#instance-splitLeft) methods, so that could be used. Before, I was thinking it would have to use [workspace.open()'s](https://atom.io/docs/api/v0.129.0/Workspace#instance-open), split` option, which is pretty limited and it wouldn't help too much.

There are still a few things that need to be thought about before this can be done. One issue is that panes, as far as I know, don't have a good way to specify where they are in the editor. The other issue, is how to represent this in json?

from save-session.

asiniy avatar asiniy commented on July 25, 2024

+1

I use term2 atom plugin, so I need to store the terminals at the bottom

from save-session.

asiniy avatar asiniy commented on July 25, 2024

BTW, is there any commits related to this enhancement here? If no, I can make a few commits to close this feature

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

There have not been. I haven't had much time to work on this for more than simple bug fixes recently. That'd be great if you can contribute. Thanks.

from save-session.

asiniy avatar asiniy commented on July 25, 2024

I'll try to write something in 1 week

from save-session.

gosteev avatar gosteev commented on July 25, 2024

+1

from save-session.

tedyun avatar tedyun commented on July 25, 2024

+1

from save-session.

svanharmelen avatar svanharmelen commented on July 25, 2024

+1 would be a really appreciated addition!

from save-session.

greco avatar greco commented on July 25, 2024

+1

from save-session.

mpeterson2 avatar mpeterson2 commented on July 25, 2024

This should be in Atom core 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.