Applying code doesn't work correctly on diffs #4478
Labels
area:inline-edit
Relates to the auto refactor feature
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
"needs-triage"
Before submitting your bug report
Relevant environment info
Description
When I ask the model to give me diff-formatted changes instead of producing entire files, Continue seems to apply them correctly. However, the "apply/reject" controls nor the bulk accept/reject all changes buttons don't appear on the Apply bar and in some cases applying the changes in the code editor bugs out (for example, you click on "Accept" but the change doesn't get accepted).
To reproduce
Write in a system message that the model should present differences in code to apply as diffs instead of entire files. Try to apply any bigger change (that involves more than one location).
Log output
Sometimes, I get the "cannot apply on closed editor" bug even though the editor is still open.
The text was updated successfully, but these errors were encountered: