Files
Reference entire files in Chat and Inline Edit by selecting@Files & Folders
followed by the filename to search. You can also drag files from the sidebar directly into Agent to add as context.

Folders
When referencing folders using@Folders
, Cursor provides the folder path and overview of its contents to help the AI understand what’s available.
After selecting a folder, type
/
to navigate deeper and see all subfolders.
Full folder content
Enable Full Folder Content in settings. When enabled, Cursor attempts to include all files from the folder in the context.
Using full folder content with Max mode enabled
significantly increases request costs as more input tokens are consumed.