atom-project-plus
atom-project-plus copied to clipboard
Way to update existing projects
First let me say that project-plus does seem to be awesome.
But the way to update projects seems sort of clunky. If I turn off auto-discovery and have a project with the D:\foo\
directory (on Windows 10, for example), I can save it and edit the projects and give it a cool name such as... FooBar
! Now FooBar
will appear in my projects when I want to switch.
But then I remember that I forgot to add the D:\bar\
directory to my project. No problem; I switch back to FooBar
and add it. Then I switch to the Example
project. But when I go back to the FooBar
project, D:\bar\
is no longer there?
Ah, I forgot to save it; apparently project-plus doesn't support auto-save of projects. OK, it's not a big deal; I just go to the menu and select Save Project
. Whoops---now I have a FooBar
project and a foo,bar
project. Jeepers...
Sure, I can now go in and muck around with projects.cson
, but... is there an easier way that I'm missing? Is this something that can be improved?
@garretwilson This can definitely be improved. Basically add/remove paths is an atom event that we can listen to in order to update the current project automatically in projects.cson. Atom Project Manager implemented this but I haven't ported it over yet.
https://github.com/danielbrodin/atom-project-manager/blob/faa5a97edfb01d1a501b8f7ef9100dbabbb5dcac/lib/project-manager.js#L37-L59
You're welcome to take a crack at and submit a PR. We'll accept it.
Where is projects.cson
?
@NetOperatorWibby It's in your ~/.atom directory.