Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add "Extensions" item to user menu (#8183)
Ngô Quốc Đạt95d5ea7edc78
diff --git a/Cargo.lock b/Cargo.lockindex 32a5cd541fa..104a15769d5 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2093,6 +2093,7 @@ dependencies = ["collections","db","editor",+ "extensions_ui","feature_flags","feedback","futures 0.3.28",diff --git a/crates/collab_ui/Cargo.toml b/crates/collab_ui/Cargo.tomlindex 26237de4c6c..5ab841fbc96 100644--- a/crates/collab_ui/Cargo.toml+++ b/crates/collab_ui/Cargo.toml@@ -34,6 +34,7 @@ clock.workspace = truecollections.workspace = truedb.workspace = trueeditor.workspace = true+extensions_ui.workspace = truefeature_flags.workspace = truefeedback.workspace = truefutures.workspace = truediff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rsindex 33d769b1d99..c759ce30980 100644--- a/crates/collab_ui/src/collab_titlebar_item.rs+++ b/crates/collab_ui/src/collab_titlebar_item.rs@@ -695,6 +695,7 @@ impl CollabTitlebarItem {.menu(|cx| {ContextMenu::build(cx, |menu, _| {menu.action("Settings", zed_actions::OpenSettings.boxed_clone())+ .action("Extensions", extensions_ui::Extensions.boxed_clone()).action("Theme", theme_selector::Toggle.boxed_clone()).separator().action("Share Feedback", feedback::GiveFeedback.boxed_clone())@@ -720,6 +721,7 @@ impl CollabTitlebarItem {ContextMenu::build(cx, |menu, _| {menu.action("Settings", zed_actions::OpenSettings.boxed_clone()).action("Theme", theme_selector::Toggle.boxed_clone())+ .action("Extensions", extensions_ui::Extensions.boxed_clone()).separator().action("Share Feedback", feedback::GiveFeedback.boxed_clone())})