[FEATURE] JetBrains plugin: setting to disable diff auto-focus / tab-switch (accessibility)

Open 💬 8 comments Opened Apr 19, 2026 by laurac8r

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

When using the JetBrains Claude Code [Beta] plugin with diff_tool in its default IDE mode, the plugin auto-focuses the
diff view and switches the active editor tab to the file being diffed whenever Claude edits a file. There is currently
no plugin setting, /config option, settings.json key, or IDE registry flag to suppress this while keeping IDE diffs
enabled.

Accessibility impact

I have ASD. Involuntary focus/tab-switching isn't a preference issue — it removes control over where my attention goes,
which is a documented accessibility barrier:

  • WCAG 2.4.3 (Focus Order) — focus must move in an order that preserves meaning and operability.
  • WCAG 3.2.1 (On Focus) — a change of context must not occur solely from a component receiving focus.

The JetBrains platform already exposes the primitive (focusEditor=false on FileEditorManager.openFile(...) and
similar APIs). The plugin just needs to surface it.

Proposed Solution

Any one of these would fix the problem:

  1. A JetBrains plugin setting in Settings → Tools → Claude Code [Beta]: "Open diffs without stealing focus / switching

tab" (checkbox).

  1. A Claude Code config key (e.g. diffAutoFocus: false) that the plugin reads and uses to pass focusEditor=false to

the IDE's file-open API.

  1. Respect the existing prefersReducedMotion setting from ~/.claude/settings.json as a signal to suppress focus

changes as well as animations — this already has accessibility precedent in the schema.

Alternative Solutions

Alternative Solutions

  • Set diff_tool to terminal via /config. Works but eliminates inline IDE diffs entirely, which is a significant

ergonomics downgrade. The accessibility fix shouldn't require giving up the feature.

Priority

High - Significant impact on productivity

Feature Category

Configuration and settings

Use Case Example

While reviewing output in one tab, Claude edits a file in another part of the project. The JetBrains plugin yanks the
editor to that file's diff view, breaking my concentration and forcing me to navigate back to where I was. With many
edits in sequence, the effect compounds.

Additional Context

Related Issues

  • #25018 — same request, VS Code scope
  • #42032 — same request, VS Code scope
  • #32726 — adjacent (VS Code panel focus-stealing)
  • #43484 — closed as duplicate; not the same behavior fixed

Environment

  • Claude Code: v2.1.114
  • JetBrains plugin: Claude Code [Beta] v0.1.14-beta
  • OS: macOS (Darwin 25.4.0)

View original on GitHub ↗

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