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

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2025-08-03 19:25:23 -04:00 committed by GitHub
parent f14f0c24d6
commit ea7c3a23fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -682,6 +682,10 @@ impl TitleBar {
) )
.separator() .separator()
.action("Settings", zed_actions::OpenSettings.boxed_clone()) .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("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
.action( .action(
"Themes…", "Themes…",
@ -726,6 +730,10 @@ impl TitleBar {
.menu(|window, cx| { .menu(|window, cx| {
ContextMenu::build(window, cx, |menu, _, _| { ContextMenu::build(window, cx, |menu, _, _| {
menu.action("Settings", zed_actions::OpenSettings.boxed_clone()) 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("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
.action( .action(
"Themes…", "Themes…",