From 0457318795a2ccaa92ca365da0aa04a6a9c2c76e Mon Sep 17 00:00:00 2001 From: isidor Date: Mon, 31 Oct 2016 16:04:21 +0100 Subject: [PATCH] Provide workbench.action.closePanel for keybindings fixes #14674 --- src/vs/workbench/browser/parts/panel/panelPart.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/browser/parts/panel/panelPart.ts b/src/vs/workbench/browser/parts/panel/panelPart.ts index 207a1196226..5e80429e6b6 100644 --- a/src/vs/workbench/browser/parts/panel/panelPart.ts +++ b/src/vs/workbench/browser/parts/panel/panelPart.ts @@ -112,7 +112,7 @@ export class PanelPart extends CompositePart implements IPanelService { class ClosePanelAction extends Action { static ID = 'workbench.action.closePanel'; - static LABEL = nls.localize('closePanel', "Close"); + static LABEL = nls.localize('closePanel', "Close Panel"); constructor( id: string, @@ -205,3 +205,4 @@ let actionRegistry = Registry.as(WorkbenchExtensions.W actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(TogglePanelAction, TogglePanelAction.ID, TogglePanelAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.KEY_J }), 'View: Toggle Panel Visibility', nls.localize('view', "View")); actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(FocusPanelAction, FocusPanelAction.ID, FocusPanelAction.LABEL), 'View: Focus into Panel', nls.localize('view', "View")); actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(ToggleMaximizedPanelAction, ToggleMaximizedPanelAction.ID, ToggleMaximizedPanelAction.LABEL), 'View: Toggle Maximized Panel', nls.localize('view', "View")); +actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(ClosePanelAction, ClosePanelAction.ID, ClosePanelAction.LABEL), 'View: Close Panel', nls.localize('view', "View"));