From 311abd0e1ba5d299bbf59e74fb4a72a0eddb8c0d Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Thu, 30 Oct 2025 13:24:32 +0100 Subject: [PATCH] extension_host: Do not try auto installing suppressed extensions (#41551) Release Notes: - Fixed an issue where Zed would try to install extensions specified under `auto_install_extensions` which were moved into core. --- crates/extension_host/src/extension_host.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/extension_host/src/extension_host.rs b/crates/extension_host/src/extension_host.rs index 3397f770c241ab0b29deab661e014811fed7f852..04b03352d83fd3323770a00a13c4377dc111535a 100644 --- a/crates/extension_host/src/extension_host.rs +++ b/crates/extension_host/src/extension_host.rs @@ -360,7 +360,7 @@ impl ExtensionStore { } extension_id = reload_rx.next() => { let Some(extension_id) = extension_id else { break; }; - this.update( cx, |this, _| { + this.update(cx, |this, _| { this.modified_extensions.extend(extension_id); })?; index_changed = true; @@ -608,7 +608,7 @@ impl ExtensionStore { .extension_index .extensions .contains_key(extension_id.as_ref()); - !is_already_installed + !is_already_installed && !SUPPRESSED_EXTENSIONS.contains(&extension_id.as_ref()) }) .cloned() .collect::>();