Порівняти коміти

...
Автор SHA1 Повідомлення Дата
l0ng-ai a97907a2bd fix(plugins): list the official marketplace in debug builds too
Debug builds set no default marketplace index, so the Plugins page showed only the repository's local plugins and the marketplace flows (browse, install, update checks, revocations) could not be exercised without pasting the index URL by hand. The official index is now the default in every build; the local plugins stay in their own group.
2026-11-12 22:16:58 +08:00
+2 -4
Переглянути файл
@@ -111,10 +111,8 @@ pub fn create_host(app: &AppHandle, data_dir: &Path, project_host: &Arc<ide_host
ide_language::set_external_syntax(Some(host.syntax_provider()));
ide_run::set_external_detection(Some(host.run_detection()));
host.set_workspace(Some(Arc::new(HostWorkspace(Arc::downgrade(project_host)))));
// Released builds list the official plugins (published with each release) until the user picks another index.
if !cfg!(debug_assertions) {
host.set_default_market_url(Some(ide_host::plugins::OFFICIAL_MARKET_INDEX.into()));
}
// The official plugins (published with each release) are listed until the user picks another index.
host.set_default_market_url(Some(ide_host::plugins::OFFICIAL_MARKET_INDEX.into()));
#[cfg(target_os = "macos")]
host.set_secret_store(Arc::new(KeychainSecrets));
ide_host::plugins::set_editor_providers(Some(&host));