1---
2title: Code Completions - Zed
3description: Zed's code completions from language servers and edit predictions. Configure autocomplete behavior, snippets, and documentation display.
4---
5
6# Completions
7
8Zed supports two sources for completions:
9
101. "Code Completions" provided by Language Servers (LSPs) automatically installed by Zed or via [Zed Language Extensions](languages.md).
112. "Edit Predictions" provided by Zed's own Zeta model or by external providers like [GitHub Copilot](#github-copilot).
12
13## Language Server Code Completions {#code-completions}
14
15When 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:
16
17```json [settings]
18"show_completions_on_input": false
19```
20
21You can manually trigger completions with `ctrl-space` or by triggering the `editor::ShowCompletions` action from the command palette.
22
23> Note: Using `ctrl-space` in Zed requires disabling the macOS global shortcut.
24> Open **System Settings** > **Keyboard** > **Keyboard Shortcut**s >
25> **Input Sources** and uncheck **Select the previous input source**.
26
27For more information, see:
28
29- [Configuring Supported Languages](./configuring-languages.md)
30- [List of Zed Supported Languages](./languages.md)
31
32## Edit Predictions {#edit-predictions}
33
34Zed 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.
35Edit predictions appear as you type, and most of the time, you can accept them by pressing `tab`.
36
37See the [edit predictions documentation](./ai/edit-prediction.md) for more information on how to setup and configure Zed's edit predictions.