Add ocmment for preserveFocus

pull/145132/head
Logan Ramos 2022-03-15 09:56:51 -04:00
parent ed5a545047
commit 14d52d9523
No known key found for this signature in database
GPG Key ID: D9CCFF14F0B18183
1 changed files with 1 additions and 0 deletions

View File

@ -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<void>;