File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11990,9 +11990,11 @@ declare module 'vscode' {
11990
11990
* by an optional set of `workspaceFoldersToAdd` on the `vscode.workspace.workspaceFolders` array. This "splice"
11991
11991
* behavior can be used to add, remove and change workspace folders in a single operation.
11992
11992
*
11993
- * If the first workspace folder is added, removed or changed, the currently executing extensions (including the
11994
- * one that called this method) will be terminated and restarted so that the (deprecated) `rootPath` property is
11995
- * updated to point to the first workspace folder.
11993
+ * **Note:** in some cases calling this method may result in the currently executing extensions (including the
11994
+ * one that called this method) to be terminated and restarted. For example when the first workspace folder is
11995
+ * added, removed or changed the (deprecated) `rootPath` property is updated to point to the first workspace
11996
+ * folder. Another case is when transitioning from an empty or single-folder workspace into a multi-folder
11997
+ * workspace (see also: https://code.visualstudio.com/docs/editor/workspaces).
11996
11998
*
11997
11999
* Use the {@linkcode onDidChangeWorkspaceFolders onDidChangeWorkspaceFolders()} event to get notified when the
11998
12000
* workspace folders have been updated.
You can’t perform that action at this time.
0 commit comments