Files
oak-gpui/docs/src/completions.md
T
795fadc0bc docs: Overhaul AI documentation (#29747)
To support the Agentic Editing launch. To dos before merging:

- [ ] Anything marked as `todo!` within `docs/src` (Anyone)
- [x] Check all internal links (Joe)
- Joe: I checked all links and fixed all aside from a few that I
annotated with `todo!` comments
- [ ] Update images (Danilo)
- [ ] Go over / show images of tool cards in agent panel overview
(Danilo)
- [ ] Point billing FAQ to new billing docs (Joe)
- [x] Redirects external links
    - [ ] Needs testing
- [x] Delete old docs
- [ ] Ensure all mentioned bindings use the `{#kb ...}` format and that
they are rendering correctly
- [ ] All agent-related actions are now `agent::` and not `assistant::`
- [x] Mention support of `.rules` files in `rules.md`

Release Notes:

- N/A

---------

Co-authored-by: Joseph T. Lyons <josephtlyons@gmail.com>
Co-authored-by: morgankrey <morgankrey@gmail.com>
Co-authored-by: Smit Barmase <37347831+smitbarmase@users.noreply.github.com>
Co-authored-by: Ben Kunkle <Ben.kunkle@gmail.com>
Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2025-05-07 01:07:12 -03:00

1.4 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.

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.