提交 bb7b7dc7 编写于 作者: A Alex Ross

Fix doc comment for CustomExecution api

Fixes #110981
上级 936048e0
......@@ -6186,14 +6186,13 @@ declare module 'vscode' {
*/
export class CustomExecution {
/**
* Constructs a CustomExecution task object. The callback will be executed the task is run, at which point the
* Constructs a CustomExecution task object. The callback will be executed when the task is run, at which point the
* extension should return the Pseudoterminal it will "run in". The task should wait to do further execution until
* [Pseudoterminal.open](#Pseudoterminal.open) is called. Task cancellation should be handled using
* [Pseudoterminal.close](#Pseudoterminal.close). When the task is complete fire
* [Pseudoterminal.onDidClose](#Pseudoterminal.onDidClose).
* @param process The [Pseudoterminal](#Pseudoterminal) to be used by the task to display output.
* @param callback The callback that will be called when the task is started by a user. Any ${} style variables that
* were in the task definition will be resolved and passed into the callback.
* were in the task definition will be resolved and passed into the callback as `resolvedDefinition`.
*/
constructor(callback: (resolvedDefinition: TaskDefinition) => Thenable<Pseudoterminal>);
}
......@@ -9966,7 +9965,7 @@ declare module 'vscode' {
* flags to ignore certain kinds of events can be provided. To stop listening to events the watcher must be disposed.
*
* *Note* that only files within the current [workspace folders](#workspace.workspaceFolders) can be watched.
* *Note* that when watching for file changes such as '**​/*.js', notifications will not be sent when a parent folder is
* *Note* that when watching for file changes such as '**​/*.js', notifications will not be sent when a parent folder is
* moved or deleted (this is a known limitation of the current implementation and may change in the future).
*
* @param globPattern A [glob pattern](#GlobPattern) that is applied to the absolute paths of created, changed,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册