@@ -351,8 +351,8 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_
351
351
MenuRegistry . appendMenuItem ( MenuId . EditorTabsBarContext , { command : { id : SPLIT_EDITOR_DOWN , title : localize ( 'splitDown' , "Split Down" ) } , group : '2_split' , order : 20 } ) ;
352
352
MenuRegistry . appendMenuItem ( MenuId . EditorTabsBarContext , { command : { id : SPLIT_EDITOR_LEFT , title : localize ( 'splitLeft' , "Split Left" ) } , group : '2_split' , order : 30 } ) ;
353
353
MenuRegistry . appendMenuItem ( MenuId . EditorTabsBarContext , { command : { id : SPLIT_EDITOR_RIGHT , title : localize ( 'splitRight' , "Split Right" ) } , group : '2_split' , order : 40 } ) ;
354
- MenuRegistry . appendMenuItem ( MenuId . EditorTabsBarContext , { command : { id : ToggleTabsVisibilityAction . ID , title : localize ( 'toggleTabs' , "Enable Tabs" ) , toggled : ContextKeyExpr . has ( 'config.workbench.editor.showTabs' ) } , group : '3_config' , order : 10 } ) ;
355
- MenuRegistry . appendMenuItem ( MenuId . EditorTabsBarContext , { command : { id : ToggleSeparatePinnedTabsAction . ID , title : localize ( 'separatePinnedTabs ' , "Separate Pinned Tabs" ) , toggled : ContextKeyExpr . has ( 'config.workbench.editor.pinnedTabsOnSeparateRow' ) } , when : EditorPinnedAndUnpinnedTabsContext , group : '3_config' , order : 20 } ) ;
354
+ MenuRegistry . appendMenuItem ( MenuId . EditorTabsBarContext , { command : { id : ToggleTabsVisibilityAction . ID , title : localize ( 'toggleTabs' , "Editor Tabs" ) , toggled : ContextKeyExpr . has ( 'config.workbench.editor.showTabs' ) } , group : '3_config' , order : 10 } ) ;
355
+ MenuRegistry . appendMenuItem ( MenuId . EditorTabsBarContext , { command : { id : ToggleSeparatePinnedTabsAction . ID , title : localize ( 'toggleSeparatePinnedEditorTabs ' , "Separate Pinned Editor Tabs" ) , toggled : ContextKeyExpr . has ( 'config.workbench.editor.pinnedTabsOnSeparateRow' ) } , when : EditorPinnedAndUnpinnedTabsContext , group : '3_config' , order : 20 } ) ;
356
356
357
357
// Editor Title Context Menu
358
358
MenuRegistry . appendMenuItem ( MenuId . EditorTitleContext , { command : { id : CLOSE_EDITOR_COMMAND_ID , title : localize ( 'close' , "Close" ) } , group : '1_close' , order : 10 } ) ;
@@ -376,7 +376,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SID
376
376
MenuRegistry . appendMenuItem ( MenuId . EditorTitle , { command : { id : SHOW_EDITORS_IN_GROUP , title : localize ( 'showOpenedEditors' , "Show Opened Editors" ) } , group : '3_open' , order : 10 } ) ;
377
377
MenuRegistry . appendMenuItem ( MenuId . EditorTitle , { command : { id : CLOSE_EDITORS_IN_GROUP_COMMAND_ID , title : localize ( 'closeAll' , "Close All" ) } , group : '5_close' , order : 10 } ) ;
378
378
MenuRegistry . appendMenuItem ( MenuId . EditorTitle , { command : { id : CLOSE_SAVED_EDITORS_COMMAND_ID , title : localize ( 'closeAllSaved' , "Close Saved" ) } , group : '5_close' , order : 20 } ) ;
379
- MenuRegistry . appendMenuItem ( MenuId . EditorTitle , { command : { id : ToggleTabsVisibilityAction . ID , title : localize ( 'toggleTabs' , "Enable Tabs" ) , toggled : ContextKeyExpr . has ( 'config.workbench.editor.showTabs' ) } , group : '7_settings' , order : 5 , when : ContextKeyExpr . has ( 'config.workbench.editor.showTabs' ) . negate ( ) /* only shown here when tabs are disabled */ } ) ;
379
+ MenuRegistry . appendMenuItem ( MenuId . EditorTitle , { command : { id : ToggleTabsVisibilityAction . ID , title : localize ( 'toggleTabs' , "Editor Tabs" ) , toggled : ContextKeyExpr . has ( 'config.workbench.editor.showTabs' ) } , group : '7_settings' , order : 5 , when : ContextKeyExpr . has ( 'config.workbench.editor.showTabs' ) . negate ( ) /* only shown here when tabs are disabled */ } ) ;
380
380
MenuRegistry . appendMenuItem ( MenuId . EditorTitle , { command : { id : TOGGLE_KEEP_EDITORS_COMMAND_ID , title : localize ( 'togglePreviewMode' , "Enable Preview Editors" ) , toggled : ContextKeyExpr . has ( 'config.workbench.editor.enablePreview' ) } , group : '7_settings' , order : 10 } ) ;
381
381
MenuRegistry . appendMenuItem ( MenuId . EditorTitle , { command : { id : TOGGLE_LOCK_GROUP_COMMAND_ID , title : localize ( 'lockGroup' , "Lock Group" ) , toggled : ActiveEditorGroupLockedContext } , group : '8_lock' , order : 10 , when : MultipleEditorGroupsContext } ) ;
382
382
0 commit comments