# Autocomplete

> The editor guesses the rest of the word. You press Tab to take it.

**Field:** Software Development  
**Category:** Editors & Tools  
**Also known as:** Code Completion, IntelliSense

## Think of it like

Think of it like a phone keyboard that guesses the next word. You type a few letters and tap the rest.

## Definition

Autocomplete suggests the rest of a word or line while you type. It knows the names in your code, so typing pri can offer print. It can also show what a function needs, like its parameters. You press Tab or Enter to accept a guess. Newer editors use AI to suggest whole lines or blocks.

## Example

Emma types user. and a list pops up with name, email and age. She picks email without checking how it was spelled.

## Why it matters

Autocomplete saves typing and stops spelling slips in long names. It also shows you options you did not know about.

## Common mistake

Taking every guess without reading it. A name that is close but wrong still runs, and it makes a bug.

## Three principles

- **Guesses as you type.** A few letters bring up choices.
- **Knows your code.** It offers names that really exist.
- **Read before Tab.** A close match can still be wrong.

## Related terms

- [Code Editor](https://learn.benibix.com/term/development/code-editor)
- [Integrated Development Environment (IDE)](https://learn.benibix.com/term/development/ide)
- [Function](https://learn.benibix.com/term/development/function)
- [Variable](https://learn.benibix.com/term/development/variable)
- [Predictive Text](https://learn.benibix.com/term/ai/predictive-text)
- [Language Server Protocol (LSP)](https://learn.benibix.com/term/development/language-server-protocol)

## Taught in

- [Autocomplete and Extensions](https://learn.benibix.com/learn/development-tools/autocomplete-and-extensions): Coding Tools, 2/13

---

Source: https://learn.benibix.com/term/development/autocomplete
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
