docs: Improve introduction to Edit Prediction (#26620)
As I was writing a blog post about Edit Prediction, I realized we didn't have a great section in the docs I could link to talking about configuring it. We weren't: 1) explicitly exposing the settings code to add Zed as the edit prediction provider, and 2) not showing an image of the title bar banner. Release Notes: - N/A
This commit is contained in:
parent
4ecd1b5174
commit
d9590f3f0e
1 changed files with 16 additions and 2 deletions
|
@ -22,10 +22,24 @@ For more information, see:
|
|||
|
||||
## Edit Predictions {#edit-predictions}
|
||||
|
||||
Zed has built-in support for predicting multiple edits at a time via its [Zeta model](https://huggingface.co/zed-industries/zeta). Clicking "Introducing: Edit Prediction" on the top right will open a brief prompt setting up this feature.
|
||||
|
||||
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`.
|
||||
|
||||
### Configuring Zeta
|
||||
|
||||
Zed's Edit Prediction was initially introduced via a banner on the title bar.
|
||||
Clicking on it would take you to a modal with a button ("Enable Edit Prediction") that sets `zed` as your `edit_prediction_provider`.
|
||||
|
||||

|
||||
|
||||
But, if you haven't come across the banner, start using Zed's Edit Prediction by adding this to your settings:
|
||||
|
||||
```json
|
||||
"features": {
|
||||
"edit_prediction_provider": "zed"
|
||||
},
|
||||
```
|
||||
|
||||
### Conflict With Other `tab` Actions {#edit-predictions-conflict}
|
||||
|
||||
By default, when `tab` would normally perform a different action, Zed requires a modifier key to accept predictions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue