Start working on command_palette2
This commit is contained in:
parent
ad3b0bd227
commit
d184e0d426
11 changed files with 822 additions and 156 deletions
34
crates/zed_actions2/src/lib.rs
Normal file
34
crates/zed_actions2/src/lib.rs
Normal file
|
@ -0,0 +1,34 @@
|
|||
use gpui::{action, actions};
|
||||
|
||||
actions!(
|
||||
About,
|
||||
DebugElements,
|
||||
DecreaseBufferFontSize,
|
||||
Hide,
|
||||
HideOthers,
|
||||
IncreaseBufferFontSize,
|
||||
Minimize,
|
||||
OpenDefaultKeymap,
|
||||
OpenDefaultSettings,
|
||||
OpenKeymap,
|
||||
OpenLicenses,
|
||||
OpenLocalSettings,
|
||||
OpenLog,
|
||||
OpenSettings,
|
||||
OpenTelemetryLog,
|
||||
Quit,
|
||||
ResetBufferFontSize,
|
||||
ResetDatabase,
|
||||
ShowAll,
|
||||
ToggleFullScreen,
|
||||
Zoom,
|
||||
);
|
||||
|
||||
#[action]
|
||||
pub struct OpenBrowser {
|
||||
pub url: String,
|
||||
}
|
||||
#[action]
|
||||
pub struct OpenZedURL {
|
||||
pub url: String,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue