Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add option to open settings profile selector in user menu (#35556)

Joseph T. Lyonsea7c3a23fb2e
diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rs
index 426d87ad13b..a8b16d881f4 100644
--- a/crates/title_bar/src/title_bar.rs
+++ b/crates/title_bar/src/title_bar.rs
@@ -682,6 +682,10 @@ impl TitleBar {
)
.separator()
.action("Settings", zed_actions::OpenSettings.boxed_clone())
+ .action(
+ "Settings Profiles",
+ zed_actions::settings_profile_selector::Toggle.boxed_clone(),
+ )
.action("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
.action(
"Themes…",
@@ -726,6 +730,10 @@ impl TitleBar {
.menu(|window, cx| {
ContextMenu::build(window, cx, |menu, _, _| {
menu.action("Settings", zed_actions::OpenSettings.boxed_clone())
+ .action(
+ "Settings Profiles",
+ zed_actions::settings_profile_selector::Toggle.boxed_clone(),
+ )
.action("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
.action(
"Themes…",