[FEATURE] Add configuration option to always show diffs in VS Code editor instead of snippets in the UI

Status Closed — not planned
Maintainer reply None cached
Activity 8 comments · opened Nov 11, 2025 · closed Jan 17, 2026

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 Claude Code VS Code extension, small file changes are displayed as inline snippets in the extension's UI panel, while large changes open in VS Code's diff editor view. This behavior is determined automatically by Claude Code with no user control, forcing users to accept whatever display method Claude chooses regardless of their workflow preferences.

Proposed Solution

Add a VS Code extension setting to control diff display behavior:

{
  "claudeCode.diffDisplay": "always-editor"
}

Or in VS Code settings UI:

  • Claude Code: Diff Display Mode
  • Options: auto (default), always-editor, always-snippet

This setting would allow users to force all file changes to open in VS Code's diff editor, regardless of change size.

Alternative Solutions

  1. Per-session command: Add a command palette option Claude Code: Always Open Diffs in Editor that applies to the current session
  2. Context menu option: Right-click on a snippet in the UI and select "Open in Editor" to view that specific change in the diff editor
  3. Quick action button: Add an "Open in Editor" button next to snippet previews in the UI

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

As a developer, I prefer reviewing all code changes in the VS Code editor where I have:

  • Full syntax highlighting and language features
  • Better context (seeing surrounding code)
  • Familiar navigation shortcuts and editing capabilities
  • VS Code's native diff tools for accepting/rejecting changes
  • Consistent workflow regardless of change size
  • Ability to easily tweak changes before accepting

The current snippet view in the extension UI works well for quick reviews, but for my workflow, I always want the full editor experience with all my configured editor features available.

Additional Context

  • Platform: VS Code Extension (not terminal)
  • Related issues: #1317, #5764, #8224 (diff editor bugs), #2502 (broader preview workflow improvements)
  • Current workaround: None available - must accept whatever display method Claude Code chooses

View original on GitHub ↗

8 Comments

psanchezmolina · 9 months ago

Yes please!

github-actions[bot] · 8 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

tomahawk810 · 8 months ago
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

The issue is still occurring

alsage13 · 8 months ago

Yes yes yes please! This has become a big issue for me the past few days and it's really disrupting my workflow. It used to just show minor changes in the inline diff view and major ones in the editor. Now, long, complex changes are still showing up in the chat and it's different to track.

yashagldit · 8 months ago

+1 for this. The current auto-detection doesn't always make the right choice, especially for:

  • Large files (shows snippet when you want full diff)
  • Small changes (shows full file when snippet would be better)

As a workaround, you can view diffs retrospectively from the history:

bash
# Extract diffs from history
cat ~/.claude/projects/*/history.jsonl | \
  jq -r 'select(.content[].name == "edit_file") | .content[].input'

I added a diff viewer to my extension that shows all file changes in GitHub-style format: https://marketplace.visualstudio.com/items?itemName=agsoft.claude-history-viewer

Features:

  • Side-by-side diff view
  • One-click apply/revert
  • Diff history timeline
github-actions[bot] · 7 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

marcindulak · 7 months ago

This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.