Reference files and folders as context in Chat and Inline Edit
@Files & Folders
followed by the filename to search. You can also drag files from the sidebar directly into Agent to add as context.
@Folders
, Cursor provides the folder path and overview of its contents to help the AI understand what’s available.
/
to navigate deeper and see all subfolders.