Cursor removing file on every single reject if the file was originally created by AI

If a file was originally created by AI, if I reject a future change to it, it removes the file. This sometimes happens even when using the Undo shortcut (Cmd+Z), which is extremely frustrating. My entire workflow is negatively impacted and I’m losing some of the speed improvements of using Cursor.

Why is this happening? Can this be fixed? This is a critical issue and we’re looking for a replacement for Cursor for our team.

3 Likes

I agree with you same happening to me right now, the exact same thing that you have described, when pressed ctrl z it is deleting the files and when I reject made changes it also does it.

And also please fix it, it makes your software so unusable and frustrating when I have a deadline to meet

this is such a newbie mistake

please fix cursor team, like, I reject a change on the file, and the tab suddenly just closed and my file got deleted, like… I really speechless

same problem here…

btw, you can go to folder where that file was , click ctrl z and the file will be restored

I’ve always had to create the new files manually so they go into the directory they should be in, accoording to my own design guidelines, of which the Ai is not aware. Don’t let the Ai run the show, or you will end up with piles of spagetti code

No, I am tired doing that

Same here! I was like Where TF did my file go? (as it was a few edits after the creation of the file via AI)

I have the same issue.

been hearing this a lot lately and totally understand that this is frustrating. we have a fix coming out for this in our next release around ~1 week from now

2 Likes

I also have the same issue, every time I working on Cursor irrespective whether I gave specific prompts it just changes everything, delete and move stuff like someone is working on the background. I hear a lot about cline and WidnSurf but not sure whether one should trust. Please share in case you find the alternatives