Tab Completion in AI

From the Cursor cheat sheet ยท Essential Shortcuts ยท verified Nov 2026

Tab Completion

AI-powered code completions

bash
# Accept suggestions
Tab                # Accept the full suggestion
Cmd/Ctrl+Right     # Accept the next word
Esc                # Reject (or just keep typing)

# After an edit
Tab                # Jump to the next predicted edit location

# Turn Tab on or off
Tab indicator (bottom right)
- Snooze for a chosen duration
- Disable globally
- Disable for specific file extensions

# More settings
Cursor Settings > Tab
bash
# Example: Tab completion
# Start typing a function:
function calc

# Tab accepts the multi-line suggestion:
function calculateTotal(items) {
  return items.reduce((sum, item) => sum + item.price, 0)
}

# Tab again jumps to the next likely edit, even in another file
๐Ÿ’ก Tab works from your recent edits, the surrounding code and linter errors
โšก Suggestions can change several lines and add missing imports
๐Ÿ” A portal window at the bottom of the editor offers jumps into other files
๐Ÿ“Œ Rules do not apply to Tab, and your own API keys are not used for it
tabcompletionautocomplete

Continue with Cursor

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full Cursor cheat sheet