Manage your projects right inside Visual Studio Code. Easily access and switch between them.
Press F1
in VSCode, type ext install
and then look for Project Manager
.
After that, you must configure the projectManager.codePath
setting.
This is a specially necessary if you are running Mac OS X or Linux.
Just define the path to the right Code build:
// - For Code Stable Build, use this:
"projectManager.codePath": "C:\\Program Files\\Microsoft VS Code\\Bin\\Code.cmd"
// - For Code Insider Build, use this:
"projectManager.codePath": "C:\\Program Files\\Microsoft VS Code Insiders\\Bin\\Code-insiders.cmd"
First make sure code
is in the PATH. >Shell Command: Install 'code' command in PATH
. After that, just define the right Code build:
// - For Code Stable Build, use this:
"projectManager.codePath": "code"
// - For Code Insider Build, use this:
"projectManager.codePath": "code-insiders"
You must use the Package Installers, instead of the zip, since it installs the necessary shell interface. After that, just define the right Code build:
// - For Code Stable Build, use this:
"projectManager.codePath": "code"
// - For Code Insider Build, use this:
"projectManager.codePath": "code-insiders"
The Package Installers will be available in March release, so until now, the extension is not fully supported in Linux.
- Project Manager: Edit Project Edit the project list (
projects.json
file) directly inside Code - Project Manager: List Projects List all saved projects and pick one
- Project Manager: Save Project Save the current project in the manager
You can save the current project in the manager at any time. You just need to type a name. It even suggest you automatically :)
new in version 0.4.0
For easier customization of your project list, you can edit the projects.json
file directly inside Code. Just execute Project Manager: Edit Projects
and the projects.json
file is opened. Simple as this:
[
{
"label": "Pascal MI",
"description": "c:\\Users\\Alessandro\\Documents\\GitHub\\pascal-menu-insight"
},
{
"label": "Bookmarks",
"description": "c:\\Users\\Alessandro\\Documents\\vso\\vscode-bookmarks"
}
]
Be sure that the JSON file is well-formed. Otherwise, Project Manager will not be able to open it, and an error message like this should appear. In this case, you should use the
Open File
button to fix it.
Allow you to choose how the projects are sorted in List Projects command. You can choose:
- Saved: The order that you saved the projects
- Name: The name that you typed for the project
- Path: The full path of the project
"projectManager.sortList": "Name"
new in version 0.3.0
As described in the installation steps, you must use this to define the path to the Code app.
Define if you want to open a New Window or just switch the current
(default is true
)
"projectManager.openInNewWindow": true
- Fix: Saving projects not working in Linux (issue #16
- Readme updated to better explain how to install and configure the extension
- Fix: Updated instructions for Mac OS X after Code February Release (issue #14 - Thanks to @satokaz, @janmarek and @csholmq)
- Fix: Save Project was using the whole path (issue #12)
- Fix: Project switch not working for network folders (UNC Notation) (issue #10)
- Fix: Interim fix for project switching not working in Mac OS X (issue #7 - Thanks to @satokaz)
- New: The
projects.json
file is now formatted (Thanks to @cuth PR #6) - Fix: The
List Projects
keybinding was not working property (issue #8)
- New Command: Edit Projects
- Fix: Project switch not working properly (issue #5)
- New Setting: Indicate Code path
- New Setting: Open a New Window when you choose a project, or just switch the current
- Fix: Spaces in Project Path (issue #3)
- License updated
- Initial release
If you have any idea, feel free to create issues and pull requests
MIT © Alessandro Fragnani