How Tab Completion Works
As you type, Cursor's AI model analyzes your codebase context and generates inline suggestions displayed in gray text. Press Tab to accept the full suggestion, Escape to dismiss it, or Ctrl+Right Arrow to accept word-by-word. The completion engine uses frontier models including Claude Sonnet and GPT-5.4, with auto mode selecting the fastest model that meets the complexity threshold. On the Pro plan, Tab completions are unlimited and consume zero credits.
Tab补全是Cursor最常用的功能。它不仅预测下一个单词,还能预测整个代码块。按Tab接受建议,按Escape取消,按Ctrl+右箭头逐词接受。Pro计划中Tab补全无限使用且不消耗额度。