AI Diff Viewer — my VSCode extension is live on the Marketplace
A calmer way to review AI CLI edits in VSCode: inline hunks in the editor you already have open, opt-in split-view diff, hover actions. Works with Claude Code, Codex, and Qwen.

A calmer way to review AI CLI edits in VSCode: inline hunks in the editor you already have open, opt-in split-view diff, hover actions. Works with Claude Code, Codex, and Qwen.

Just shipped AI Diff Viewer to the VSCode Marketplace. It's the small extension I built because the default AI-diff experience was driving me up the wall.
Most "AI diff" tooling pops a split-view diff editor every time the model writes a file, then re-opens it whenever you focus back. In a real review session this turns into:
edit → diff pops → close → click file → diff pops → close → context-switch → diff pops → …
AI Diff Viewer flips the default. AI edits land as inline decorations inside the editor you already have open — green/red gutter, hunk markers, CodeLens accept/revert — and the split-view diff is something you open on demand. The classic auto-open behaviour is one setting away if you actually want it.
autoOpenDiffEditor) or in-panel toggle controls auto-open.Open file / Open diff / Accept / Revert.Accept All / Revert All at the top of the pending list. One click, everything applied.Accept / Revert above each hunk inside the diff editor.Alt+H / Alt+L to jump between edited files, Cmd+Shift+Y / Cmd+Shift+Z to accept/revert the active file.~/.claude/settings.json for precise snapshotting.ext install mtglitch.ai-diff-viewer
Or search AI Diff Viewer in the Extensions sidebar.
onDidChange for other tools).autoOpenDiffEditor is true or you ask for it explicitly.Accept clears the snapshot (changes stay on disk). Revert writes the original back. Both fire the same internal event, so the panel and decorations refresh automatically.State is persisted in extension storage, so pending diffs survive a window reload.
This is a fork of konan-1947/ai-cli-diff-view at upstream v1.0.12. All credit for the snapshot/hunk/CodeLens engine and the Claude hook installer goes to the original author — I only changed the default UX so split-view stops jumping at me, added hover actions on the Session panel rows, and wired up bulk Accept/Revert in the header.
If you want the classic upstream behaviour back, install this fork and set ai-cli-diff-view.autoOpenDiffEditor: true. The engine underneath is identical.
Issues and feature requests → github.com/EloWeld/ai-diff-viewer/issues. PRs welcome.
Currently shipped as v1.0.4.