Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
edit prediction: Fix width of completion item (#23177)
Thorsten Ballb1cfc116d020
diff --git a/crates/editor/src/code_context_menus.rs b/crates/editor/src/code_context_menus.rsindex c84e021e0ba..f498d24615d 100644--- a/crates/editor/src/code_context_menus.rs+++ b/crates/editor/src/code_context_menus.rs@@ -462,7 +462,9 @@ impl CompletionsMenu {len}- CompletionEntry::InlineCompletionHint(hint) => hint.label().chars().count(),+ CompletionEntry::InlineCompletionHint(hint) => {+ "Zed AI / ".chars().count() + hint.label().chars().count()+ }}).map(|(ix, _)| ix);drop(completions);