From 14d52d952390c6563a3611bfc45e9006dc353095 Mon Sep 17 00:00:00 2001 From: Logan Ramos Date: Tue, 15 Mar 2022 09:56:51 -0400 Subject: [PATCH] Add ocmment for preserveFocus --- src/vscode-dts/vscode.proposed.tabs.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vscode-dts/vscode.proposed.tabs.d.ts b/src/vscode-dts/vscode.proposed.tabs.d.ts index c077e124548..a17be05a413 100644 --- a/src/vscode-dts/vscode.proposed.tabs.d.ts +++ b/src/vscode-dts/vscode.proposed.tabs.d.ts @@ -85,6 +85,7 @@ declare module 'vscode' { /** * Closes the tab. This makes the tab object invalid and the tab * should no longer be used for further actions. + * @param preserveFocus When `true` focus will remain in its current position. If `false` it will jump to the next tab. */ // TODO@API move into TabGroups, support one or many tabs or tab groups close(preserveFocus: boolean): Thenable;