All code replaced with one blank line

Help. In Cursor, now when I ask Composer to make a change, it wants to replace the entire code contents with a single blank line.

It was working so well until yesterday.

This affects a project folder whose code I had messed up and so whose contents I have replaced with an earlier backup version.

Do I need to somehow reindex it?

I have the same exact issue with any of the models… This is bad and i’m paying for cursor…

Had you, like me, made significant/disruptive changes / needed to restore the codebase - or did the Cursor problem just suddenly surface in your work?

Hi I have not… it simply stopped working a few days ago with the new version…

Yes, same timeline with the update. Coincidental.

Hey, does this happen on every request, or just some?
A screenshot of the composer and window when this happens would be really useful!

I would add… at one point this morning, it would also struggling to actually render code in the editor… the blocks/placeholders were there, but the text wasn’t showing; like it was almost a memory problem.

I’m currently looking at manually refactoring the 2,500-line plugin over multiple sub-files. This may be alleviating the replacing-everything problem, but it’s still hitting a “The diff algorithm was stopped early (after 5000 ms.)” problem