This is still happening
Exactly!
Can confirm, still happening and weâre looking for alternatives because of it
This is definitely a bug on our end, will lift this internally again
Whenever you encounter this, could you please do Cmd+Shift+P > âReport AI Usageâ? This way weâll be able to debug it!
Iâm definitely looking at alternatives based on the bugginess of the latest update. The deleted files on rejection is a catastrophic bug and I have no idea how it made it through QA. Any ETA on when this will be resolved?
I recommended avery credible alternative in the github copilot vs cursor thread which is much better than both. You can check it out if you want
The bugs keep coming and itâs not looking good⌠in addition to cursor just deleting your files if you ârejectâ a proposed change, it also completely updates the WRONG FILE if you try and apply changes to a newly created file. Essentially if you add a new file thatâs proposed, no code is actually added when created, but when you âApplyâ the code changes for the new file from the chat interface, it applies the changes to whatever file you were working on before (even if that file isnât the selected tab and youâre focused on the newly created file).
Iâm almost certain this is due to cursor using VS Codeâs API incorrectly. File management is a huge mess with Cursor at the moment.
For those looking to restore the deleted file
Same. Seems to happen consistently if I:
- open a file
- apply a change
- accept
- save
- ctrl + z to get back to the old file state
- click the ârejectâ button
- entire file is deleted from file system
OSX Sonoma 14.7 on an Apple M2 Pro Macbook Pro
Cursor Version: 0.42.3
VSCode Version: 1.93.1
This sounds like the CTRL+Z brings all the file contents into actionable context, thus when rejeting, cursors logic thinks that all lines returned to context are rejected, in this case, the whole file. Thus deleting it.
Can you check what your Cursor Yolo BlackList is for commands (I dont know if this affect ALL agents when Yolo is enable - or if it will even respect the setting:
was this file originally created by composer / chat? if so then when you reject, to clean up your state and not leave a lingering empty file, we delete it
@ericzakariasson This continues to be a major problem for my teams and they are starting to look into competing IDEs (with the understanding that all of these tools are evolving rapidly and have growing pains).
I know the Cursor team is probably swamped right now and have many other priorities, but it would be helpful to at least have a sense of where in Cursorâs bug priority list this particular issue sits (and ideally, when the team hopes to tackle it). Is there any info you can share on that? This would help my team decide whether to stick with Cursor for now or try other options. Thanks!
we want to fix this! not sure if you saw baltaâs reply here
was this file originally created by composer / chat? if so then when you reject, to clean up your state and not leave a lingering empty file, we delete it
btw, are you on latest version?
Yes, I saw baltaâs reply, which was helpful but doesnât cover the ctrl/cmd-z issue (as far as I understand). Yep, on the latest version.
i hear you, it sounds annoying! could you please share a video snippet of the bug youâre seeing? would help a lot!
i havenât figured out how to consistently reproduce it, but will share when i have