clarke
January 2, 2025, 11:25pm
1
Describe the Bug
I recently updated Cursor. Prior to update I was able to paste code into the chat and it was treated as text. Now when I paste code into the chat, it is converted into Context (ie index.html lines 1-59) that seems to be invisible to the AI. This is blocking me from being able to “show” the chat the necessary code or files.
Steps to Reproduce
Paste any code into the chat, and type generic message related to the code context. The AI cannot see/read it.
Expected Behavior
I should be able to paste code (even if it’s converted to context) that the AI can read
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.44.10
VSCode Version: 1.93.1
Commit: ae296fde8115b123d8ce516cdfedf697fc577660
Date: 2025-01-02T09:19:53.599Z (14 hrs ago)
Additional Information
N/A
Does this stop you from using Cursor
Yes - Cursor is unusable
2 Likes
jake
January 4, 2025, 1:59am
2
It might be an issue with the codebase indexing.
Try resyncing the index in Settings
→ Features
.
Then restart Cursor and try again.
If that doesn’t work, see if manually @ing the file fixes the issue.
1 Like
I have this issue all the time on mac and windows. Sometimes it works for new chats or composers and then the functionality completely breaks and I have to copy and paste the code from every context into the prompt textbox.
I have the same issue sometimes.
When that happens, I just Ctrl Shift P
> Copy Relative Path of Active File
Then in Composer:
I paste the file/path/name.ext and tell it what line.
It doesn’t happen often, but when it does, this is what I do.
Also, the command @codebase
is no longer available, but you can literally tell it to scan the codebase.
That should resolve the issue for you.
Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 6.12.7-arch1-1
I had a similar problem a few days ago:
Describe the Bug
I’ve tried exiting and restarting Cursor as well…
Today, if I @ my files or copy-paste from the IDE, cursor can’t see them… or only see some of them. In particular, it can’t see a file called data.ts. I’ve asked Cursor to help debug itself… and it seems as confused as I am…
Steps to Reproduce
I’m not sure why it can’t see the particular file… I was using Cursor as I always do. It just refuses to see data.ts. I don’t have a .cursorignore.
Expected Behavior
For it to see th…
Hey, we’ve had a couple of reports of this, and I’ve raised it with the team to look into.
If you start a new, fresh composer, is it still unable to see the files like this?
emre
January 8, 2025, 2:48pm
8
At least in my case, the issue is resolved when a new chat window is opened, but the problem starts again later in the conversation.
clarke
January 8, 2025, 11:14pm
9
I ended up reverting to the previous version of Cursor, but I remember starting a fresh composer and still having the issue.
Same problem. It just keeps saying it doesn’t see any file or code attached. Which is annoying because it’s just chewing through my credits.
clarke
January 11, 2025, 7:23pm
11
I deleted the index and re-sync’d - seemed to work. @ing did not work on its own.
jake
January 12, 2025, 1:18am
12
Great to hear you solved it
over the last few days both the “+” add context button function and ctrl+shift+L of files hadn’t been working (context wasn’t seen by LLM)
issues started after a significant number of messages
a brute force workaround is unformatted paste (ctl+shift+v) but once I also did the settings resync and restart it seems to have fixed it as well