TL;DR. Cursor Tab is a next-edit prediction model that sits in the editor. It proposes inline completions, multi-line blocks, and jumps to the next place you probably want to edit. Learning how to use Cursor Tab well comes down to three things: give it context before you type, accept in small pieces instead of whole blocks, and turn it off in places where a wrong guess costs more than typing. It is the lowest-friction feature, so treat it as the default input method and keep chat and agent features for larger changes.
What Cursor Tab actually does
Cursor Tab is not classic autocomplete, which finishes the token under your cursor. It predicts your next edit from your recent changes, the surrounding code, and linter errors. That gives you four behaviors:
- Inline completion. Ghost text finishes the current line or block. Press
Tabto accept it andEscto dismiss it. - Multi-line suggestions. It can propose a whole function body, a switch statement, or the rest of an object literal.
- Next-edit jumps. After you accept, pressing
Tabagain jumps to the predicted next editing location. This is what makes it good at renames, signature changes, and repeated edits. - Cross-file edits. When a change in one file needs updates in another, Tab can suggest them, and a small portal window at the bottom of the editor appears when a jump is available.
Rename a parameter at its definition and Tab will often offer the matching change at each use site. You stay in the keyboard flow and review each change as it's offered.
It differs from the other Cursor surfaces:
- Tab predicts your next keystrokes, with no prompt. Use it while you're already typing.
- Selection plus
Cmd/Ctrl+Ksends the selected lines to the agent with an instruction. - Chat and agent work on multi-file tasks from a written request.
If you're comparing it with other tools, the Cursor vs Copilot comparison covers how its completion model differs. The best AI coding tools roundup puts it alongside the alternatives.
Setup: the settings worth checking
Click the Tab status indicator in the bottom-right corner of the editor, and open Cursor Settings and find the Tab section. Names shift between releases, so look for the intent rather than the exact label.
- Confirm Cursor Tab is on. The status indicator lets you turn it off globally or snooze it for a chosen time.
- Learn partial accepts.
Cmd/Ctrl+Right Arrowaccepts one word at a time instead of the whole suggestion. It is the biggest quality-of-life shortcut. You can remap the accept key by searching for "Accept Cursor Tab Suggestions" in Keyboard Shortcuts. - Decide on suggestions inside comments. Some people find them noisy in prose comments and docstrings. If that is you, look through the Tab section of Cursor Settings for the matching option in your version.
- Let Tab handle imports. Tab can add a missing import as part of a suggestion, which removes a common manual step in TypeScript or Python.
- Disable Tab per file type. The status indicator lets you turn it off for specific file extensions, such as markdown or JSON. Worth doing once.
- Review your privacy mode and ignore rules. Add
.cursorignoreentries for secrets, vendored code, and anything you don't want the agent or Tab to read. Cursor's docs say ignored files are blocked from both.
Tab is a prediction feature, not a model dial. For slower, deeper reasoning, use the agent.
The accept-reject rhythm
Most frustration with Tab comes from accept habits, not model quality.
| Action | Key | When to use it |
|---|---|---|
| Accept whole suggestion | Tab |
Boilerplate you'd type identically |
| Accept next word | Cmd/Ctrl+Right |
Suggestion is mostly right, ending is wrong |
| Dismiss | Esc |
Anything you didn't ask for |
| Keep typing | any key | Suggestion ignored, no cost |
Three habits matter:
- Read before you press Tab. Skim the ghost text every time. Reading a suggestion costs a fraction of a second, and a wrong accept can take minutes to track down.
- Accept partially by default. If the first half is right, take the first half and keep typing. The model re-predicts from your new position.
- Don't fight it. If three suggestions in a row are wrong,
Escand type the next few tokens yourself. More context in the file usually fixes it.
Prompting Tab without a prompt
There's no chat box, so you steer with the code itself. These are the techniques that work.
Write the signature, let Tab fill the body. A precise name and typed parameters carry most of the intent:
export function groupInvoicesByCustomer(
invoices: Invoice[],
): Map<string, Invoice[]> {
Tab will usually produce the loop and map logic. A vague name like process(data) gives it nothing to work with.
Comment first, code second. A one-line comment above an empty block works as a prompt:
// retry up to 3 times with exponential backoff, only on 5xx
Be specific. A comment like // TODO: implement OAuth flow is too large for Tab. It will guess, and the guess spans decisions you should make yourself. Use chat or the agent for flows that size.
Write the test, then the function. Write a test with concrete inputs and expected outputs, then start the function below it. The test gives Tab the contract. Run the tests afterward, because Tab matches the pattern and can't tell whether the logic is correct.
Establish a pattern, then repeat it. Write the first two cases of a switch, a route table, or a set of fixtures. Tab picks up the pattern and completes the rest. It's among the best uses for repetitive code.
Keep related files open. Tab works from recent edits and the surrounding code, so keep the type definition or the sibling component you're mirroring in the same file or edit it first. If you're building UI, the AI for frontend devs guide covers more on pairing completion with component work.
When to turn Tab off
Disable it, per file or globally, in these cases:
- Sensitive or regulated code. Payment logic, auth checks, cryptography, and anything under compliance review. A plausible but wrong suggestion in these areas is dangerous. Use privacy mode and
.cursorignoreas well. - Unfamiliar code you're learning. If you're reading code to understand it, suggestions get in the way.
- Prose, config, and generated files. Markdown, lockfiles, and codegen output rarely benefit from predictions.
- Pair or live sessions where a stream of ghost text distracts the people watching.
You can also snooze it for a chosen duration from the status indicator instead of changing settings.
Common problems and fixes
- Suggestions interrupt your thinking. Turn on partial accepts and ignore the ghost text until you want it. If it still pulls your attention, disable suggestions in comments.
- Tab inserts text you didn't want. You accepted too much. Accept word by word, and check the diff before committing.
- It rewrites nearby code. Next-edit jumps can touch lines outside your task. Review the diff with
git diffbefore you stage, and keep commits small. - Slow on large files. Split oversized files, exclude generated or vendored directories with
.cursorignore, and close tabs you aren't using. - Wrong style or wrong library. Tab copies what's in the file. Fix the first instance by hand, and it follows from there. Project rules guide the agent, so use them for larger conventions.
- Stale or hallucinated APIs. It will confidently call functions that don't exist. Let the type checker and linter catch these (
tsc --noEmit, your ESLint config), and run the tests.
Mistakes that cost you later
- Trusting Tab blindly. Its suggestions look right even when they're wrong. Review them as you'd review a junior's pull request.
- Skipping code review. Autocompleted code goes through the same review as typed code. Inline completion can change behavior without any visible effort from you.
- Letting it touch unrelated code. Next-edit jumps are convenient, but accept only the edits that belong to your current change.
- Using Tab for big decisions. Architecture, data models, and auth flows belong in a written plan. If you want an agent with explicit approval gates, Cline's workflow is built around that.
- Never turning it off. Autocomplete is a tool. If you've stopped noticing what it's inserting, pause it for a session and see how much you were accepting without reading.
Next Steps
- Use partial accepts (
Cmd/Ctrl+Right) for a full day. - Add
.cursorignoreentries for secrets and generated folders. - Try the test-first pattern on one real function, then run the test.
- Read the Cursor vs Copilot comparison to see how Tab compares with other completion models.
- Move to chat and agent workflows for anything spanning multiple files, and keep Tab for the typing in between.