mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
configure layout directly with both option
This commit is contained in:
parent
5f5e1ca791
commit
421e8bd7a1
|
@ -223,7 +223,7 @@ MenuRegistry.appendMenuItem(MenuId.LayoutControlMenu, {
|
|||
title: localize('configureLayout', "Configure Layout"),
|
||||
icon: configureLayoutIcon,
|
||||
group: '1_workbench_layout',
|
||||
when: ContextKeyExpr.or(ContextKeyExpr.equals('config.workbench.experimental.layoutControl.type', 'menu'), ContextKeyExpr.equals('config.workbench.experimental.layoutControl.type', 'both'))
|
||||
when: ContextKeyExpr.equals('config.workbench.experimental.layoutControl.type', 'menu')
|
||||
});
|
||||
|
||||
|
||||
|
@ -1170,10 +1170,16 @@ registerAction2(class CustomizeLayoutAction extends Action2 {
|
|||
id: 'workbench.action.customizeLayout',
|
||||
title: localize('customizeLayout', "Customize Layout..."),
|
||||
f1: true,
|
||||
icon: configureLayoutIcon,
|
||||
menu: [
|
||||
{
|
||||
id: MenuId.LayoutControlMenuSubmenu,
|
||||
group: 'z_end',
|
||||
},
|
||||
{
|
||||
id: MenuId.LayoutControlMenu,
|
||||
when: ContextKeyExpr.equals('config.workbench.experimental.layoutControl.type', 'both'),
|
||||
group: 'z_end'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
|
|
@ -77,7 +77,7 @@ MenuRegistry.appendMenuItems([
|
|||
title: localize('miShowAuxiliaryBarNoMnemonic', "Show Secondary Side Bar"),
|
||||
toggled: AuxiliaryBarVisibleContext
|
||||
},
|
||||
order: 4
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue