[KongchangAI]
Concept@-Mentions / At Mentions / @引用

@-Mentions

A mechanism in AI programming tools for precisely injecting context. By typing the @ symbol in the chat box, users can designate objects such as files, folders, terminals or branch diffs, focusing the agent on a specific scope instead of relying on autonomous retrieval.

Timeline (last 90 days)

Oct 14

In Cursor, after typing @ and specifying a single file (such as @auth.ts), the Agent will only work around this file.

Unverified50%
Oct 14

Cursor's @-Mentions are essentially context injection, directly embedding the content of the referenced object into the prompt sent to the model, existing as high-priority context.

Unverified50%
Oct 14

In addition to files and folders, Cursor's @-Mentions also support referencing terminal output and branch differences.

Unverified50%
Oct 14

When referencing a folder, the contents of the files in the directory are injected into the context as a whole, and the larger the referenced directory, the more tokens are injected.

Unverified50%
Oct 14

The criterion for deciding whether to use @-Mentions for manual specification is: whether you can say roughly which file or module the problem is in; if you can, use @ to narrow the scope, and if you cannot, let the Agent search freely.

Unverified50%

All Facts (5)

Source Articles