mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
api - update docs around onDidChangeWorkspaceFolders
(fix #137263)
This commit is contained in:
parent
c0d8e78359
commit
5c52ca4dac
5
src/vscode-dts/vscode.d.ts
vendored
5
src/vscode-dts/vscode.d.ts
vendored
|
@ -10784,6 +10784,11 @@ declare module 'vscode' {
|
|||
|
||||
/**
|
||||
* An event that is emitted when a workspace folder is added or removed.
|
||||
*
|
||||
* **Note:** this event will not fire if the first workspace folder is added, removed or changed,
|
||||
* because in that case the currently executing extensions (including the one that listens to this
|
||||
* event) will be terminated and restarted so that the (deprecated) `rootPath` property is updated
|
||||
* to point to the first workspace folder.
|
||||
*/
|
||||
export const onDidChangeWorkspaceFolders: Event<WorkspaceFoldersChangeEvent>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue