From a04d53f9501151da9b41aff7f8971556e31cf45b Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Fri, 21 Jul 2017 10:16:24 +0200 Subject: [PATCH] clarify TaskProvider#resolveTask --- src/vs/vscode.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 77b0bf7efda..ee6ef5dcd0b 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -3857,10 +3857,14 @@ declare module 'vscode' { provideTasks(token?: CancellationToken): ProviderResult; /** - * 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; } -- GitLab