Files
zed/docs/src/completions.md
T
Kunall Banerjee 184001b33b docs: Add note about conflicting global macOS shortcut (#45186)
This is already noted in our `default-macos.json`, but was never
surfaced in our docs for some reason. A user noted their LSP completions
were not working because they were not aware of the conflicting global
shortcut.

Ref:
https://github.com/zed-industries/zed/issues/44970#issuecomment-3664118523

Release Notes:

- N/A
2025-12-18 02:13:59 +00:00

1.6 KiB

Completions

Zed supports two sources for completions:

  1. "Code Completions" provided by Language Servers (LSPs) automatically installed by Zed or via Zed Language Extensions.
  2. "Edit Predictions" provided by Zed's own Zeta model or by external providers like GitHub Copilot or Supermaven.

Language Server 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:

"show_completions_on_input": false

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

Note: Using ctrl-space in Zed requires disabling the macOS global shortcut. Open System Settings > Keyboard > Keyboard Shortcuts > Input Sources and uncheck Select the previous input source.

For more information, see:

Edit Predictions

Zed has built-in support for predicting multiple edits at a time via 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 for more information on how to setup and configure Zed's edit predictions.