Improve resolveTask documentation
This commit is contained in:
parent
ab12e39334
commit
684a452605
1 changed files with 4 additions and 0 deletions
4
src/vs/vscode.d.ts
vendored
4
src/vs/vscode.d.ts
vendored
|
@ -6674,6 +6674,10 @@ declare module 'vscode' {
|
|||
* tasks are always fully resolved. A valid default implementation for the
|
||||
* `resolveTask` method is to return `undefined`.
|
||||
*
|
||||
* Note that when filling in the properties of `task`, you _must_ be sure to
|
||||
* use the exact same `TaskDefinition` and not create a new one. Other properties
|
||||
* may be changed.
|
||||
*
|
||||
* @param task The task to resolve.
|
||||
* @param token A cancellation token.
|
||||
* @return The resolved task
|
||||
|
|
Loading…
Reference in a new issue