AI did not predict an origin file for this codeblock even when given the file name

I’m giving it the filename, it’s correctly updating the code, and yet it’s telling me AI can’t predict the origin file. This is preventing me from quickly applying multiple file edits since it has the same “Apply to file […]” file for each suggestion.

1 Like

I reported this to Cursor devs a few days ago. Had the same issue, and this results in apply being slow (when it correctly predicts the file, it starts applying and caching the applied code immediately, so pressing apply would usually be instant). Hopefully they can find a fix for this

Oh yes you are right! The few times it works (seems sporadic… does worse when the codebase is indexed) the “apply” was SO much faster!