SCM count badge not showing in multi-root workspace
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.132.0
- OS Version: Windows 11 Home, build 26200
Steps to Reproduce:
1. Create a .code-workspace file with multiple folders, each being an independent git repo:
{
"folders": [
{ "path": "path/to/repoA" },
{ "path": "path/to/repoB" }
]
}
2. Make changes in one or more repos (stage or modify files).
3. Open the workspace in VS Code
Expected: The Source Control activity bar icon shows a badge with the total number of changed files.
Actual: No badge number appears on the Source Control icon, despite:
Note: The badge works correctly when opening a single repo folder directly (not via .code-workspace file).
Right-click → "Hide Badge" confirms the badge is enabled
scm.countBadge set to "all" (both user and workspace level)
Changes are visible when clicking into Source Control and expanding individual repos
All repos are detected (5 repos shown in Source Control panel)
Extensions: ms-vscode.powershell, ms-dotnettools.csdevkit, ms-dotnettools.csharp, ms-dotnettools.vscode-dotnet-runtime (no git-related third-party extensions)
Contributor guide
Assessment
This issue has not been assessed yet.