Projects SwitchFind and switch Git projects from the VS Code status bar.
Click the project button, type to search, and press To keep your current window open, click the button on the right of a project row, labeled 在新窗口打开 (open in new window). It opens that project's last visited workspace or worktree in a new window. Selecting a row or pressing Each time you open the picker, it checks cached paths and shows the available projects without waiting for a full scan. A background scan then updates the open list while preserving your search and active project. A loading indicator appears while the scan runs. Scans also run at startup by default, when scan settings change, and when you run Refresh Projects. Before opening a project, the extension checks its paths again and updates the saved path. If the last-visited directory is unavailable, it tries the main directory, then the other known worktrees. If none are accessible Git directories for that project, it shows a warning and keeps the current window open.
Simulated demo with example projects. The picker shows project paths and recent visit times; the checkmark identifies the current project. Shortcuts
Customize these in Keyboard Shortcuts by searching for ConfigurationSet the directories to scan in VS Code settings:
Moving from DevHopInstall |
