Diff StatsDiff Stats shows uncommitted Git file and line counts in the VS Code status bar. Requires VS Code 1.144 or newer. Git change summaryThe status bar shows counts such as 1 File +34 −73, or No changes when the repository is clean. Click the summary to open Source Control. Hover to see which repository is being counted. Counts include saved staged, unstaged, and non-ignored untracked files. Each changed file is counted once; line totals compare the working tree with The summary follows the active editor’s repository, falling back to the selected Source Control repository and then the first available repository. It refreshes as VS Code’s built-in Git extension reports changes. It is hidden when Git or a repository is unavailable, or a refresh fails; errors appear in the Diff Stats output channel.
DevelopmentUse Node.js 22 or newer for development. Install dependencies with Build an installable VSIX with Compilation emits unminified CommonJS JavaScript targeting ES2022. |