The GitHub Copilot extension installed and signed in to VS Code
Steps
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.vsix in the project root.
Install the .vsix in VS Code:
Press Cmd+Shift+P → Extensions: Install from VSIX...
Select the generated .vsix file.
Press Cmd+Shift+P → Developer: Reload Window
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.
Development
Quick Reload (development mode)
Use this when you're actively developing and want to iterate quickly:
Compile the TypeScript source:
npm run compile
Or start the watcher for automatic recompilation on save:
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.
Full Package Install
Use this when you want to test the fully packaged extension (e.g. in a window outside the development workspace):
Build the .vsix file:
npm run package
This compiles the source and produces a file like copilot-review-agent-0.1.0.vsix in the project root.
In VS Code, press Cmd+Shift+P → Extensions: Install from VSIX...