vellerefond / project-ring

Project management for the Atom editor.
GNU General Public License v2.0
15 stars 8 forks source link

Save layout with project #2

Closed SFEley closed 9 years ago

SFEley commented 9 years ago

First, kudos for having the one Atom project manager that actually does what I want. The ability to launch Atom with the files I was last working on, but easily switch to a completely different set, is huge. I think you've already got the best thing going and I'd like your package to become the standard Way Things Are Done.

I have one significant feature request: persisting the state of Atom's panes, and which files are open in which. I typically work in a two-pane view with my application code on the left and specs on the right, and even with Project Ring I still need to spend time recreating that layout and moving the correct open files into the second pane. Rebuilding the layout state I last used in the project would be a major time-saver and happiness enhancer.

Just something to consider. Thanks!

vellerefond commented 9 years ago

Thank you @SFEley for your kind comments! I have started working on this and I will release it as soon as it is stable and does not break anything.

vellerefond commented 9 years ago

I attempted this a while ago and reached a point where I could save and recreate the layout of the panes successfully. Unfortunately, the asynchronous nature of Atom when opening multiple files makes it difficult to implement it correctly and in a future-proof way (or it is just that an efficient implementation still eludes me :-) ). So, unfortunately I have decided to drop the effort for this feature in order to favor making the existing code more robust.