Skip to content
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

[FEATURE] - Add an option to "create a new empty folder in project base folder" in sidebar. #474

Open
ParaSpl01t opened this issue Mar 20, 2021 · 4 comments

Comments

@ParaSpl01t
Copy link

The current project manager sidebar has refresh button at the top.
I would like to suggest adding a new button (next to refresh button) which creates a new folder in the project manager sidebar. The newly created folder will be saved in 'Any: Base Folders' directory and the project list can be refreshed automatically to reveal newly created folder.
This will allow user to quickly start and switch to a new project without opening terminal or file manager.

Current :
current

Suggestion :
expectd

@alefragnani
Copy link
Owner

Hi @ParaSpl01t ,

So, it seems you want a button to “change settings”, instead of creating a new folder/project itself, right?

If that’s the case, you already have the Open Setting command, at the ellipsis button, right after the Refresh button. It opens the VS Code settings UI and you can easily add a new base folder. It also already refreshes the projects after you save the settings.

Hope this helps

@ParaSpl01t
Copy link
Author

ParaSpl01t commented Mar 20, 2021

Sorry for poor explanation.
The thing is I already added a base folder in settings UI. Whenever I need to start a new project, I simply open a terminal then cd into base folder and mkdir a new folder. or I can also use a file manager to do the same.
Then I refresh the project list and select the newly created folder from the project manager sidebar.
I was wondering if you could implement a button on sidebar which can create an empty folder (empty project) in the 'base folder' directory.

So, it seems you want a button to “change settings”, instead of creating a new folder/project itself, right?

No, I was actually hoping for a button to create a new folder/project in the sidebar.

@alefragnani
Copy link
Owner

Ah, ok...

If that’s the case, when you click the button, it will show you the list of baseFolders to you to choose where the new folder/project will be created.

Great idea

@devantler
Copy link

devantler commented Jun 27, 2022

It would be nice if this feature would include the option of auto-creation of a workspace file, so clicking "new project" prompts you with a project name and then proceeds to create the following project in a selected base folder:

${baseFolder}/${project-name}
${baseFolder}/${project-name}/${project-name}.code-workspace

Over time project creation could even be extended to create different types of projects through templating support for custom-defined auto-generated files (this probably requires a lot of work).

But adding the option of auto-generating a workspace file solves the annoyance of leaving VSCode to create a project and doing "Workspaces: Save Workspace As..." every time you do a new project. So I think that it be an excellent addition to this feature. 🤩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants