Tab completion

Tab is Cursor's AI-powered autocomplete. It suggests code as you type, based on your recent edits, surrounding code, and linter errors.

How do I accept or reject suggestions?

  • Accept the full suggestion: Press Tab
  • Reject: Press EscapeEsc or keep typing
  • Accept word-by-word: Mac: Press CmdCtrl + Arrow Right Windows/Linux: Press Ctrl + Arrow Right

Suggestions appear as grayed-out text ahead of your cursor.

Can Tab edit multiple lines at once?

Yes. Tab can modify multiple lines, add missing import statements, and suggest coordinated edits across related code.

What is jump-in-file?

After you accept a Tab suggestion, press Tab again. Tab predicts your next editing location and jumps there. This saves you from scrolling or navigating manually.

Can Tab suggest edits in other files?

Yes. Tab predicts cross-file edits when changes in one file need updates in another. When a jump to another file is available, a portal window appears at the bottom of the editor.

How do I turn Tab on or off?

Click the Tab status indicator in the bottom-right corner of Cursor. From there you can:

  • Snooze: Disable Tab temporarily for a chosen duration
  • Disable globally: Turn Tab off for all files
  • Disable for specific extensions: Turn Tab off for certain file types (like markdown or JSON)

You can also configure Tab settings in Cursor Settings > Tab.

Can I change the Tab keyboard shortcut?

Yes. Search for Accept Cursor Tab Suggestions in Keyboard Shortcuts settings to remap it.

Was this page helpful?