Skip to content

imsedim/vscode-project-manager

 
 

Repository files navigation

Functionality

Manage your projects right inside Visual Studio Code. Easily access and switch between them.

Installation

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.

Windows

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"

Mac OS X

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"

Linux

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.

Usage

Available commands

  • 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

Commands

Save Project

You can save the current project in the manager at any time. You just need to type a name. It even suggest you automatically :)

Save

new in version 0.4.0

Edit Projects

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.

Corrupted

Available settings

Sort the Project List

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"

List

new in version 0.3.0

Indicate Code path

As described in the installation steps, you must use this to define the path to the Code app.

Open a New Window

Define if you want to open a New Window or just switch the current (default is true)

    "projectManager.openInNewWindow": true

Changelog

Version 0.5.5

  • Fix: Saving projects not working in Linux (issue #16
  • Readme updated to better explain how to install and configure the extension

Version 0.5.4

  • Fix: Updated instructions for Mac OS X after Code February Release (issue #14 - Thanks to @satokaz, @janmarek and @csholmq)

Version 0.5.3

  • Fix: Save Project was using the whole path (issue #12)

Version 0.5.2

  • Fix: Project switch not working for network folders (UNC Notation) (issue #10)

Version 0.5.1

  • Fix: Interim fix for project switching not working in Mac OS X (issue #7 - Thanks to @satokaz)

Version 0.5.0

  • New: The projects.json file is now formatted (Thanks to @cuth PR #6)
  • Fix: The List Projects keybinding was not working property (issue #8)

Version 0.4.0

  • New Command: Edit Projects

Version 0.3.1

  • Fix: Project switch not working properly (issue #5)

Version 0.3.0

  • 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)

Version 0.2.0

  • License updated

Version 0.1.1

  • Initial release

Participate

If you have any idea, feel free to create issues and pull requests

License

MIT © Alessandro Fragnani


Paypal Donations if you enjoy using this extension :-)

About

Project Manager Extension for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%