A Visual Studio Code extension that provides Source Control and diff support
for git-toprepo emulated monorepos.
What it does
This extension provides:
Changes view
Staged Changes view
Stage / unstage files
Stage All / Unstage All
Discard changes
Discard All Changes
File diff support
Native change bars immediately after line numbers for added, modified, and deleted lines
Commit Graph
Commit file changes
Commit diff support
Changed file count
Installation
In VS Code, open Extensions, search for Git Toprepo by AroosMohamed,
and select Install.
Alternatively, install a downloaded .vsix file:
Open VS Code.
Open Extensions.
Click the ... menu.
Select Install from VSIX...
Select the git-toprepo-vscode-*.vsix file.
Requirements
Visual Studio Code 1.100.0 or newer
Git and git-toprepo installed and available on PATH
A git-toprepo emulated monorepo opened as the workspace folder, containing
.gittoprepo.toml
Notes
Editor markers compare open files (including unsaved edits) with HEAD through
VS Code's Quick Diff API; .gitmodules does not need to be renamed. Clicking a
change bar opens VS Code's inline diff peek. The standard scm.diffDecorations
setting controls their visibility; use all or gutter to show the line markers.
If you previously installed the local testing extension (local.git-toprepo-vscode),
uninstall it before installing this Marketplace version.
License
MIT. The license text is included in the extension package.