Learning resourcesReviewed · Cline

Cline documentation: Adding Context with @ mentions and drag and drop

This is a documentation page for developers who use the Cline AI coding assistant, teaching them how to bring files, folders, images and selected code into a chat; its main catch is that it describes the interface only and says nothing about costs, size limits or data handling. It covers @/path file mentions, @/folder/ mentions, drag and drop, supported file types, right-click commands in the editor and terminal, and AI-generated commit messages.

Researched 13 Nov 2026

In short.

This is a short documentation page from Cline that teaches developers how to give the Cline coding assistant the right files, folders, images and code selections as context, and its main catch is that it is a feature reference only, with no information on cost, context limits, privacy or setup. The page describes @ mentions (@/path/to/file and @/path/to/folder/), the + button, drag and drop (Shift-drag in VS Code), supported file types (workspace text files plus images, PDFs, CSVs and Excel files from the file system), editor context-menu commands (Add to, Fix with, Explain with and Improve with Cline), terminal right-click help and a Generate Commit Message action in the Source Control panel. Nothing was executed or tested; every statement below comes from the one captured page.

Researched and written by an AI model and checked by a second AI model. How it works

The report covers exactly one page: [https://docs.cline.bot/core-workflows/working-with-files.md], captured in full (3605 bytes). Pages linked from it, including the documentation index at [https://docs.cline.bot/llms.txt] and any other Cline pages, were not captured and are not assessed. The page includes no licence file or notice, so rights are unknown. No Cline feature, command or syntax described on the page was run or tested, so every behaviour statement is the documentation's own claim.

The overview

What this resource is

This is a single documentation page titled Adding Context, served at [https://docs.cline.bot/core-workflows/working-with-files.md]. It belongs to the documentation for Cline, an AI coding assistant. The page is hosted on Mintlify, a documentation platform, according to its footer. The URL path (core-workflows/working-with-files) suggests it is part of a core workflows section, but the page itself only shows its own title and a one-line description: Use @ mentions and drag and drop to bring files into your conversations.

The page is a guide to one feature area of the Cline product rather than the product itself. It does not name an author, a publication date or a Cline version.

Overall assessment

The page is a compact, concrete feature reference. It gives exact syntax, a quick-reference table, two worked prompts, platform notes and a list of right-click commands. A reader can follow it without other material to learn how to attach context in Cline's chat.

Its gaps are equally clear. It does not state costs, limits on file or folder size, how much content is sent to the model, where that content is processed, or how Cline's own actions (such as running git log or fetching a URL) are approved. Those matter before pointing the tool at a large or sensitive codebase, and the page does not answer them. This assessment rests only on the captured text; the described features were not run.

Who it is for

The page is for people who already use, or are about to use, Cline inside an editor. Beginners get plain explanations such as typing @ in the chat input and choosing a file, or clicking the + button in the bottom left. Experienced developers get the exact path syntax, the trailing-slash rule for folders, the multi-root workspace prefix and the note that images need a multimodal model.

It is not an installation guide or a general introduction to Cline, so someone who has not yet installed or configured the assistant will need other material. Which editors besides VS Code are supported is not stated on this page.

What it teaches Cline users to do

File mentions: @/path/to/file, for example @/src/index.ts. The page says Cline sees the complete file content, including imports, related functions and surrounding context.

Folder mentions: @/path/to/folder/ with a trailing slash, for example @/src/components/. The page says Cline sees the folder structure and all file contents. In multi-root workspaces the path is prefixed with the workspace name, as in @workspace-name:/path/to/file.

Other ways to add context: the + button to browse files or images, and drag and drop into the chat input. Dragging workspace files automatically creates file mentions, and files can also be dragged in from Finder or File Explorer. In VS Code, Shift must be held while dragging.

Supported types: text files from the workspace, plus images, PDFs, CSVs and Excel files from the file system.

Context menu commands in the code editor: Add to Cline, Fix with Cline, Explain with Cline and Improve with Cline. Fix with Cline also appears in the lightbulb Quick Fix menu. In the terminal, right-click and Add to Cline for build errors, failed commands, test failures and stack traces. In the Source Control panel, Generate Commit Message writes a message from staged changes following conventional commit patterns.

For git history, web pages and terminal errors, the page tells users to describe what they need; Cline will run git log, fetch the URL or read the output.

Using it

Requirements

The page states one explicit requirement: images need a multimodal model, and the model selector shows which models support image input. It also notes that Shift must be held when dragging files in VS Code.

Not stated: the Cline version needed for each feature, which editors or operating systems are supported beyond mentions of VS Code, Finder and File Explorer, which model providers are available, and whether an account or API key is needed. These are unknown from this page.

How it works

The page describes a user-driven mechanism. Typing @ in the chat input opens a selector for files and folders, and the chosen path becomes a mention in the message. Cline then has the referenced file or folder content as context for that conversation. The page frames the goal as the right context, not more context.

For right-click commands, the selected text and its file location are included automatically as context. For git history, web pages and terminal errors, the page tells users to describe what they need; Cline will run git log, fetch the URL or read the output. The page does not explain how those actions are approved or limited, how folder content is truncated if large, or how the content reaches the model.

Setup

The page contains no installation or configuration steps. It assumes Cline is already available in the editor chat. The only interface steps it gives are typing @ in the chat input, clicking the + button in the bottom left, dragging files into the chat input (with Shift in VS Code), right-clicking selected code or terminal text, and using the Source Control panel. How to install Cline, choose a model or sign in is not covered and is unknown from this evidence.

Example

The page gives two sample prompts. For a file: Can you refactor the error handling in @/src/api/users.ts? For a folder: Explain how the components in @/src/components/auth/ work together.

A practical reading of the page: use a file mention when the task is about one file, use a folder mention (with the trailing slash) when the question spans several files, and use the right-click Fix with Cline command when you want the selected code and its location sent automatically. These examples come straight from the documentation; they were not run for this report.

Assessment & evidence

Limitations

The page does not state any limits on file size, folder size, number of mentions or context window, nor what happens when a mentioned folder is very large. It says Cline sees all file contents of a mentioned folder but gives no exclusions such as ignored files or secrets.

It does not discuss privacy, which provider receives the content, or approvals for commands Cline runs on its own. It names VS Code only for the Shift-drag note, so behaviour in other editors is unknown. It covers only text files from the workspace plus images, PDFs, CSVs and Excel files from the file system; other formats are not mentioned. Image input depends on the selected model being multimodal. No version or date is given, so features may differ between releases.

How the context options fit together

The page's guiding idea is that Cline works best with the right context, not just more context, and each method it describes covers a different scope. A file mention such as @/src/api/users.ts gives Cline context from one individual file: the page says Cline sees the complete file content, including imports, related functions and surrounding context. That suits a task focused on a single file, such as the documented request to refactor the error handling in one module.

A folder mention such as @/src/components/auth/, written with a trailing slash, gives Cline directory context: the page says Cline sees the folder structure and all file contents, which suits questions about how several files work together. The right-click editor commands (Add to Cline, Fix with Cline, Explain with Cline and Improve with Cline) automatically include the selected code and its file location as context, so the user does not need to type a path; the page calls this the fastest way to get help with specific code. The page does not explain how Cline handles this content once it is added, so the trade-off between a narrow file mention and a broad folder mention in a large project is unknown.

Alternatives

The page names no alternatives and makes no comparisons, so no ranking can be drawn from it. Other AI coding assistants may offer their own ways to attach files or code to a chat, but this evidence says nothing about them, so no comparison is made here.

Within Cline's own documentation, the page's header points to a complete documentation index at [https://docs.cline.bot/llms.txt] for finding other pages. That index and any linked pages were not captured, so their content is not assessed.

Evidence base

The report rests on one captured file: the selected page at [https://docs.cline.bot/core-workflows/working-with-files.md] (3605 bytes, evidence_f833bb19-7924-4d76-b4a0-ccc97565288d). It is the whole page as captured, and it includes the introduction, quick-reference table, file and folder mentions, drag and drop, supported file types, and the code editor, terminal and Source Control commands.

There is no code, no repository, no changelog, no licence file and no independent test or review in the evidence. Everything is the vendor's own description of its feature.

Access & freshness

Costs

The page does not mention any price, subscription, free tier or usage charge for Cline or for the models it calls. Costs are unknown from this evidence. Because the page says whole files and whole folders can be put in context, readers should check separately how their chosen model provider bills for input size; the page itself gives no figures.

Rights and licence

The captured page shows no licence statement for the documentation text and no statement of reuse terms. The footer only says the documentation is built and hosted on Mintlify. Rights to copy, redistribute or adapt the page are therefore not established by this evidence. The page also does not say under what licence Cline itself is released. Treat both as unknown and read the Cline project's own terms before reusing text or relying on usage rights.

Freshness

The page was captured on 2026-11-13. It shows no publication date, last-updated date or version number, so how current it is relative to the latest Cline release is unknown. Interface labels such as the + button position, the Shift-drag note and the names of the context-menu commands could change in later releases; compare them with the installed version before relying on the exact wording.

Suggested next steps

If you use Cline, try the documented steps on a small, non-sensitive project first: type @ in the chat input, mention one file with @/path/to/file, then a small folder with a trailing slash. These steps come from the documentation and have not been run for this report.

Before mentioning large folders or private code, check separately your model provider's pricing, the context window of your chosen model, and how Cline sends content to it, because this page does not cover them. Check the Cline project's own terms for licence and reuse rights. If you plan to use images, confirm in the model selector that your model supports image input.

Evidence for this report

selected-page.txtselected · checked 2026-11-13