Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Projects SwitchNew to Visual Studio Code? Get it now.
Projects Switch

Projects Switch

sunzhongyi

|
2 installs
| (0) | Free
Quickly discover and switch Git projects from the status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Projects Switch logo

Projects Switch

Find and switch Git projects from the VS Code status bar.

  • Project — find Git projects, including nested repositories, with recently visited projects first.

Click the project button, type to search, and press Enter to select.

Source code · Report an issue

Shortcuts

Action macOS Windows / Linux
Switch Project Option+P Alt+P

Customize these in Keyboard Shortcuts by searching for Projects Switch. Add Project and Refresh Projects are available in the Command Palette.

Configuration

Set the directories to scan in VS Code settings:

{
  "projectsSwitch.projects.scanRoots": [
    "$WORKSPACE"
  ],
  "projectsSwitch.projects.excludes": [
    "**/archived/**"
  ],
  "projectsSwitch.projects.maxDepth": 4
}
  • scanRoots: absolute directories, optionally using environment variables. $WORKSPACE must be an environment variable available to VS Code, not the currently opened folder. Relative paths, ~, and filesystem roots are not supported.
  • excludes: directory patterns to skip.
  • maxDepth: maximum scan depth; the scan root is depth 0.

Moving from DevHop

Install sunzhongyi.projects-switch and uninstall DevHop. Copy any projectSwitcher.projects.* settings to projectsSwitch.projects.*. Recently visited and manually added projects are not transferred. Branch switching is handled by VS Code’s built-in Source Control Checkout.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft