vscode-repo

VSCode extension to switch between repositories with ease

MIT License

Stars
4

Features

  • Switch Repositories: Easily switch between repositories.
  • Auto Repository Detection: Automatically detect Git repositories.
  • View Options: Choose between tree or list view.
  • Status Bar Integration: See the current repository in the status bar.
  • Gitignore Friendly: Respects your .gitignore settings.

Demo

Commands

  • Repositories: Edit configuration - Opens configuration for the repo and allows controlling root paths and scan depth.
  • Repositories: List Repos - Opens a quick pick list of repositories to switch.

Settings

Setting Description Default Value
repositories.treeAsDefault Use tree view as the default. false
repositories.sortByName Sort tree view by repository names. false
repositories.showInStatusBar Show the current project in the status bar. true
repositories.preferBundled Prefer bundled binary; fallback to PATH binary. true

Platform Support

The extension is available on all major platforms, including Windows, macOS, and Linux. However, while it's generally compatible with these platforms, please note that testing is more extensive on some platforms than others. If you encounter any issues on your specific platform, feel free to raise an issue with relevant details.

[!WARNING] If you are using Windows Subsystem for Linux (WSL), please be aware that full support might be limited. In WSL, the repo cli needs to be installed, and it may not work correctly if the PATH is not inherited. You can set repositories.preferBundled to false to always use the binary from the PATH instead of bundled one. For more information, refer to mohitsinghs/vscode-repo#2 and mohitsinghs/vscode-repo#4.

Inspirations