Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AI CLI diff viewNew to Visual Studio Code? Get it now.
AI CLI diff view

AI CLI diff view

Konan

|
246 installs
| (5) | Free
Cursor-like inline diff review for any AI CLI agent's file edits, right inside VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI CLI Diff View

Cursor-like inline diff review for any AI CLI agent's file edits — right inside VS Code.

Works with any AI CLI tool out of the box (Claude, Codex, Qwen, and more) — no setup, no hooks required. Review, accept, or revert changes without ever leaving VS Code.

Features

Welcome to AI CLI Diff

Welcome to AI CLI Diff — review every AI edit before it lands.


Accept or reject in side panel

Accept or reject each AI change with one click in the side panel.


Integrated terminal

Run an AI CLI agent right inside the embedded terminal.


Real folder structure

See changed files in their real folder structure.


Review hunks in editor

Review changes hunk by hunk directly in the editor.


Terminal settings

Customize terminal font, theme, and cursor from the Settings popover.

Usage

  1. Open the AI CLI sidebar in VS Code.
  2. Run an AI CLI agent — Claude, Codex, Qwen, or anything else — in the integrated terminal or an external terminal. Edits are picked up automatically, no setup needed.
  3. View pending diffs in VS Code.
  4. Accept or revert changes per hunk, per file, or all pending changes at once.

Commands

  • AI CLI Diff: Start Claude Session
  • AI CLI Diff: Accept All Changes
  • AI CLI Diff: Accept All Changes (All Files)
  • AI CLI Diff: Revert All Changes
  • AI CLI Diff: Open Pending File
  • AI CLI Diff: Previous Edited File
  • AI CLI Diff: Next Edited File

Keybindings

  • Ctrl+Shift+A / Cmd+Shift+A on macOS: Start a Claude session.
  • Ctrl+Shift+Y / Cmd+Shift+Y on macOS: Accept all changes in the current diff.
  • Ctrl+Shift+Z / Cmd+Shift+Z on macOS: Revert all changes in the current diff.
  • Alt+H: Navigate to the previous edited file while pending diffs exist.
  • Alt+L: Navigate to the next edited file while pending diffs exist.

Development

npm install
npm run compile

Press F5 in VS Code to launch the Extension Development Host.

Package the extension:

npx @vscode/vsce package

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft