A VS Code extension that shows a draggable view listing all Git branches. Click a branch to checkout. The current branch is highlighted.
Features
Tree view listing local and remote branches
Highlights current branch
Click to checkout (creates tracking branch for remotes)
Refresh button in the view title
Debug Affected APIs — starts debug sessions only for APIs with direct file changes (sequentially). With ReSharper: type: "dotnet" + a project-scoped ReSharper build as preLaunchTask (reuses ReSharper's incremental build engine for just that API, so it is fast on start and rebuilds on Ctrl+Shift+F5). Falls back to tasks.jsonbuild:<Api> if the ReSharper build task is unavailable. Without ReSharper: existing launch.json names.
Development
Run npm install
Run npm run compile
Press F5 in VS Code / Cursor to launch the Extension Development Host (loads this extension without publishing)
Test Debug Affected APIs locally
Open this folder (vscode/BranchList) or the monorepo root.
cd vscode/BranchList && npm install && npm run compile
Run Run Extension / F5 (config in .vscode/launch.json) — a new Extension Development Host window opens.
In that window, open the monorepo root as the workspace.
Command Palette → Branch List: Debug Affected APIs, or use the debug-start icon on the Branches view title.
With ReSharper installed, sessions should start as type: "dotnet" project launches; otherwise they fall back to .vscode/launch.json names.