[November 26, 2026]
Cursor
Scope @ mentions: in Agent mode
Attach src/handlers/blog.rs and the template you care about, not @codebase first. Let the agent run tools; stay in the loop for irreversible steps.
────────────────────────────────────────────────────────
Scope @ mentions: in Agent mode
Tip: Two files beat the whole tree
Attach src/handlers/blog.rs and the template you care about, not @codebase first. Let the agent run tools; stay in the loop for irreversible steps.
@src/handlers/blog.rs @templates/base.html
Gotcha: Triple-attaching the same file (in agent mode)
Open tab plus @ plus retrieval duplicates the file and wastes the window. Plan-only text with a write tool still enabled will edit before you agree.
@blog.rs plus open tab plus search hit
Source: https://docs.cursor.com/agent/overview
────────────────────────────────────────────────────────
<-- back to posts