Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copilot CompareNew to Visual Studio Code? Get it now.
Copilot Compare

Copilot Compare

John Lokerse

|
2 installs
| (0) | Free
View GitHub Copilot changes in a side-by-side diff editor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot Compare

header

A Visual Studio Code extension that displays GitHub Copilot changes in a side-by-side diff view instead of the default inline presentation.

VS Code Version License

Features

  • Side-by-Side Diff View: View Copilot-generated changes in a familiar diff format
  • Automatic Detection: Automatically detects large code changes that are likely from AI assistants
  • Status Bar Integration: See pending changes at a glance
  • Configurable Sensitivity: Adjust detection sensitivity to your workflow

Usage

Automatic Mode

When enabled, the extension automatically opens a side-by-side diff when it detects Copilot-like changes to your code.

Manual Mode

  1. Make changes to your code (manually or via Copilot)
  2. Press Cmd+Shift+D (Mac) or Ctrl+Shift+D (Windows/Linux)
  3. Review changes in the diff view

Commands

Command Keybinding Description
Copilot Compare: Show Side-by-Side Cmd+Shift+D Open diff view for current file
Copilot Compare: Toggle Auto-Open - Toggle automatic diff opening
Copilot Compare: Show Status - Show extension status

Configuration

Setting Type Default Description
copilotDiff.autoOpenDiff boolean false Automatically open diff when changes detected
copilotDiff.diffViewColumn string "beside" Where to open diff (beside, active, one, two)
copilotDiff.detectionSensitivity string "medium" Change detection sensitivity (low, medium, high)
copilotDiff.stateTTL number 300000 Time-to-live for cached states (ms)
copilotDiff.minChangeLines number 3 Minimum lines changed to trigger detection

In action

Without Copilot Compare:

inline

With Copilot Compare:

side-by-side

Shows moved code:

moved-code

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft