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:
@@ -53,9 +53,9 @@ the close button replaces on hover.
|
|||||||
- `verticalTabs.pinnedFirst` — list pinned tabs above the rest (default `true`)
|
- `verticalTabs.pinnedFirst` — list pinned tabs above the rest (default `true`)
|
||||||
- `verticalTabs.colorByProject` — colour each row's left border by project (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.borderWidth` — width of that border in pixels (default `3`)
|
||||||
- `verticalTabs.rowSpacing` — pixels between rows (default `2`)
|
- `verticalTabs.rowSpacing` — pixels between rows (default `3`)
|
||||||
- `verticalTabs.showProject` — also show the project name as text (default `true`); turn it off and the file
|
- `verticalTabs.showProject` — also show the project name as text (default `false`, so the file name gets
|
||||||
name gets the whole row, with the border still telling you the project
|
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
|
- `verticalTabs.showDirectory` — when to show the directory: `never`, `duplicates` (default — only when two
|
||||||
open tabs share a file name), or `always`
|
open tabs share a file name), or `always`
|
||||||
- `verticalTabs.allGroups` — list every editor group, not just the active one (default `true`)
|
- `verticalTabs.allGroups` — list every editor group, not just the active one (default `true`)
|
||||||
|
|||||||
+3
-3
@@ -110,8 +110,8 @@
|
|||||||
},
|
},
|
||||||
"verticalTabs.showProject": {
|
"verticalTabs.showProject": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": false,
|
||||||
"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."
|
"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": {
|
"verticalTabs.showDirectory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
},
|
},
|
||||||
"verticalTabs.rowSpacing": {
|
"verticalTabs.rowSpacing": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 2,
|
"default": 3,
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 10,
|
"maximum": 10,
|
||||||
"description": "Pixels of vertical space between rows."
|
"description": "Pixels of vertical space between rows."
|
||||||
|
|||||||
+2
-2
@@ -142,13 +142,13 @@ export class TabsView implements vscode.WebviewViewProvider {
|
|||||||
void this.view.webview.postMessage({
|
void this.view.webview.postMessage({
|
||||||
type: 'rows',
|
type: 'rows',
|
||||||
followActive,
|
followActive,
|
||||||
rowSpacing: cfg.get<number>('rowSpacing', 2),
|
rowSpacing: cfg.get<number>('rowSpacing', 3),
|
||||||
borderWidth: cfg.get<number>('borderWidth', 3),
|
borderWidth: cfg.get<number>('borderWidth', 3),
|
||||||
rows: this.entries.map((entry): Row => ({
|
rows: this.entries.map((entry): Row => ({
|
||||||
id: entry.id,
|
id: entry.id,
|
||||||
label: entry.label,
|
label: entry.label,
|
||||||
detail: describeEntry(entry, {
|
detail: describeEntry(entry, {
|
||||||
showProject: cfg.get<boolean>('showProject', true),
|
showProject: cfg.get<boolean>('showProject', false),
|
||||||
showDirectory: showDirectory(entry),
|
showDirectory: showDirectory(entry),
|
||||||
showColumn,
|
showColumn,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user