Model is unaware of manual editing of diff viewer in IDE
When using Claude Code in an IDE (i.e., inside a VSCode terminal with the IDE integration), Claude Code will propose changes via a diff viewer tab in vscode.
While this is a nice integration, the developer experience is janky when trying to manually tweak changes before accepting them.
---
Currently, there is no way to make a change to the proposed changes by Claude Code in the diff viewer without Claude Code missing the change.
Specifically, Claude Code will open a diff tab and the user can press "accept proposed changes", which will trigger the same thing as typing 1 in the terminal window ("Yes" to "Do you want to make this edit to <file>?").
If, however, the user edited the proposed change (e.g., removed a comment proposed by claude code, but wants to accept all the other changes), and then presses "accept proposed changes", they will be left with _only_ the changes that claude code proposed -- and will have to save the file _again_, and then tell claude code that they made changes (to get the model to read the file _again_) before proceeding.
Effectively, the developer must choose "No, and tell Claude what to do differently", and tell claude to make the same change that they otherwise wanted to (to get the diff viewer to work nicely).
---
If the developer could edit the proposed changes in the diff viewer, then press the "Accept proposed changes" button in the IDE, and _both_ the claude changes _and_ the developer manual edits to the claude changes were accepted at once, this experience would be more pleasant.
This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗