zed/assets/keymaps
Thorsten Ball 124e63d07c
Show inline completions when completion menu is visible (#21858)
This changes the behavior of how we display inline completions and
non-inline completions (i.e. completion menu).

Previously we would never show inline completions if a completion menu
was visible, meaning that we'd never show Copilot/Supermaven/...
suggestions if the language server had a suggestion.

With this change, we now display the inline completions even if there is
a completion menu visible.

In that case `<tab>` then accepts the inline completion and `<enter>`
accepts the selected entry in the completion menu.

Release Notes:

- Changed how inline completions (Copilot, Supermaven, ...) and normal
completions (from language servers) interact. Zed will now also show
inline completions when the completion menu is visible. The user can
accept the inline completion with `<tab>` and the active entry in the
completion menu with `<enter>`. Previously, `<tab>` would also select
the active entry in the completion menu.

---------

Co-authored-by: Antonio <antonio@zed.dev>
2024-12-11 17:13:22 +01:00
..
linux Add editor::SelectAllMatches to SublimeText base keymap (#20866) 2024-11-19 14:33:35 -05:00
macos Add editor::SelectAllMatches to SublimeText base keymap (#20866) 2024-11-19 14:33:35 -05:00
default-linux.json Show inline completions when completion menu is visible (#21858) 2024-12-11 17:13:22 +01:00
default-macos.json Show inline completions when completion menu is visible (#21858) 2024-12-11 17:13:22 +01:00
initial.json
storybook.json
vim.json vim: Add delete action to HelixNormal mode (#21544) 2024-12-06 14:05:41 -07:00