@/
and point to the file you need help with.
When you type @/
in the chat, Cline shows your workspace files. Navigate through folders, select the file you want, and it’s instantly available to Cline - complete with all imports, related functions, and surrounding context.
I use file mentions constantly when debugging. Instead of trying to figure out which parts of my code to copy over, I just reference the file directly:
@/
and Cline gets the complete picture.
Next time you’re stuck on a problem, try using file mentions instead of copying code. You’ll save time and get better answers because Cline has all the context it needs.
@/path/to/file
pattern in your text