I have recently noticed an issue where, when trying to apply changes generated in the chat’s last message, the “apply” button doesn’t implement those changes but instead applies ones from previous messages. This is highly inconvenient and disruptive to work. Please fix this as soon as possible!
It’s not all the time, but often.
Example:
I’m trying to apply this change:

But it only applies the change from the previous message:

I’m on macbook pro 2019 i9
macos Sonoma 14.5 (23F79)
Version: 0.44.11
VSCode Version: 1.93.1
Commit: fe574d0820377383143b2ea26aa6ae28b3425220
Date: 2025-01-03T07:59:06.361Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.5.0
Hey, can you show a screenshot of where you are clicking apply?
The apply button should only apply the code changes in that suggestion, and should definitely not be applying changes from older messages!
Hey
Sure! I mean code block’s ‘Apply’ button in chat
And when this runs, it applies different code to the suggestion below it?
Yes, exactly! Let me be more specific about the behavior I’m observing. When I click the ‘Apply’ button on a code block, it appears to apply changes from the previous code block in our chat conversation. For instance, if I’m looking at suggestion #6 and click its ‘Apply’ button, the system actually applies the changes from suggestion #5 instead.
If you start a new composer, and ask the same prompt, does the same behavior still occur?
it plans one thing, apply other, and also delete things that are not linked to the problem/solution. Also, some time it says that will remove some part not used of the code and never removes on the apply. Happens to me in composer, but also when applying from chat. (windows 11, using claude)