How to cancel autocomplete prompt? #11474
-
Hi, When Zed offers an autocomplete in a pop-up (i.e. not the Copilot suggestion), is there a command or hotkey to dismiss this? I've found that there are times when the suggestions are irrelevant, spurious, or simply quicker to type the keyword than to select it from the selection box. A concrete example: when I fully type the The only way that I have so far found to dismiss this pop-up is to press |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Cases like this where I want to press {
"context": "Editor && showing_completions",
"bindings": {
"enter": "editor::ConfirmCompletion",
"tab": "editor::ConfirmCompletion"
}
}, To each their own in terms of confirming completion, but I definitely don't want both {
"context": "Editor && showing_completions",
"bindings": {
"enter": "editor::Newline"
}
}
I haven't really had a need to solve for canceling the completion otherwise as I can just keep typing on the same line and ignoring the completion suggestions. There's probably a way to override the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I can't seem to disable tab as an option for code completion using this pattern. I have this slapped into keymap.json:
I must be doing something wrong... perhaps things have changed since a few months ago? |
Beta Was this translation helpful? Give feedback.
Cases like this where I want to press
enter
were very problematic. This happens because of these keymap defaults...To each their own in terms of confirming completion, but I definitely don't want both
enter
andtab
doing so and added a keybinding to override forenter
.