[FEATURE] Open (Working Tree) window for file upon acceptance of prompt to accept changes to file
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 suggesting changes to a file, Claude Code will open a temporary, diff-like, * [Claude Code] window containing the suggested changes.
If the user wants to fine tune the suggestion, typing into this [CC] window will confuse/disorient Claude, and cause it to reassess in light of the new information.
Proposed Solution
The requested feature is to provide an option or configuration that would allow Claude Code to open the (Working Tree) view of a file whenever its [CC] changes are accepted, so that fine-tuning adjustments can be made to Claude Code's suggestions without causing it to re-run the last prompt.
Alternative Solutions
_No response_
Priority
Low - Nice to have
Feature Category
Configuration and settings
Use Case Example
When working with Claude Code in an IDE with no file windows currently open, Claude will prompt me to accept suggested changes to a file while simultaneously opening a * [Claude Code] window, which exhibits behavior analogous to the (Working Tree) window from the Git extension (removed on the left, added on the right, red/green colorization, etc). Edits to this window will trigger Claude Code to reassess/reorient given the changes made.
When the changes Claude Code suggests are accepted, this '[Claude Code]' window automatically closes. However, if my goal is to accept Claude's changes, but then make some fine-tuning adjustments, and I don't want to confuse Claude by making the changes to the [Claude Code] window, what I would do is accept the [CC] changes (triggering that window to close) then open Git's (Working Tree) window for the file, to make my changes.
Claude's suggestions are great, for the most part, but if I want to make a change as innocuous as adding a line-break for stylistic purposes, I would want to avoid Claude recomputing the suggestion.
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗