mirror of
https://github.com/Microsoft/vscode
synced 2024-07-17 02:57:19 +00:00
Add ocmment for preserveFocus
This commit is contained in:
parent
ed5a545047
commit
14d52d9523
1
src/vscode-dts/vscode.proposed.tabs.d.ts
vendored
1
src/vscode-dts/vscode.proposed.tabs.d.ts
vendored
|
@ -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>;
|
||||
|
|
Loading…
Reference in a new issue