@FOTISPAN

Claude Code Diff Viewer: Track and Undo AI Code Changes in VS Code

When working with AI coding tools like Claude Code, one challenge quickly becomes clear: tracking what the AI actually changed in your codebase.

While tools like the Codex VS Code plugin offered built-in summaries with diffs and undo options, Claude Code lacks that visibility out of the box. To solve this, I built Claude Changes, a VS Code extension that helps you review, understand, and revert file edits made during Claude Code sessions.

What Is Claude Changes?

Claude Changes is a Visual Studio Code extension that surfaces file modifications made by Claude Code. It reads Claude’s local checkpoint data and presents it in a structured, developer-friendly interface.

This allows you to inspect diffs, follow changes over time, and safely revert edits when needed.

 

Key Features

  • Session overview: View all Claude Code sessions in your workspace, sorted by recency
  • All changes view: See every modified file with cumulative diffs
  • Timeline view: Step through changes at each checkpoint
  • File diffs: Inspect changes with a single click
  • Restore options: Revert individual files or entire sessions
  • Auto-refresh: Updates automatically as new checkpoints are created
  • Cross-platform support: Works on Linux, macOS, and Windows

 

How It Works

Claude Code creates checkpoint backups before modifying files. Claude Changes reads this data and displays it inside VS Code, giving you full visibility into AI-driven edits without requiring additional setup.

 

How to Use

  1. Open a project where Claude Code has been used
  2. Open the Claude Changes panel from the activity bar
  3. Browse sessions and inspect modified files
  4. View diffs or restore files as needed

 

Why Use Claude Changes?

AI-assisted development improves productivity, but it also introduces uncertainty. Claude Changes helps you:

  • Track all AI-generated code changes
  • Review diffs without relying on Git
  • Revert unwanted edits quickly
  • Maintain control over your codebase

 

Disclaimer

This is an independent extension and is not affiliated with or endorsed by Anthropic. It uses local checkpoint data generated by Claude Code.

 

GET THE PLUGIN