# Cursor官方：功能介绍

> 介绍Cursor官方功能，覆盖从VS Code迁移、Tab智能补全、Chat代码库对话、Cmd K、上下文索引、高级模型与隐私故障排除等核心能力。

- 来源: https://www.waytoagi.com/kb/ai-coding/cursor-official-features-overview
- 飞书原文: https://waytoagi.feishu.cn/wiki/M0L8wbVdzi7wb1kfhq5chvQ5n8y
- 更新于: 2026-11-19

---

## 目录

### Get  start
[Migrate from VS Code 从 VS Code 迁移](https://waytoagi.feishu.cn/wiki/Sthrw2r9tiQ33rkwr0pcEodOnxd)
[Usage 用法](https://waytoagi.feishu.cn/wiki/SBrsw05oYim6gwk2FqPchfjbnge)
### TAB标签
[TAB-Overview 概述](https://waytoagi.feishu.cn/wiki/X1MZwopUwiAUUFk8M1dcHSyhn4m)
[Migrate from GitHub Copilot
从 GitHub Copilot 迁移](https://waytoagi.feishu.cn/wiki/Y5aow1HsUiIGAGkDjgkcwZC9nbe)
[Advanced Features 高级功能](https://waytoagi.feishu.cn/wiki/KRWXwALHnixinakWW1Kcyg84nDd)

### Chat
[Chat-Overview 概述](https://waytoagi.feishu.cn/wiki/D4bkwsWYNiCKKEknQCic2wKvnuu)
[Customize 自定义](https://waytoagi.feishu.cn/wiki/J5ytwA780iwblzkyHGrcbBXvnhb)
[With Codebase 使用代码库](https://waytoagi.feishu.cn/wiki/Xtk3wzz5Gi0AzVkHgEDcwNkknAf)
[Apply 应用](https://waytoagi.feishu.cn/wiki/Hm0wwIlvOiU9sakmADVcoc1Gnsh)
### Terminal Cmd K 终端 Cmd K
[Cmd K 命令 K - Overview 概述](https://waytoagi.feishu.cn/wiki/M2BRwCr1GiGPCRkaxFtcCmhDnpd)
[Terminal Cmd K 终端 Cmd K](https://waytoagi.feishu.cn/wiki/TNTtwCmgcibADKkmpVgcsoSTnnd)

### Context 上下文
[Codebase Indexing 代码库索引](https://waytoagi.feishu.cn/wiki/NLHIwbDVKidaCskwog7cnZFvn5e)
[Rules for AI AI 规则](https://waytoagi.feishu.cn/wiki/EOxVwpvrZirf4UkC3JWc7y66nk2)
[@ Symbols @ 符号](https://waytoagi.feishu.cn/wiki/ZpgHwHEFziu1fGk67CFcRwfSnhh)
[Ignore Files 忽略文件](https://waytoagi.feishu.cn/wiki/Spcxw0zqVizlpLkiQlKcSYaDnxf)
### Advanced 高级功能
[Models 模型](https://waytoagi.feishu.cn/wiki/ZTwLwrIlciNoDBk2DF6c8b3Rnmg)
[Custom API Keys 自定义 API 密钥](https://waytoagi.feishu.cn/wiki/TsSTwzn2CiYDMfk3MngcNNYOnuf)
[AI Review (Beta) AI 评论（测试版）](https://waytoagi.feishu.cn/wiki/T5yQwl99pizN2KkyIo1cwylUnHb)
[Shadow Workspace 影子工作区](https://waytoagi.feishu.cn/wiki/AtAZwxtLOiRRaSktqdVcsMENnJb)

### Privacy 隐私
[Privacy FAQ 隐私常见问题](https://waytoagi.feishu.cn/wiki/YjcYwjMjUiR1eXkBnIccjytOnhd)
### Troubleshooting 故障 排除
[Common Issues 常见问题](https://waytoagi.feishu.cn/wiki/RnOXwAeJwiAeOSkEBXGcjOi6nbe)
[Troubleshooting Guide 故障排除指南](https://waytoagi.feishu.cn/wiki/VnmxwZfMJik1FakQJzDcnTUEnPg)

进群交流，如果过期请加：大雨：Richardson__Chen 备注AI编程
![](https://www.waytoagi.com/api/kb-media/MDsUbZfT2oH8q9xK35Eci3rpnmc)

## Tab 标签

Cursor includes a powerful autocomplete that predicts your next edit. Once enabled, it is always on and will suggest edits to your code across multiple lines, taking into account your recent changes.

Cursor 包含强大的自动完成功能，可预测您的下一次编辑。启用后，它始终处于打开状态，并将考虑您最近的更改，跨多行建议对代码进行编辑。

### Code Generation 代码生成

Cursor sees your recent changes, so it can predict what you want to do next.

Cursor 可以看到您最近的更改，因此它可以预测您下一步要做什么。

![](https://www.waytoagi.com/api/kb-media/EfSRbXAjpoMQX8x8uZTcuTRSneb)

### Multi-Line Edits 多行编辑

Cursor can suggest multiple edits at once, saving you time.

光标可以一次建议多个编辑，从而节省您的时间。

![](https://www.waytoagi.com/api/kb-media/P3YObDTM7odzKLxapb8cuE0Rnzd)

### Smart Rewrites 智能重写

Type carelessly, and Cursor will fix your mistakes.

不小心输入，Cursor 会修复您的错误。

![](https://www.waytoagi.com/api/kb-media/CAP9bMi0XoJ4btxprDicmsEcnVe)

### Cursor Prediction 光标预测

Cursor predicts your next cursor position so you can seamlessly navigate your code.

Cursor 会预测您的下一个光标位置，以便您可以无缝导航代码。

![](https://www.waytoagi.com/api/kb-media/TQ8xbapSNocb9LxWacWcBqCenrg)

## Chat 聊天

Chat lets you talk with an AI that sees your codebase. The chat can always see your current file and cursor, so you can ask it things like: "Is there a bug here?". You can add particular blocks of code to the context with ⌘+Shift+L or "@." You can chat with your entire codebase with ⌘+Enter.

Chat 允许您与看到您的代码库的 AI 交谈。聊天室始终可以看到您当前的文件和光标，因此您可以向它询问诸如：“这里有 bug 吗？您可以使用 ⌘+Shift+L 或 “@” 将特定代码块添加到上下文中。您可以使用 ⌘+Enter 与整个代码库聊天。

### Codebase Answers 代码库答案

Use @Codebase or ⌘ Enter to ask questions about your codebase. Cursor will search your codebase to find relevant code to your query.

使用 @Codebase 或 ⌘ Enter 询问有关您的代码库的问题。Cursor 将搜索您的代码库以查找与您的查询相关的代码。

![](https://www.waytoagi.com/api/kb-media/LToqbrltvo9UUIxoYxpce7Donwe)

### Reference your Code 引用您的代码

Reference code with @ symbols to be used as context for the AI. Just type @ to see a list of all the files and code symbols in your folder.

带有 @ 符号的参考代码，用作 AI 的上下文。只需键入 @ 即可查看文件夹中所有文件和代码符号的列表。

![](https://www.waytoagi.com/api/kb-media/MNhVbExckovfsNxaPYCcQ1LQnth)

### Use Images 使用图像

Hit the image button under chat or drag an image into the input box to include visual context into chat.

点击聊天下方的图片按钮，或将图片拖到输入框中，将视觉上下文包含在聊天中。

![](https://www.waytoagi.com/api/kb-media/G7TXbe9nHojBu7xIFquckgHrnXb)

### Ask the Web 询问 Web

Get up-to-date information from the internet with @Web. Cursor will search the web for you and use the latest information to answer your question.

使用 @Web 从 Internet 获取最新信息。Cursor 将为您搜索 Web 并使用最新信息来回答您的问题。

![](https://www.waytoagi.com/api/kb-media/CS4RbQRbQoJF4hxtbIPcFbkOnHh)

### Instant Apply 即时申请

Apply the code suggestions from chat back into your codebase by clicking the play button on top of any chat codeblock.

通过单击任何聊天代码块顶部的 play 按钮，将聊天中的代码建议应用回您的代码库。

![](https://www.waytoagi.com/api/kb-media/P11UbhoAPoen6rxtP7Wc6aGrnXI)

### Use Documentation 使用文档

Reference popular libraries using @LibraryName, or add your own using @Docs → Add new doc.

使用 @LibraryName 引用常用库，或使用 @Docs →添加新文档 添加您自己的库。

![](https://www.waytoagi.com/api/kb-media/XvH1bIlNsoJMopx9l5ecPsYinyg)

## ⌘ K ⌘ 千

⌘ K lets you edit and write code with the AI. To edit, try selecting some code, click "Edit," and describe how the code should be changed. To generate completely new code, just type ⌘ K without selecting anything.

⌘ K 允许您使用 AI 编辑和编写代码。要进行编辑，请尝试选择一些代码，单击“编辑”，并描述应如何更改代码。要生成全新的代码，只需键入 ⌘ K，无需选择任何内容。

### Fast Edits 快速编辑

Edit and write code with the AI. Select some code, click ⌘ K, and describe how the code should be changed. Or, generate new code with ⌘ K without selecting anything.

使用 AI 编辑和编写代码。选择一些代码，单击 ⌘ K，并描述应如何更改代码。或者，使用 ⌘ K 生成新代码，而不选择任何内容。

![](https://www.waytoagi.com/api/kb-media/AyxIbZw3voME2px8x7GcrQgandc)

### Terminal ⌘ K 终端 ⌘ K

Use ⌘ K in the terminal to write terminal commands in plain english. Cursor will convert them into the terminal command you need.

在终端中使用 ⌘ K 以简单的英语编写终端命令。Cursor 会将它们转换为您需要的终端命令。

![](https://www.waytoagi.com/api/kb-media/OGfNb5Z5noD0jsxjxMjc6JYUn4c)

### Quick Questions 快速问题

If you have any quick questions about certain parts of your code, you can select and click on "quick question" to get your answer right away.

如果您对代码的某些部分有任何快速问题，您可以选择并单击“快速问题”以立即获得答案。

![](https://www.waytoagi.com/api/kb-media/Tz55bYfYQoWKjqxgR5bcCuAXnPh)

###
