-
Notifications
You must be signed in to change notification settings - Fork 6
switch new project add to create method #336
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
switch new project add to create method #336
Conversation
If the changes appear safe, you can manually trigger the pipeline by commenting |
@karthiknadig question here is how we might know if findExisting project should be a project or not. Like if it has an env or not. Not sure how to tell this and build it into the logic |
We should remove the autofind projects feature and think about a better approach to it. What we have now was a demonstration of what you could do. |
- renamed `addPythonProject` in src/features/envCommands.ts to `addPythonProjectCommand` (as it is only a command entry point) - moved responsibility so ProjectCreators are responsible for adding their created projects to the ProjectManager list - updated `addPythonProjectCommand` so it calls the selected ProjectCreator create method OR (if the resource param already a ProjectItem) just add it to the ProjectManager list
addPythonProject
in src/features/envCommands.ts toaddPythonProjectCommand
(as it is only a command entry point)addPythonProjectCommand
so it calls the selected ProjectCreator create method OR (if the resource param already a ProjectItem) just add it to the ProjectManager list