Forbid signature popovers when completion menu is open (#17009)

Closes https://github.com/zed-industries/zed/issues/16748

Release Notes:

- Fixed signature info popovers appearing when completion menu is open
This commit is contained in:
Kirill Bulatov 2024-08-28 18:25:07 +03:00 committed by GitHub
parent 98d74f9317
commit c5f43ee81c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 33 additions and 1 deletions

View file

@ -149,7 +149,7 @@ impl Editor {
}
pub fn show_signature_help(&mut self, _: &ShowSignatureHelp, cx: &mut ViewContext<Self>) {
if self.pending_rename.is_some() {
if self.pending_rename.is_some() || self.has_active_completions_menu() {
return;
}