Files
chill_notes/AI工程/概念/Cursor.md
2026-06-22 11:30:51 +08:00

74 lines
1.9 KiB
Markdown
Executable File
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.
# Cursor
> 相关:[[Harness工程]]、[[Agent_as_Code]]、[[Claude_Code]]、[[Kiro]]、[[Trae]]
## 定义
**Cursor**是基于VS Code的AI IDE提供AI优先的开发体验。
**核心思想**基于VS CodeAI优先设计强大的代码补全Composer模式。
## 核心特征
### 1. 基于VS Code
- 熟悉的IDE界面
- 丰富的插件生态
- 易于上手
### 2. AI优先设计
- AI深度集成
- 智能代码补全
- 上下文感知
### 3. Composer模式
- 多文件编辑
- 智能重构
- 批量修改
### 4. 多模型支持
- 支持多种AI模型
- 可以切换模型
- 灵活选择
## 与其他AI工具对比
| 工具 | 类型 | 价格 | AI模型 | 适用场景 |
|------|------|------|--------|---------|
| [[Claude_Code]] | CLI | 按Token | Claude | 复杂逻辑 |
| Cursor | IDE | $20/月 | 多模型 | 日常开发 |
| [[Kiro]] | IDE | 免费+付费 | Claude | AWS项目 |
| [[Trae]] | IDE | 免费+付费 | 豆包 | 中文项目 |
## 适用场景
- **日常开发**:最常用的开发工具
- **代码补全**:需要智能代码补全
- **多文件编辑**:需要批量修改
- **团队协作**需要熟悉的IDE环境
## 优势
- **熟悉界面**基于VS Code易于上手
- **AI集成**AI深度集成
- **代码补全**:强大的代码补全
- **多模型**支持多种AI模型
## 挑战
- **付费**:需要$20/月
- **资源消耗**:可能消耗较多资源
- **依赖网络**:需要网络连接
## 最佳实践
1. **日常开发首选**:最适合作为日常开发工具
2. **代码补全利用**:充分利用智能代码补全
3. **Composer模式**:充分利用多文件编辑能力
4. **模型选择**:根据需求选择合适的模型
## 相关概念
- [[Harness工程]]Cursor是Harness的工具之一
- [[Agent_as_Code]]Cursor支持Agent as Code
- [[Claude_Code]]、[[Kiro]]、[[Trae]]其他AI编程工具