WARNING: This is purely a testbed for trying out ideas for VS Code Extensions and should be considered experimental.
This extension creates a replacement for VS Code's Source Control Checkout status bar item. If you use the GitLens extension, it will use GitLens to switch branches, giving you better support for Git Worktrees.
- Custom status bar item that displays the current branch
- Hover with more information about the repo and branch
- Switch branches by clicking on the status bar item
- Install the GitLens extension. (optional)
- Clone this repository.
- Open the repository in Visual Studio Code.
- Run
npm install
to install the dependencies. - Run
npm run package
to create the extension's VSIX file. - Install by opening the Extensions side bar and selecting "Install from VSIX" from the side bar' overflow menu..