Skip to content

Commit b25e3bc

Browse files
committed
update editor tabs docs
1 parent c154cc3 commit b25e3bc

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

docs/getstarted/settings.md

+18-12
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ Below are the Visual Studio Code default settings and their values. You can also
13751375
// The opacity fraction (0.2 to 1.0) to use for unfocused editors and terminals. This will only take effect when `accessibility.dimUnfocused.enabled` is enabled.
13761376
"accessibility.dimUnfocused.opacity": 0.75,
13771377

1378-
// Controls the height of editor tabs. Also applies to the title control bar when `workbench.editor.showTabs` is disabled.
1378+
// Controls the height of editor tabs. Also applies to the title control bar when `workbench.editor.showTabs` is not set to `multiple`.
13791379
"window.density.editorTabHeight": "default",
13801380

13811381
// Controls the behavior of clicking an activity bar icon in the workbench.
@@ -1446,8 +1446,8 @@ Below are the Visual Studio Code default settings and their values. You can also
14461446
// The default editor for files detected as binary. If undefined, the user will be presented with a picker.
14471447
"workbench.editor.defaultBinaryEditor": "",
14481448

1449-
// Controls whether to maximize/restore the editor group when double clicking on a tab. This value is ignored when `workbench.editor.showTabs` is disabled.
1450-
"workbench.editor.doubleClickTabToToggleEditorGroupSizes": true,
1449+
// Controls whether to expand/restore or maximize/restore the editor group when double clicking on a tab. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
1450+
"workbench.editor.doubleClickTabToToggleEditorGroupSizes": "expand",
14511451

14521452
// Controls if the empty editor text hint should be visible in the editor.
14531453
"workbench.editor.empty.hint": "text",
@@ -1464,7 +1464,7 @@ Below are the Visual Studio Code default settings and their values. You can also
14641464
// Controls whether editors are closed in most recently used order or from left to right.
14651465
"workbench.editor.focusRecentEditorAfterClose": true,
14661466

1467-
// Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `workbench.editor.showTabs` is disabled.
1467+
// Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
14681468
"workbench.editor.highlightModifiedTabs": false,
14691469

14701470
// Enables use of editor history in language detection. This causes automatic language detection to favor languages that have been recently opened and allows for automatic language detection to operate with smaller inputs.
@@ -1513,7 +1513,7 @@ Below are the Visual Studio Code default settings and their values. You can also
15131513
// Controls the default direction of editors that are opened side by side (for example, from the Explorer). By default, editors will open on the right hand side of the currently active one. If changed to `down`, the editors will open below the currently active one.
15141514
"workbench.editor.openSideBySideDirection": "right",
15151515

1516-
// Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when `workbench.editor.showTabs` is disabled.
1516+
// Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
15171517
// - normal: A pinned tab inherits the look of non pinned tabs.
15181518
// - compact: A pinned tab will show in a compact form with only icon or first letter of the editor name.
15191519
// - shrink: A pinned tab shrinks to a compact fixed size showing parts of the editor name.
@@ -1538,7 +1538,7 @@ Below are the Visual Studio Code default settings and their values. You can also
15381538
// Controls whether an editor is revealed in any of the visible groups if opened. If disabled, an editor will prefer to open in the currently active editor group. If enabled, an already opened editor will be revealed instead of opened again in the currently active editor group. Note that there are some cases where this setting is ignored, such as when forcing an editor to open in a specific group or to the side of the currently active group.
15391539
"workbench.editor.revealIfOpen": false,
15401540

1541-
// Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when `workbench.editor.showTabs` is disabled.
1541+
// Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
15421542
"workbench.editor.scrollToSwitchTabs": false,
15431543

15441544
// Preserves the most recent editor view state (such as scroll position) across all editor groups and restores that if no specific editor view state is found for the editor group.
@@ -1564,10 +1564,16 @@ Below are the Visual Studio Code default settings and their values. You can also
15641564
// - split: Splits the active editor group to equal parts.
15651565
"workbench.editor.splitSizing": "auto",
15661566

1567-
// Controls the position of the editor's tabs close buttons, or disables them when set to 'off'. This value is ignored when `workbench.editor.showTabs` is disabled.
1568-
"workbench.editor.tabCloseButton": "right",
1567+
// Controls whether the tab close button is shown or not. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
1568+
"workbench.editor.tabActionCloseVisibility": true,
15691569

1570-
// Controls the size of editor tabs. This value is ignored when `workbench.editor.showTabs` is disabled.
1570+
// Controls whether the unpin button is shown or not when a tab is pinned. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
1571+
"workbench.editor.tabActionUnpinVisibility": true,
1572+
1573+
// Controls whether the actions on the tab are positioned to the right or left of the tab label. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
1574+
"workbench.editor.tabActionLocation": "right",
1575+
1576+
// Controls the size of editor tabs. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
15711577
// - fit: Always keep tabs large enough to show the full editor label.
15721578
// - shrink: Allow tabs to get smaller when the available space is not enough to show all tabs at once.
15731579
// - fixed: Make all tabs the same size, while allowing them to get smaller when the available space is not enough to show all tabs at once.
@@ -1589,7 +1595,7 @@ Below are the Visual Studio Code default settings and their values. You can also
15891595
// - name: The name of the untitled file is not derived from the contents of the file.
15901596
"workbench.editor.untitled.labelFormat": "content",
15911597

1592-
// Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `workbench.editor.showTabs` is disabled.
1598+
// Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `workbench.editor.showTabs` is not set to `multiple`.
15931599
"workbench.editor.wrapTabs": false,
15941600

15951601
// Configure glob patterns to editors (for example `"*.hex": "hexEditor.hexedit"`). These have precedence over the default behavior.
@@ -2021,8 +2027,8 @@ Below are the Visual Studio Code default settings and their values. You can also
20212027
// Controls whether turning on Zen Mode also hides the status bar at the bottom of the workbench.
20222028
"zenMode.hideStatusBar": true,
20232029

2024-
// Controls whether turning on Zen Mode also hides workbench tabs.
2025-
"zenMode.hideTabs": true,
2030+
// Controls whether turning on Zen Mode shows workbench tabs.
2031+
"zenMode.showTabs": "multiple",
20262032

20272033
// Controls whether a window should restore to Zen Mode if it was exited in Zen Mode.
20282034
"zenMode.restore": true,

0 commit comments

Comments
 (0)