See exactly what your AI coding assistant changed — and decide what to keep.
AI Change Visualizer monitors your workspace for external file modifications (from AI coding tools like Gemini, Copilot, Claude, or any other agent) and highlights every change block directly in your editor with intuitive green/red decorations and one-click Accept / Reject controls.
Features
🟢 Real-Time Change Detection
Automatically detects when an AI tool modifies your files externally. No configuration required — just install and code.
🎯 Per-Block Accept / Reject
Every change block (hunk) gets its own inline Accept and Reject buttons directly above the modified code, just like a code review.
✅ Accept All / Reject All
Quickly accept or reject all detected changes in a file with a single click using the global controls at the top of the file.
🔴 Visual Diff Highlights
- Green background — Lines added by the AI
- Red indicator — Lines removed by the AI (hover to see original text)
- Strikethrough — Changes you rejected (will be reverted on finalization)
🔔 Smart Notifications
Get notified when the AI modifies a file, with a one-click "Review" button to jump directly to the changes.
🧠 Intelligent Detection
Distinguishes between your own typing and external AI modifications using keystroke timing and window focus heuristics. Your manual edits are never flagged.
How It Works
- Open any project in VS Code.
- Use your AI coding tool (Gemini Antigravity, GitHub Copilot, Claude Code, etc.) to make changes.
- See changes highlighted instantly in your editor with green/red decorations.
- Review each change using the inline
✓ Accept/✗ Rejectbuttons. - Or bulk-resolve with
✓✓ Accept All/✗✗ Reject Allat the top of the file.
Requirements
- VS Code 1.85.0 or later.
- No additional dependencies required.
Extension Settings
This extension works out of the box with zero configuration.
Known Issues
- Files must be open in the editor to detect and visualize changes. Changes to unopened files will be detected when you open them.
- If you start manually editing a file with pending AI changes, the review session is dismissed to prevent conflicts.
Release Notes
0.2.0
- Complete architecture redesign with Snapshot + Hunks + Selective Reconstruction.
- Individual Accept/Reject per change block.
- Accept All / Reject All buttons.
- Rejected changes shown with strikethrough decoration.
- Smart detection using window focus + keystroke timing.
- Hover tooltips showing removed text.
0.1.0
- Initial prototype with basic change detection and decorations.
Created by jhack | Report Issues