Cline works best when it has the right context, not just more context.Documentation Index
Fetch the complete documentation index at: https://docs.cline.bot/llms.txt
Use this file to discover all available pages before exploring further.
@ mentions let you pull in the files and folders that matter for your task — no copying, no pasting, no context switching.
You can add context two ways:
- Type
@in the chat input and select a file or folder - Click the + button in the bottom left to browse files or images
Quick Reference
| What you want | Syntax | Example |
|---|---|---|
| File content | @/path/to/file | @/src/index.ts |
| Folder contents | @/path/to/folder/ | @/src/components/ |
git log, fetch the URL, or read the output itself.
File Mentions
Reference any file with@/path/to/file. Cline sees the complete file content, including imports, related functions, and surrounding context.
Folder Mentions
Reference entire directories with@/path/to/folder/ (note the trailing slash). Cline sees the folder structure and all file contents.
In multi-root workspaces, prefix paths with the workspace name:
@workspace-name:/path/to/fileDrag & Drop
Drag files directly into the chat input to add them to your conversation.In VS Code, hold Shift while dragging files into the chat input.
Supported File Types
Cline supports text files from your workspace, plus images, PDFs, CSVs, and Excel files from your file system.Images require a multimodal model. Check the model selector to see which models support image inputs.
Context Menu Commands
Right-click on selected code to access Cline without typing. This is the fastest way to get help with specific code since it automatically includes the selected text and its file location as context.Code Editor Commands
| Command | When to Use |
|---|---|
| Add to Cline | Ask questions about code, get suggestions, or start a conversation with specific code as context |
| Fix with Cline | Quick fixes for errors, bugs, or issues in the selected code |
| Explain with Cline | Understand unfamiliar code, complex logic, or code you’re reviewing |
| Improve with Cline | Get refactoring suggestions, performance improvements, or cleaner implementations |
Terminal Commands
Right-click in the terminal to “Add to Cline” and get help with:- Build errors and failed commands
- Test failures and stack traces
- Configuration issues
- Any terminal output you need help interpreting

