[FEATURE] Ability to edit the suggestion in the VS Code editor
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
One of the main reason I use the VS Code extension is that I find it much easier to read the diff suggested by Claude directly in the diff editor tab of VS code rather than a plain diff in the terminal.
Whenever Claude asks me to approve a suggestion, it is possible to edit the code in the editor tab, but these edits are ignored once I approve the suggestion. I would love to be able edit the code directly rather than reject and describe what I want, as sometimes the edit is just a few characters and it takes much more typing to describe what I want rather than do it myself. I could also
Proposed Solution
I would love to be able edit the code directly rather than reject and describe what I want. Maybe the agent could apply the edited suggestion and inform the LLM, or could do the equivalent of "reject and explain the exact diff that the user wants". I don't know enough about the agent internals and LLMs to understand precisely the challenges, but the ideal behavior would be that I edit the suggestion and the suggestion is applied and part of the context.
Alternative Solutions
I could reject and describe what I want, but sometimes the edit is just a few characters and it takes much more typing to describe what's wrong or what I want rather than do it myself.
I could accept and make the edit myself, but the context won't be aware of it until the agent re-read the file or I mention it, which may be difficult to insert in a conversation where the agent is chaining suggestions. In some cases, the edit influences the rest of the suggestions so the agent must be aware that it happened.
#61794 would help, as it would possibly make it possible to describe what I want with less context, and maybe it would make it easier to implement the feature I describe here?
Priority
Medium - Would be very helpful
Feature Category
Other
Use Case Example
I have describe a feature to Claude, which requires many edits that I approve or reject one by one. In the middle of the chain of suggestions, one of them modifies a few lines of code in different places of the file and also add / modifies some comments. I am not happy with the wording of one comment, I need to reject the whole edit and describe precisely what the comment should be. It would be much easier to just edit the suggestion in the editor.
Additional Context
_No response_