@/
followed by a folder path ending with a slash, and Sixth gets access to the folder structure and its contents.
When you type @/
in chat, Sixth shows your workspace files and folders. Navigate to the folder you want, make sure to include the trailing slash, and Sixth will see the folder’s structure and contents.
I use folder mentions when I need help understanding or refactoring a whole section of my codebase. Instead of referencing individual files one by one, I can just point to the entire directory:
@/path/to/folder/
pattern (with trailing slash) in your text
fs.readdir()
to get a list of all files and subdirectories in that folder