首页/ AI 技能 / @skilllib/skill-2014279370850906113
Skill站外收录 @skilllib/skill-2014279370850906113

cursor-tab-completion

掌握光标自动补全与 AI 代码建议的交互方式,通过快捷键实现代码片段的逐字或整段采纳,结合项目上下文提供符合风格的智能续写,提升编码效率。

0.0 (0) 224 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.MD

# Cursor Tab Completion ## Overview This skill helps you master Cursor tab completion and AI code suggestions. It covers how completions work, acceptance techniques, context awareness, and configuration settings to optimize your coding flow with AI assistance. ## Prerequisites - Cursor IDE with completions enabled - Project with indexed codebase - Understanding of ghost text interface - Configured .cursorrules for project patterns ## Instructions 1. Start typing code in a file 2. Wait for ghost text to appear (gray suggestion) 3. Press Tab to accept full suggestion 4. Press Ctrl+Right to accept word by word 5. Press Esc to dismiss unwanted suggestions 6. Use Ctrl+Space to force trigger completion ## Output - AI-generated code completions - Pattern-aware suggestions - Context-sensitive function bodies - Consistent code style matching project ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Tab Completion Guide](https://cursor.com/docs/completions) - [Completion Settings](https://cursor.com/docs/settings) - [Context for Better Completions](https://cursor.com/docs/context)

评论 0

还没有评论,来抢沙发。