Cursor chat no longer applying code changes to correct files. Also bugs out and doesn't allow for the suggested code to be applied

As the title says. Cursor suggested what appears to be the correct file to edit & instead creates a new file entirely instead of targeting the correct file with the code.

Additionally, after random amounts of time, the “Apply” stops working all together and just re-types out the suggested code without applying it, in a endless loop (after each click).

The biggest issue is cursor was working ok yesterday and now its completely un-usable as a pro user.

I have re indexed my project, I have reinstalled, I have specifically told the model what file to apply to.

It seems to want to change the correct file by indicated the correct file name in the chat for changes, but ultimately just creates a new SRC folder and a new file outside of the project folder entirely.

4 Likes

Same issue. Started happening a few days ago. I’ve not updated anything, so assume something has got corrupted somewhere. Keen to get this sorted as it’s making life very hard right now!