Diff your branch against a base, get AI-powered review findings as inline comments with a task list sidebar.
The extension is not yet published to the VS Code Marketplace. Use these steps to install it directly from the repository.
- Node.js v18 or later (
node -vto check) - npm (bundled with Node.js)
- VS Code 1.90 or later
- The GitHub Copilot extension installed and signed in to VS Code
-
Clone the repository:
git clone https://github.com/synth/copilot-review-agent.git cd copilot-review-agent -
Install dependencies:
npm install
-
Build and package the extension:
npm run package
This produces a file like
copilot-review-agent-0.1.0.vsixin the project root. -
Install the
.vsixin VS Code:- Press
Cmd+Shift+P→ Extensions: Install from VSIX... - Select the generated
.vsixfile. - Press
Cmd+Shift+P→ Developer: Reload Window
- Press
-
Use the extension:
- Open a Git repository in VS Code.
- The Copilot Review Agent panel will appear in the Activity Bar (sidebar).
- Select a base branch to diff against, then click Review Branch to start an AI-powered review.
- Findings appear as inline comments and in the task list sidebar.
Use this when you're actively developing and want to iterate quickly:
- Compile the TypeScript source:
Or start the watcher for automatic recompilation on save:
npm run compile
npm run watch
- In VS Code, open the Run menu and choose Start Debugging (or press
F5). This launches a new Extension Development Host window with the extension loaded from the workspace. - In the Extension Development Host window, open a Git repository to test the review workflow. If that repository is already open in another VS Code window, close it there first.
- After making code changes, reload the Extension Development Host window with
Cmd+Shift+P→ Developer: Reload Window.
This works because VS Code loads the extension directly from the workspace's out/ folder.
Use this when you want to test the fully packaged extension (e.g. in a window outside the development workspace):
- Build the
.vsixfile:This compiles the source and produces a file likenpm run package
copilot-review-agent-0.1.0.vsixin the project root. - In VS Code, press
Cmd+Shift+P→ Extensions: Install from VSIX... - Select the generated
.vsixfile. - Press
Cmd+Shift+P→ Developer: Reload Window