-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to rename (set a name for) a project #15
Comments
Why would you want to add such kind of complexity in this package? In my opinion the project names should be simply a string with list of folders in this project. |
Currently, that is exactly what the project name is. It's just This was just an idea to be able to add an explicit name. I wouldn't use it myself, but maybe someone wants it. Project-plus is supposed to extend projects however it can if it adds value. If you or anyone else has any ideas, that's what this issue board is for. |
@mehcode BTW I just want to ask you, what do you think about support external project configuration, for instance if project contains This way we can keep |
@shemerey I'm not sure what exactly you're asking. What kind of configuration / etc. When doing something like this we need to remain aware of the project vs. project folder distinction. There is a package -- project-view -- which reads in a name from bower/package/etc. and replaces tree view folder / project folder name with it. On what's possible .. there is a json document that is stored per project in atom. This is what project-plus reads from to load the project. And what it reads from to find projects. We can extend this json document however we want with project specific configuration (if we can figure out what exactly we want to configure per-project). We could even have a command to open the JSON document for manual editing (if that is needed/desired). |
Yes it's better to define what kind of behavior will be expected. I was thinking about atom - per - project setup. For instance you have project where you want to use specific version of for me it looks like {
project: {
name: 'Some New Node',
packages:[{
name: 'linter',
enable: false
}]
}
} again I think it needs some time to rethink, I just found an old discussion about Layered Configuration |
On configuration.. reading more into atom we can already do If we want per-project configuration.. it seems possible. We'd add a I'm currently seeing (what I think is) a big problem that I can't think past. If you've applied any project-specific configuration and you go to edit the global/default configuration (in the normal settings menu or in any command that adjusts the config, like the toggle menu bar shortcut), atom would save the project-specific configuration as the new global/default configuration. As project-manager (the current "big" project package) implements what I'm talking about and also has this issue .. I don't think it's something we can solve without implementing a project specific configuration API into atom proper.
Of course.. we could just do 2 and skip trying to shim it into project-plus. |
|
This is possible via |
No description provided.
The text was updated successfully, but these errors were encountered: