I’ve been running into these problems over and over again and they are becoming a serious problem in my work:
Undoing all changes in an existing file (by clicking in top right corner) sometimes just deletes the whole file. That can’t be undone, i have to ask AI to recreate it from memory.
Sometimes the changes are applied immediately to files without me even being able to confirm them.
Undo All in the chat after stoping on ongoing chat, applied all the changes anyways!!!
It’s becoming so difficult to work with because of these issues potentially messing up dozens of files that then have to be undone manually.
Every release lately has been making the IDE worse. I’m not talking about the AI, which is great, but these other issues are HUGE problems and I don’t understand how they are getting through and not being fixed. They completely break my workflow and make me seriously consider a different editor.
Steps to Reproduce
have the ai suggest changes and then decide you don’t want all the changes in one file and POOF the file just gets deleted.
Reviewing changes made to a file by the agent only asks for confirmation for the imports and then everything else was auto applied
Stop the chat after it’s made a bunch of edits, and then click Undo All, and nothing gets undone, everything is applied, no confirmation is shown.
Operating System
MacOS
Version Information
2.5.17 but has been getting worse and worse over the last 2-3 versions
i hit the same file deletion thing a while back. if you undo a diff on a file the agent created (not one that already existed), it reverts by deleting the file entirely because from cursor’s perspective the “original state” was no file at all.
for existing files getting auto-applied though that’s new to me. are you on 2.5.17 stable or early access?
Hey, thanks for the detailed report. We’re aware of all three issues, so I’ll go through them one by one:
Undo deletes the whole file
This is one of the most common complaints right now. One important detail: if the file was created by the agent in the current session, Undo treats the “original state” as the file not existing, so it deletes it. This behavior for newly created files should be fixed in the next update. But if this happens to files that existed before you started the agent, that’s a different bug. Can you clarify which case you’re seeing?