Review Mode
Review GitLab merge requests directly in VS Code — browse changed files, view diffs, add comments, and submit them via AI-assisted chat.
Features
- Browse changed files in a file explorer panel (flat or nested view)
- View diffs in VS Code's native diff editor
- Add comments using the gutter "+" icon on any line
- Manage comments in the "My Comments" panel (grouped by file, click-to-navigate, edit, delete)
- AI-assisted submission via the
@review chat participant:
/rephrase — rephrase all comments to be more constructive
/addSuggestions — add GitLab code suggestion blocks to comments
/submit — submit all comments as a batch review to GitLab
- Comment backup — comments are backed up to a JSON file and can be restored after a crash or restart
Requirements
Usage
- Check out the branch linked to a GitLab merge request
- Run "Review Mode: Start Review" from the Command Palette
- The extension auto-detects the MR from your current branch
- Browse changed files in the "Changed Files" panel
- Click a file to open the diff editor
- Hover over any line and click the "+" icon to add a comment
- When done, click "Submit Review to Chat" in the "My Comments" panel
- In the chat, use
/rephrase, /addSuggestions, or free-form instructions
- Use
/submit to create the batch review on GitLab
How It Works
- The extension uses your current local branch — it never switches branches
- Diffs are computed against the MR's target branch (
git diff target_branch...HEAD)
- Comments are stored in memory during the review session
- A JSON backup is saved to the extension's global storage
- If you commit during a review, the session is discarded (backup preserved)
- Review mode requires no unpushed commits (remote being ahead is OK)
| |