Cursor Chat loses file context, does not automatically use current file context
- Cursor 0.41.3 no longer automatically sends the context of the current open file to Chat
- Mac OS 15.0 (24A335) M1 Max MBP
- Open Chat and then open a file in Cursor. Before updating Cursor the editor always automatically added the Current File as the context. Now, it usually is not set as the context.
Its happening to me as well it seems that the idexing is falling to a lot of users
Its happening to me as well it seems that the idexing is falling to a lot of users
Thanks for verifying its not just me lol. I'll probably cancel my subscription and switch back to VSCode + Continue if this doesn't get fixed soon. Getting the context setup correctly is an important feature Cursor offers over competitors but its been broken in the latest version.
I'm having a similar issue. I open a folder of code files. Select a file to edit. Open the side panel and ask a question about the current open file. It has the context correct for the question, but the answer with generated code goes to a "script" file and not my currently open file. If I click apply, it creates a new folder and new file in my current directory and applies the changes to that new blank file.
same issue
I'm having the reverse issue.
If I hit ⌘L in a file (not highlighting anything), it automatically uses the file as context, where I don't want it to.
Previously there was a setting I could toggle where it would use "no context by default", and it would only use the file as context if I submitted the chat with ⌥ + ↩.
Now this setting is gone, and it no longer shows the ⌥ + ↩ option in the chat window.
So every time I open chat with ⌘L, I need to manually x out the file from the chat window.
Was this setting/functionality depreciated? If so, can we bring it back?
This thread indicates that people have different desires for how they want their chat to interact with the context by default.
Version: 0.43.5
Same issue here — I always have to manually set the context.
A third-party GPT app sees the files I have open in Cursor (via tags), but Cursor doesn’t.
- Thanks, this functionality was added in one of the latest updates by the developers.
Same issue. Can someone please take a look at this?
work around for now, while you're on the target file press CTRL + A + L, this will bring cursor chat with current file as context
Same issue. Can someone please take a look at this?
Maybe cursor don't want to decide whether to set a new context or follow the last used one.
I use Command+N as an alternative solution.
Anyone still working on this? I'm surprised this bug hasn't been addressed yet.
Not sure why it stopped working, but creating a new chat fixed it for me.
I am having the same issue since a week now. I have cancelled on my subscription. can anyone suggest a good alternative.
While I am seeing this issue on Mac M1. My mac m2 pro is still away from this mess thing as I have not updated to the latest version.
