Chat stopped auto detecting files to apply changes to

It worked properly yesterday. But today Claude in long context mode (haven’t tested in other scenarios) suggests a file name and then code changes, but there is no file name at the top of any code suggestion, so it’s then necessary to perform 3 clicks instead of one as before. Earlier we would just click ‘apply’ and it would instantly apply. But now it’s necessary to first click the file name in the chat, then hit apply and then hit confirm.

Update: seems to be working correctly again as of Aug 29th.

In the chat interface, many times the edits are recommended, but when I click on the Apply, it does not know which file the edits must be applied to.

No file to apply to.

still the error persist. How to fix this?

Theres a lot of issues going on today, not sure whats happening.

I’m having the same issue with the indexing of files as well. Sometimes when I try to add files to the context, they don’t show up at all.

And the sonnet3.5 is being weird, I wonder if that have something to do with it.

I’ve talked to Cursor team and they are aware of the bug with Apply not autodetecting the file. They said they are investigating this and will try to find a solution

@fun_strange

Thanks for the update.

How do you guys manage your backlog? I’ve seen multiple tickets marked as ‘solved’ yet these clearly aren’t.

Polite suggestion, it’d be helpful to provide an open issue link so we can track and follow along, else we think things are sorted, only to realise they are not, and open a duplicate ticket - which helps no one (including your team).

2 Likes

I agree, a list of reported tickets would be very helpful

1 Like

is it the same bug ( Why does the updated code cannot be applied to the right lines of the file, but always prepend the file? - General - Cursor Community Forum)

Seems like this is a different one. This one is about AI not predicting the file name correctly (which results in Apply being slow), and the one in the link (which I’ve seen reported a lot lately) is about Apply incorrectly prepending AI suggestions to existing code instead of modifying the existing code

This issue is still not solved I’m facing the same problem also The chat is not recognizing my code base. Didn’t have this issue until I upgraded to pro. Not sure why that made a difference but maybe it was a coincidence because those things are real.

Yeah, it was probably a coincidence. This works randomly for me, and occasionally it would autodetect the file correctly many times in a row, and occasionally it wouldn’t for some reason

This is still a problem - any update? (late nov 2024)