Skip to content

Commit 3d7ff4a

Browse files
authored
Merge pull request microsoft#196411 from microsoft/benibenj/TabBarViewMenu
Add Tab Bar submenu to View Appearance menu
2 parents a8b7239 + 72b6996 commit 3d7ff4a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/vs/workbench/browser/actions/layoutActions.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,15 @@ export class ShowSingleEditorTabAction extends Action2 {
548548
}
549549
registerAction2(ShowSingleEditorTabAction);
550550

551+
// --- Tab Bar Submenu in View Appearance Menu
552+
553+
MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
554+
submenu: MenuId.EditorTabsBarShowTabsSubmenu,
555+
title: localize('tabBar', "Tab Bar"),
556+
group: '4_editor',
557+
order: 6
558+
});
559+
551560
// --- Toggle Pinned Tabs On Separate Row
552561

553562
registerAction2(class extends Action2 {

0 commit comments

Comments
 (0)