提交 a04d53f9 编写于 作者: J Johannes Rieken

clarify TaskProvider#resolveTask

上级 8b77fb8a
......@@ -3857,10 +3857,14 @@ declare module 'vscode' {
provideTasks(token?: CancellationToken): ProviderResult<Task[]>;
/**
* Resolves a task the has no execution set.
* Resolves a task that has no [`execution`](#Task.execution) set. Tasks are
* often created from information found in the `task.json`-file. Such tasks miss
* the information on how to execute them and a task provider must fill in
* the missing information in the `resolveTask`-method.
*
* @param task The task to resolve.
* @param token A cancellation token.
* @return the resolved task
* @return The resolved task
*/
resolveTask(task: Task, token?: CancellationToken): ProviderResult<Task>;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册