Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Pending Changes ReviewerNew to Visual Studio Code? Get it now.
Pending Changes Reviewer

Pending Changes Reviewer

Boris Polyakov

|
14 installs
| (0) | Free
Automatically track and review file changes - Accept or discard modifications with inline diff view. Perfect companion for AI coding assistants like Claude Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pending Changes Reviewer

A VS Code extension that lets you review and manage file changes at any time – perfect for working with AI coding assistants like Claude Code where you want to review changes before they're finalized.

Features

📸 Snapshot Files

Take a snapshot of your files before AI starts making changes. The snapshot captures the current state so you can compare later.

👁️ Track Changes

Start tracking mode to monitor your workspace. Any files you've snapshotted will show up in the Pending Changes panel when modified.

🔍 Inline Diff View

Click any changed file to see a side-by-side diff comparison between the snapshot (original) and current state.

✅ Accept or Revert

  • Accept: Keep the changes and clear the snapshot
  • Discard: Revert the file back to its snapshot state

How to Use

Typical Workflow with Claude Code

  1. Before asking Claude to make changes:

    • Click the "Snapshot All Open Files" button or use the command palette
    • This saves the current state of all open files
  2. Let Claude Code make its changes

    • Claude modifies files as usual
    • Changes appear in the Pending Changes panel
  3. Review at your leisure:

    • Open the Pending Changes panel in the activity bar
    • Click any file to see the diff
    • Accept changes you like, discard ones you don't

Commands

Command Description
Start Tracking Changes Begin monitoring the workspace for file changes
Stop Tracking Changes Stop monitoring changes
Snapshot Current File Save the current state of the active file
Snapshot All Open Files Save the current state of all open files
Accept Changes Accept the changes for a file (removes snapshot)
Discard Changes Revert a file to its snapshot state
Accept All Changes Accept all pending changes
Discard All Changes Revert all files to their snapshots
Show Diff View the diff for a changed file

Activity Bar

The extension adds a "Pending Changes" icon to the activity bar. This panel shows:

  • All files with pending changes
  • Change statistics (+additions / -deletions)
  • Time since snapshot was taken

Status Bar

A status bar item shows the current tracking state:

  • 👁️ Tracking: X files - Currently monitoring X snapshotted files
  • 👁️‍🗨️ Not Tracking - Click to start tracking

Settings

Setting Default Description
pendingChanges.autoTrack false Automatically start tracking when VS Code opens
pendingChanges.watchPatterns ["**/*.{js,ts,...}"] File patterns to watch for changes
pendingChanges.excludePatterns ["**/node_modules/**", ...] Patterns to exclude from tracking
pendingChanges.snapshotOnSave false Auto-snapshot files on save

Why Use This?

Problem with AI Coding Assistants

When using Claude Code or similar AI tools:

  • Changes are applied immediately
  • It can be hard to see exactly what changed
  • Reverting requires manual work or git knowledge

Solution

This extension gives you:

  • Control: Snapshot before AI edits, review after
  • Visibility: Clear diff view of all changes
  • Flexibility: Accept or revert file-by-file
  • Peace of mind: Easy one-click revert if something goes wrong

Installation

From VSIX (Manual)

  1. Download the .vsix file
  2. In VS Code, open the Extensions view
  3. Click "..." menu → "Install from VSIX..."
  4. Select the downloaded file

Development

# Clone and install
git clone <repository>
cd pending-changes-reviewer
npm install

# Compile
npm run compile

# Package
npm run package

Tips

  1. Snapshot early: Take snapshots before asking AI to make changes
  2. Review often: Check the Pending Changes panel to see what's modified
  3. Use keyboard shortcuts: Assign shortcuts to common commands
  4. Combine with git: This works alongside git – use both for safety

Keyboard Shortcuts (Suggested)

Add these to your keybindings.json:

{
    "key": "ctrl+shift+s",
    "command": "pendingChanges.snapshotFile"
},
{
    "key": "ctrl+shift+d",
    "command": "pendingChanges.showDiff"
}

License

MIT

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