Cursor stopped suggesting file/function so ide can't paste

I don’t know if this has been addressed by someone already, but I don’t see a search feature . for the last week, I cant get cursor chat to suggest file/function for placing code it generates. it gives me a fresh codeblock that doesn’t have the option for “apply” which used to refactor a function and make modifications to it. either i’ve turned something off or the prompt is not getting through. sometimes in the past i would prompt a model and it would do it, but now even if i prompt, “please specify the script and function you’re targetting so the cursor ide can allow me to apply it” it’ll tell me it’s done it but somehow cursor is not picking it up?

Hi @camil0 ,

It might help someone resolve your issue faster if you provide the following info:

Are you using Ctrl + L or K or I?

Can you copy/paste your system info from:

Cursor > Help > About

Also, can you clarify what this means?

I cant get cursor chat to suggest file/function for placing code it generates.

Does that just mean the ‘Apply’ button is not showing for you in Ctrl + L?

FYI, the search functionality is accessed via the ‘magnifying glass’ icon.

I am on mobile device now, so it’s at top right of page.

Thanks for the follow-up. I see the search button here in my phone. I couldn’t find it anywhere on my desktop! Yes, I’m not seeing an option to apply code. In the chat window over on the right which is where I have it, I will will ask it to address something with a function. In the past the code block it would give me would have an apply button which when I clicked it, a model would work through the code and make the necessary changes. Then it started getting less and less frequent where I would see the supply button and I would ask it to specify the file and the function and somehow it knew that if it did this I can get the apply button back. But then that stopped working as well. I’m assuming it does some sort of json output and the IDE parses it. I don’t know. When I’m at my desktop tomorrow, I’ll see what you’re talking about with control. L. (?) Maybe I’m doing it wrong. Most likely that’s the case given that I can’t even find a search magnifying glass -)

1 Like

Just adding for reference, I did a search for ‘Apply not working’ and here are some of the results - no definitive solutions I could find, but this sort of behaviour does seem to be resolved over time and with new releases etc:

Perhaps when you get back to your desktop, you could share a screenshot of the undesired behaviour (with any private info redacted ofcourse).

Oh and also copy/paste system info from:

Cursor > Help > About

Screenshot 2024-08-17 111357
notice how i have copy and the “play” button. in this case, however the play button is also rarely showing its usually jsut a copy. this doesn’t matter what codebase i’m using and i have verified it knows what file i’m working in. as a test i just tried it on my laptop vs. my desktopwith different scripts and saw the same behavior. in the past, i’ve seen an “apply” button and I can apply to either the entire file, or a certain function or a certain point within a function. in this case many times it doesn’t g ive me the “play” button . this was the main reason i used cursor . heres teh version info: Here’s the text from the screenshot:

Cursor

Version: 0.39.5
VSCode Version: 1.91.1
Commit: 274e2e5d572bcdb99449183635a0f94c7b9f54d0
Date: 2024-08-14T15:49:16.270Z (3 days ago)
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.26120

as of today mine seems to be working again after about a week of not working. who knows…