Defaults: 3px row spacing, project name off

The left border already says which project a row belongs to, so the
file name gets the whole row by default.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169iPWwKHZoBTNN9qwXiwqk
This commit is contained in:
max
2026-09-08 19:07:41 +02:00
co-authored by Claude Fable 5.1
parent e60df4bdf6
commit c6bd7485f9
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -53,9 +53,9 @@ the close button replaces on hover.
- `verticalTabs.pinnedFirst` — list pinned tabs above the rest (default `true`)
- `verticalTabs.colorByProject` — colour each row's left border by project (default `true`)
- `verticalTabs.borderWidth` — width of that border in pixels (default `3`)
- `verticalTabs.rowSpacing` — pixels between rows (default `2`)
- `verticalTabs.showProject` — also show the project name as text (default `true`); turn it off and the file
name gets the whole row, with the border still telling you the project
- `verticalTabs.rowSpacing` — pixels between rows (default `3`)
- `verticalTabs.showProject` — also show the project name as text (default `false`, so the file name gets
the whole row and the border alone tells you the project); turn it on for the name in text too
- `verticalTabs.showDirectory` — when to show the directory: `never`, `duplicates` (default — only when two
open tabs share a file name), or `always`
- `verticalTabs.allGroups` — list every editor group, not just the active one (default `true`)
+3 -3
View File
@@ -110,8 +110,8 @@
},
"verticalTabs.showProject": {
"type": "boolean",
"default": true,
"description": "Show the project name beside the file. The row's left border already encodes the project, so turning this off gives the file name the whole row."
"default": false,
"description": "Show the project name beside the file. Off by default: the row's left border already encodes the project, so the file name gets the whole row."
},
"verticalTabs.showDirectory": {
"type": "string",
@@ -159,7 +159,7 @@
},
"verticalTabs.rowSpacing": {
"type": "number",
"default": 2,
"default": 3,
"minimum": 0,
"maximum": 10,
"description": "Pixels of vertical space between rows."
+2 -2
View File
@@ -142,13 +142,13 @@ export class TabsView implements vscode.WebviewViewProvider {
void this.view.webview.postMessage({
type: 'rows',
followActive,
rowSpacing: cfg.get<number>('rowSpacing', 2),
rowSpacing: cfg.get<number>('rowSpacing', 3),
borderWidth: cfg.get<number>('borderWidth', 3),
rows: this.entries.map((entry): Row => ({
id: entry.id,
label: entry.label,
detail: describeEntry(entry, {
showProject: cfg.get<boolean>('showProject', true),
showProject: cfg.get<boolean>('showProject', false),
showDirectory: showDirectory(entry),
showColumn,
}),