From 7ca1f2cce8d867f946d9843a7ac28f59cd8c81da Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Fri, 22 Oct 2021 14:45:56 +0200 Subject: [PATCH] clarify doc, fixes https://github.com/microsoft/vscode/issues/126748 --- src/vs/vscode.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 873c4cb9b02..5091c67c1e8 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -766,8 +766,9 @@ declare module 'vscode' { preserveFocus?: boolean; /** - * An optional flag that controls if an {@link TextEditor editor}-tab will be replaced - * with the next editor or if it will be kept. + * An optional flag that controls if an {@link TextEditor editor}-tab shows as preview. Preview tabs will + * be replaced and reused until set to stay - either explicitly or through editing. The default behaviour depends + * on the `workbench.editor.enablePreview`-setting. */ preview?: boolean;