Give names to several toggle commands

This commit is contained in:
MinusGix 2022-05-25 12:35:19 -05:00
parent 1ba0335fe3
commit 876c04ba12
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,