How does @file share file as context and copy file content differ in Cursor?

Cursor is asking me to share files, so I did. I selected and added them to the context. That was not what cursor needed. It needed the content of the files. So I copied the files from the Explorer to the chat. That was also not what it needed. It needed the actual content of the files copied. I found it very weird.

I read: Cursor - Build Software Faster but I couldn’t find an answer to my question.

Ok, I just had this issue too. I solved it by going onto each file, then right clicking, then hitting “Add files to composer chat” for each and every file in the explorer.

Then “send” it by putting any text in and hitting go.

Hey, we do have a bug right now where @ing a file in a very long composer session can cause the LLM to not be able see them, but you can confirm this by creating a new Composer session and attempting to @ the file there.