Gerrit Code Review for VS Code
Review Gerrit changes with full IDE power - Go-to-definition, find references, and all VS Code language features work on Gerrit patchsets.
Stop context-switching between your browser and editor. Review code in VS Code with the same navigation and intelligence you use when writing code.


Why Use This Extension?
| Web UI |
VS Code Extension |
| No code navigation |
Full code navigation (Go to Definition, Find References, etc.) |
| Limited syntax highlighting |
Rich language support with IntelliSense |
| Switch between browser and editor |
Stay in your editor |
| Basic diff view |
Side-by-side diffs with VS Code's diff editor |
| Comments in separate panel |
Inline comments as native VS Code comment threads |
Features
Dashboard
View all your Gerrit activity in the VS Code sidebar:
- Outgoing Reviews - Changes you own
- Incoming Reviews - Changes assigned to you
- CCed - Changes you're copied on
- Recently Merged - Your merged changes
Code Review with Full IDE Features
- Open any Gerrit change
- Checkout the patchset
- Get full code navigation: Go to Definition, Find All References, Peek Definition, Symbol Search
- Review with syntax highlighting, IntelliSense, and error detection
Gerrit comments appear as native VS Code comment threads directly in the diff view - no need to scroll to a separate panel.
Patchset Comparison
Compare any two patchsets side-by-side to see what changed between revisions.
View status, labels, votes, reviewers, commit message, and full change history in a rich panel.
Quick Start
- Install the extension
- Open a Git repository that uses Gerrit
- Click the Gerrit icon in the Activity Bar
- Login with your Gerrit session cookie
- Click any change to start reviewing
Commands
| Command |
Description |
Gerrit: Open Change by URL |
Open a change from URL or number |
Gerrit: Analyze Change |
Open a patchset for review |
Gerrit: Compare Patchsets |
Compare two patchsets |
Gerrit: Checkout Last Fetched Change |
Checkout for full code navigation |
Gerrit: View Change Info |
Show metadata, votes, history |
Gerrit: List Patchsets |
Browse all patchsets |
Authentication
The extension supports multiple authentication methods:
- Session Cookie (recommended) - Click "Login to Gerrit" in the sidebar
- HTTP Password - Set
gerrit.username and gerrit.httpPassword in settings
- Bearer Token - Set
gerrit.authToken in settings
- Git Cookies - Automatically uses cookies from
~/.gitcookies
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 for basic auth |
Requirements
- VS Code 1.90.0 or higher
- Git repository with Gerrit remote
- Git available on PATH
Supported Gerrit Servers
Works with any Gerrit server including:
- Google Gerrit (googlesource.com)
- Android Open Source Project
- Chromium
- Eclipse
- Self-hosted Gerrit instances
Feedback & Issues
Report issues or request features at contact@turntide.ai
License
Proprietary software by Turntide AI. For licensing, contact contact@turntide.ai.