Add option to disable auto-opening diff view on file edit

Resolved 💬 3 comments Opened Apr 4, 2026 by J-Propulse Closed Apr 8, 2026

Problem

When Claude Code edits a file via the VS Code extension, the diff view automatically opens in the editor area, pushing down the terminal panel. This is very disruptive, especially when working with multiple terminals.

Expected behavior

A setting to disable auto-opening the diff view, e.g.:

"claude-code.revealDiffOnEdit": false

File edits would still apply, but without forcing the editor to reveal the diff and steal focus from the terminal.

Environment

  • VS Code extension v2.1.92
  • macOS Darwin 25.4.0

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗