In order to investigate the major ongoing bug where Cursor appears to edit a file and then ends with “no changes made”, I downloaded 0.45 to see how it worked with the same prompt.
0.45 doesn’t end with “no changes made” but instead just stops and shows the edited file with an X next to it.
I asked it why it stopped and its response was revealing - it blamed its edit_file function call having issues:
“The edit_file function isn’t processing large-scale deletions correctly. When I try to replace the entire section from lines 765-1010 with a comment, the changes aren’t being applied.”
So we know now that is definitely an internal issue with Cursor’s prompting and editing functions behind the scenes and not an issue with Claude or the Cursor desktop software itself.
Cursor is now mostly useless for most edits when working with existing code, and I hope this is resolved soon. Crazy that it’s been lingering on for over a week.
UPDATE: Tried switching to chatGPT4o and instead of “no changes made” it just says “generating…” forever…it never times out.
i thought it was becuase it was trying to output to many tokens worth in one edit and couldnt finish, i usualy say, the file is too large to edit in one go, consider doing it in batches, works fine then
It’s not an issue of outputting too many tokens. It isn’t even related to the AI. Cursor broke their function that edits files so it can’t make the edits the AI tells it to make.
In my test case, I ask it to migrated about 250 lines of functionality from one file to its own file. It writes the 250 lines to the new file no problem, but when it comes to editing down the original file, it either does one of two things: 1) Only adds the reference to the new file without removing the migrated code from the old one, OR 2) Removes EVERYTHING (all 1800 lines) of code from the original and only keeps the reference to the new file.
It’s a disaster and it seems Cursor is having a tough time patching this one up. For a bug of this magnitude to be ongoing for over a week is pretty crazy. They haven’t even acknowledged it yet, that’s how bad it must be behind the scenes for these guys.
I might move onto a new solution. Very unprofessional to ignore paying customers and have bugs like this for weeks on end.
The cursor currently looks like a drunk programming. The devs are saying “it’s fixed” while everyone else is saying “it’s still a problem”.
It’s really complicated to use and it’s getting worse every day. I think they’re aware of this and should be fixing it, but they’d better speed up the process or they’ll lose ground to competitors.
In the meantime, I’m still using my pro plan without having generated my answers and having been refunded for an error.
same issues. everything was working (mostly) fine until yesterday. now the edit-file tool used to edit the code base fails completely, across LLM models with thinking and non thinking both not working. even the most basic and simple code updates are not propagated.
when debugging through prompts confirmed that it’s the edit-file tool capability failing.
I’m happy to provide examples if it makes this get solved quicker. But in my test case, the context is a 500-line text file (knowledge.md), and the main project file (2200 lines). The test example has it remove 280 lines of code from the main project file and insert it into its own file.
I’ve worked on this same scenario with MUCH larger code files and its always worked fine - code quality aside, it did what it was supposed to.
Additionally, when it fails to do it the first time, it tries alternative ways of editing the file in much smaller increments and that still doesn’t work, so I’m skeptical of it being a token issue.
First of all I’ve constantly problem with upgrade. Installing the last promoted upgrade make Cursors unable to start on windows 11 pro. I need to reinstall from scratch every time. Now I’ve choose to ignore the upgrade message for a while and see if some better e release will come.
Other this I’ve noted an increase difficult on the agent to apply changes promoted by ai in “large” file. In My last 2 week project I need to split python code in multiple smaller file to avoid issue on edit. I can’t go over 1k row to have some possibilities of working in a decent manner.
Not sure if it is related to the issue you experience. I just noticed it first about 20min ago. Was using Cursor with android studio and it was able to edit the code in the activities without problems. Suddenly it stopped and Claude 3.7 Sonnet replied that it can not edit files directly and I should copy and paste the changes. Not sure what went wrong. This feature was a real time saver. It used to run the gradlelew command to apply changes directly.