add command to copy system information to the clipboard

This commit is contained in:
Joseph Lyons 2022-12-22 03:24:21 -05:00
parent c8b209306e
commit eeb5b03d63
2 changed files with 57 additions and 8 deletions

View file

@ -339,10 +339,8 @@ pub fn menus() -> Vec<Menu<'static>> {
},
MenuItem::Separator,
MenuItem::Action {
name: "Documentation",
action: Box::new(crate::OpenBrowser {
url: "https://zed.dev/docs".into(),
}),
name: "Copy System Details Into Clipboard",
action: Box::new(workspace::CopySystemDetailsIntoClipboard),
},
MenuItem::Action {
name: "Give Feedback",
@ -350,6 +348,13 @@ pub fn menus() -> Vec<Menu<'static>> {
url: super::feedback::NEW_ISSUE_URL.into(),
}),
},
MenuItem::Separator,
MenuItem::Action {
name: "Documentation",
action: Box::new(crate::OpenBrowser {
url: "https://zed.dev/docs".into(),
}),
},
MenuItem::Action {
name: "Zed Twitter",
action: Box::new(crate::OpenBrowser {