# edit predictions: Improve UX when there's no keybinding for accepting predictions \(\#25815\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f31749c81b1f3944986ec0b03b9d47f26e9f126e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f31749c81b1f3944986ec0b03b9d47f26e9f126e

Requested commit: f31749c81b1f3944986ec0b03b9d47f26e9f126e

Commit: f31749c81b1f3944986ec0b03b9d47f26e9f126e

Tree: 6573f56690cf9aaed422ee64d2fff8feba2dbd82

Author: Agus Zubiaga

Committer: GitHub

## Message

```
edit predictions: Improve UX when there's no keybinding for accepting predictions (#25815)

If the user already binds `tab`/`alt-tab`/`alt-l` to a different action
in a conflicting context and hasn't assigned a different keybinding for
`editor::AcceptEditPrediction`, we would show broken popovers with no
bindings:

![CleanShot 2025-02-28 at 12 46
13@2x](https://github.com/user-attachments/assets/a2c6a8ad-5e11-46ef-8031-62e1e6900244)

Instead, they will now see an error-variant of every popover which
includes a tooltip with a short description and buttons to open the
keymap, and open a new docs section explaining the issue in detail and
how to fix it.

![CleanShot 2025-02-28 at 12 48
11@2x](https://github.com/user-attachments/assets/36329b1f-6374-4735-9fbc-8fccab70e881)

Note: I included the docs change in this PR because it's ok to deploy
before the release, as it also applies to existing versions.

Release Notes:

- edit predictions: Improve UX when there's no keybinding for accepting
predictions

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Danilo <danilo@zed.dev>
```

## Parents

- [76a81607deec5b9093237cd3e98506dccc9f9565](https://git.cafe/gitcafe/zed/commit/76a81607deec5b9093237cd3e98506dccc9f9565?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f31749c81b1f3944986ec0b03b9d47f26e9f126e?format=markdown)
