Merge pull request #550 from MinusGix/minor-toggle-names

Give names to several toggle commands
This commit is contained in:
Dongdong Zhou 2022-05-26 09:42:04 +01:00 committed by GitHub
commit 479e1a532c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -306,15 +306,19 @@ pub enum LapceWorkbenchCommand {
#[strum(serialize = "toggle_source_control_focus")]
ToggleSourceControlFocus,
#[strum(message = "Toggle Plugin Focus")]
#[strum(serialize = "toggle_plugin_focus")]
TogglePluginFocus,
#[strum(message = "Toggle File Explorer Focus")]
#[strum(serialize = "toggle_file_explorer_focus")]
ToggleFileExplorerFocus,
#[strum(message = "Toggle Problem Focus")]
#[strum(serialize = "toggle_problem_focus")]
ToggleProblemFocus,
#[strum(message = "Toggle Search Focus")]
#[strum(serialize = "toggle_search_focus")]
ToggleSearchFocus,