claude-code - 💡(How to fix) Fix [FEATURE] Desktop app: setting to auto-expand Edit/Write diffs by default

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Feature Request

In the Claude Code desktop app, Edit/Write tool calls render with the diff collapsed by default. Reviewing a conversation that contains multiple edits requires clicking each diff card individually to see what changed.

Add a setting (e.g. desktop.diffs.expandedByDefault: true in ~/.claude/settings.json, or a toggle in the desktop app preferences UI) that renders every Edit/Write diff in the expanded state from the start.

Use Case

When reviewing a session — either live as Claude works, or scrolling back through a completed conversation — I want to see what was changed without clicking. The collapsed-by-default behavior optimizes for vertical density at the cost of every-diff being a manual interaction. For users who care more about reviewing changes than skimming a long transcript, the inverse default is more useful.

This is especially noticeable in sessions with many small edits (refactors, fixups, codegen passes) where the cost of expanding each one adds up quickly.

Suggested Behavior

  • A user preference (settings.json key and/or preferences UI toggle) that defaults all Edit/Write diff cards to expanded state on render.
  • Should apply to both pending approval prompts and completed tool results.
  • Individual diffs remain manually collapsible/expandable as today; the setting only controls the initial state.

Prior Art / Related Issues

  • #48744 (open) — "Add 'Expand All' / 'Collapse All' buttons for diffs in the desktop app." Adjacent but distinct: that's a manual one-shot action, this is a persistent default.
  • #33562 (closed) — "Option to expand code diffs by default." Exact-title match for this request, but auto-closed as a duplicate of #33412 (which is actually about suppressing diff output in the terminal — the opposite direction). The dedup was incorrect; the request was never properly addressed.

Environment

  • Claude Code version: 2.1.145
  • OS: macOS 15.6.1 (Darwin 24.6.0)
  • Surface: Claude Code desktop app

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Desktop app: setting to auto-expand Edit/Write diffs by default