Adds "Execution Plan" prefix to Execution Plan commands (#19842)

* Prefixes execution plan commands, so they are easier to find

* Provides category argument to categorize commands.
This commit is contained in:
Lewis Sanchez
2022-06-28 11:42:25 -07:00
committed by GitHub
parent ebb1dcdfba
commit b01642aec1
2 changed files with 3 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
value: localize('executionPlanCompareCommandValue', "Compare execution plans"), value: localize('executionPlanCompareCommandValue', "Compare execution plans"),
original: localize('executionPlanCompareCommandOriginalValue', "Compare execution plans") original: localize('executionPlanCompareCommandOriginalValue', "Compare execution plans")
}, },
category: 'Execution Plan' category: localize('ExecutionPlan', 'Execution Plan')
} }
}); });

View File

@@ -142,7 +142,8 @@ actionRegistry.registerWorkbenchAction(
EstimatedExecutionPlanKeyboardAction.LABEL, EstimatedExecutionPlanKeyboardAction.LABEL,
{ primary: KeyMod.CtrlCmd | KeyCode.KEY_L } { primary: KeyMod.CtrlCmd | KeyCode.KEY_L }
), ),
EstimatedExecutionPlanKeyboardAction.LABEL EstimatedExecutionPlanKeyboardAction.LABEL,
localize('ExecutionPlan', 'Execution Plan')
); );
actionRegistry.registerWorkbenchAction( actionRegistry.registerWorkbenchAction(