[FEATURE] Add configuration option to always show diffs in VS Code editor instead of snippets in the UI
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
- Per-session command: Add a command palette option
Claude Code: Always Open Diffs in Editorthat applies to the current session - 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
- 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
8 Comments
Yes please!
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
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.
+1 for this. The current auto-detection doesn't always make the right choice, especially for:
As a workaround, you can view diffs retrospectively from the history:
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:
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.
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.
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.