Gerrit Change Analyzer (VS Code Extension)
Review Gerrit changes directly in VS Code with a dashboard, file diffs, inline comments, and full change metadata.
Features
- Dashboard - View your outgoing reviews, incoming reviews, CC'd changes, and recently merged changes in the Activity Bar
- File Diffs - Open side-by-side diffs with syntax highlighting in your current workspace
- Inline Comments - See Gerrit comments as VS Code comment threads (both revision and parent-side)
- Change Metadata - View status, owner, reviewers, labels/votes in a panel
- Patchset Navigation - List and switch between patchsets, compare any two patchsets
- Related Changes - See parent/child changes in the commit chain
- Change History - View the full timeline of reviews and updates
Dashboard (Requires Authentication)
The Gerrit icon in the Activity Bar shows two views:
Personal - Your changes
- Open, Merged, Abandoned, Incoming Reviews, CCed
Project - All changes in the project (auto-detected from git remote)
Click any change to view its details.
Commands
Core Review Commands
Gerrit: Analyze Change - Open a patchset for review with file diffs and comments
Gerrit: Compare Patchsets - Compare two patchsets of the same change
Gerrit: Open Change by URL - Open a change from URL or change number (e.g., 123456, 123456/7, or full URL)
Gerrit: View Change Info - Show change metadata, status, reviewers, and votes
Gerrit: View Commit Message - Display the full commit message
Gerrit: View Change History - Show timeline of reviews and updates
Gerrit: View Related Changes - Show parent/child changes
Navigation
Gerrit: List Patchsets - Browse and switch between patchsets
Gerrit: Preview Changed Files - View file list without checkout (API only)
Gerrit: Checkout Last Fetched Change - Checkout the patchset for full code navigation
Gerrit: Set Default Remote - Configure which Git remote to use
Dashboard
Gerrit: Refresh Dashboard - Refresh the dashboard view
How Diffs Work
- Modified files: base commit vs patchset commit
- Added files: empty vs patchset commit
- Deleted files: base commit vs empty
- Renamed files: old path at base vs new path at patchset
Comments on both sides of the diff are displayed (revision-side and parent-side).
Requirements
- Opened folder must be a Git repository
- Repository must have access to Gerrit via configured remote
- Git must be available on PATH
- Authentication required for Dashboard (see below)
Settings
Configure in VS Code settings:
| Setting |
Description |
gerrit.apiBaseUrl |
Gerrit API URL (auto-detected from remote if empty) |
gerrit.authToken |
Bearer token for API authentication |
gerrit.username |
Username for basic auth |
gerrit.httpPassword |
HTTP password/token for basic auth |
For public Gerrit servers, authentication may not be required for viewing changes. The Dashboard requires authentication.
Read-Only
This extension is read-only. It fetches and displays Gerrit data but does not post comments or modify changes.
License
This extension is proprietary software licensed by Turntide AI.
For commercial licensing terms, contact hello@turntide.ai.