Skip to content
FunCoding

Search

Search docs, Skills and MCP

编辑器与上下文

使用 Tab、Inline Edit 与 @ mentions,让小改动和上下文选择更直接。

This page has not been translated into English yet. The original Chinese version is shown below.

Cursor 提供不同粒度的编辑入口:Tab 预测下一步输入,Inline Edit 改选区,Agent 处理跨文件任务。先按改动范围选择入口,再加入必要上下文。

  • Tab 补全:整段、逐词接受与跨文件跳转。
  • Inline Edit:选区修改与问答。
  • 上下文提及:文件、终端、聊天、diff 与浏览器。
  • 文件忽略:排除 AI 文件上下文及其工具边界。
  • 搜索:Instant Grep、Explore 与多根工作区。

只想理解代码时使用Ask,大改动先看Plan Mode。

In this section