Sometimes I am unable to add a file to cursor chat. I’m attempting to do that by right clicking on the file in the left panel that displays all the files in the project, and clicking “add file to cursor chat”
Steps to Reproduce
It seems to be quite constant for me. “Add file to New Cursor Chat” seems to work reasonably reliably
Hey, thanks for the report. This is a known issue. The “Add file to Cursor Chat” right-click option can be unreliable, especially in Agent mode.
A couple of workarounds:
Type @ in the chat input and search for the file by name. This is more reliable than the context menu.
You can also drag files from the sidebar directly into the chat.
About adding the currently open file. Yes, just type @ in chat and start typing the filename. The file you have open usually shows up near the top of the suggestions list.