A1: layout.get/layout.set keep the editor tab layout per project; editor.tabs.preview setting

The tab layout of the open project lives in <data_dir>/layout/<project-id>.json
(written atomically, 256 KiB cap both ways, a broken file reads as null),
never in webview storage. New bool setting editor.tabs.preview (default on).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-11-08 12:18:28 +01:00
parent 1c6c67194a
commit 02922eb89d
6 changed files with 295 additions and 0 deletions

View file

@ -209,6 +209,7 @@ fn settings_changes_stream_and_persist() {
"editor.completion.autoPopup": true,
"editor.completion.delayMs": 0,
"editor.hover.delayMs": 350,
"editor.tabs.preview": true,
"git.executable": "",
"git.pull.mode": "merge"
}),