Home Explore Blog CI



zed

docs/src/completions.md
2126adf78a12c9eafad3efc2ab94d8711c635de7eb75cbaa000000030000057f
# Completions

Zed supports two sources for completions:

1. "Code Completions" provided by Language Servers (LSPs) automatically installed by Zed or via [Zed Language Extensions](languages.md).
2. "Edit Predictions" provided by Zed's own Zeta model or by external providers like [GitHub Copilot](#github-copilot) or [Supermaven](#supermaven).

## Language Server Code Completions {#code-completions}

When there is an appropriate language server available, Zed will provide completions of variable names, functions, and other symbols in the current file. You can disable these by adding the following to your Zed `settings.json` file:

```json
"show_completions_on_input": false
```

You can manually trigger completions with `ctrl-space` or by triggering the `editor::ShowCompletions` action from the command palette.

For more information, see:

- [Configuring Supported Languages](./configuring-languages.md)
- [List of Zed Supported Languages](./languages.md)

## Edit Predictions {#edit-predictions}

Zed has built-in support for predicting multiple edits at a time [via Zeta](https://huggingface.co/zed-industries/zeta), Zed's open-source and open-data model.
Edit predictions appear as you type, and most of the time, you can accept them by pressing `tab`.

See the [edit predictions documentation](./ai/edit-prediction.md) for more information on how to setup and configure Zed's edit predictions.

Chunks
f1bdb347 (1st chunk of `docs/src/completions.md`)
Title: Completions in Zed: Code Completions and Edit Predictions
Summary
Zed provides two types of completions: code completions from Language Servers (LSPs) and edit predictions from Zed's Zeta model or external providers. Code completions can be disabled or manually triggered. Edit predictions appear as you type and can be accepted with `tab`. Configuration details are available in the linked documentation.