Diffs steal focus and cover the active editor when opening (multi-group workflow)

Resolved 💬 2 comments Opened Jun 23, 2026 by shalkin-alex Closed Jun 27, 2026

Feature request: don't steal focus / cover the active editor when opening diffs

Summary

The VSCode extension opens every Write/Edit diff in a new editor tab that takes
focus and is placed in front of whatever I'm currently reading. With multiple
editor groups arranged by topic, the diff repeatedly appears over my active view
and pulls focus away. Locking editor groups doesn't help — the extension just
creates a new group forward instead.

This is a critical, attention-breaking interruption for multi-group workflows.

Current behavior

  • Each edit auto-opens a diff/file tab that grabs focus.
  • The tab covers the editor I was reading.
  • Locked editor groups are bypassed: a brand-new group is spawned in front.
  • No setting (extension or workbench.*) changes this. useTerminal avoids it

but the CLI diff view is not an acceptable substitute.

Requested behavior (any one would resolve it)

  1. A setting to open diffs in the background without stealing focus

(preserveFocus: true on the underlying showTextDocument / diff call).

  1. A setting to pin diffs to a single designated editor group (or respect

locked groups so the extension never creates a new group in front of the
active one).

  1. A setting to review diffs inline in the chat/sidebar panel instead of

spawning editor tabs.

Impact

Workflow-breaking enough that I'm evaluating switching editors over it. A focus/
placement option would keep me on Claude Code.

Environment

  • Claude Code VSCode extension (latest)
  • VSCode on Windows 11
  • Multiple editor groups organized by topic; one or more locked

View original on GitHub ↗

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