Files
zed/docs/src/completions.md
T
gusmcgee 8d541bcc9b Fix broken links and stale content in docs (#65490)
## Summary

Fixes broken links in `docs/src`. Notes:

- **Rego:** pointed to `open-policy-agent/zed-rego` (same extension,
moved from `StyraInc`), but it was dropped from the registry in
zed-industries/extensions#7599. The Rego page may need removing.
- **Roc:** removed `roc_language_server` from setup; the extension now
runs `roc experimental-lsp`.
- **Meson:** `jobpaardekooper/zed-meson` is the registry's replacement
(zed-industries/extensions#4980).
- **Removed:** Gemini gemtext (dropped from registry) and the Sweep blog
link (site gone, [archived
copy](https://web.archive.org/web/20260806152854/https://blog.sweep.dev/posts/oss-next-edit)).

## Testing

Ran a link checker over `docs/` and checked each new target by hand.
Clicked through the fixed links with `mdbook serve docs`.

## Self-review

- [ ] I've reviewed my diff for quality, security, reliability, and
performance.
- [ ] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [ ] Tests cover the new or changed behavior.

Used Claude to find and verify the links; I reviewed each change.

Release Notes:

- N/A

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
2026-10-13 10:34:19 +00:00

1.8 KiB

title, description
title description
Code Completions - Zed Zed's code completions from language servers and edit predictions. Configure autocomplete behavior, snippets, and documentation display.

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.

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.