Files
nexus/wiki/entities/Cursor.md

44 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Cursor"
type: entity
tags: [ai, code-editor, vscode, vibe-coding]
last_updated: 2026-04-15
---
## 基本信息
- **类型**: AI 代码编辑器
- **底层框架**: VS Code
- **AI 模型**: Composer自研速度比同类快 4 倍)
- **版本**: 2.0
- **官网**: https://cursor.com
## 核心功能
- 编辑器视图:代码文件编辑
- Agents 视图AI 代理交互
- 多代理并行Plan/Agent/Ask 三种模式同时运行不同任务
- Diff 审查:逐文件或整体审查 AI 生成的代码改动
- 项目规则:自定义 .cursorrules 文件约束 AI 行为
- MCP 服务器集成:扩展外部工具能力
## 三种代理模式
- **Plan 模式**AI 规划任务步骤,不修改代码
- **Agent 模式**:自动串联 MCP 工具链,修改代码
- **Ask 模式**:仅返回文本答案,不修改代码(最安全)
## 关键使用规范
- AI 生成代码即写入文件:必须先测试再确认保存
- Undo All 可撤销所有 AI 改动(关闭文件后可能失效)
- 多代理建议创建新代理而非在已有代理继续,避免上下文混用
## 关联
- [[Cursor]] ← 基于 [[VS Code]]
- [[Cursor]] ← 使用 [[Composer模型]]
- [[Cursor]] ← 支持 [[MCP服务器]]
- [[Cursor]] ← 建议结合 [[Git]](版本控制)
- [[Vibe Coding]] 的推荐工具组合之一
## Aliases
- Cursor 2.0
- Cursor AI