@@ -250,29 +250,32 @@ declare module 'vscode' {
250250 *
251251 * @param kind The task kind as defined in the 'taskKinds' extension point.
252252 * @param name The task's name. Is presented in the user interface.
253+ * @param source The task's source (e.g. 'gulp', 'npm', ...). Is presented in the user interface.
253254 */
254- constructor ( kind : TaskKind , name : string ) ;
255+ constructor ( kind : TaskKind , name : string , source : string ) ;
255256
256257 /**
257258 * Creates a new task.
258259 *
259260 * @param kind The task kind as defined in the 'taskKinds' extension point.
260261 * @param name The task's name. Is presented in the user interface.
262+ * @param source The task's source (e.g. 'gulp', 'npm', ...). Is presented in the user interface.
261263 * @param execution The process or shell execution.
262264 */
263- constructor ( kind : TaskKind , name : string , execution : ProcessExecution | ShellExecution ) ;
265+ constructor ( kind : TaskKind , name : string , source : string , execution : ProcessExecution | ShellExecution ) ;
264266
265267 /**
266268 * Creates a new task.
267269 *
268270 * @param kind The task kind as defined in the 'taskKinds' extension point.
269271 * @param name The task's name. Is presented in the user interface.
272+ * @param source The task's source (e.g. 'gulp', 'npm', ...). Is presented in the user interface.
270273 * @param execution The process or shell execution.
271274 * @param problemMatchers the names of problem matchers to use, like '$tsc'
272275 * or '$eslint'. Problem matchers can be contributed by an extension using
273276 * the `problemMatchers` extension point.
274277 */
275- constructor ( kind : TaskKind , name : string , execution : ProcessExecution | ShellExecution , problemMatchers ?: string | string [ ] ) ;
278+ constructor ( kind : TaskKind , name : string , source : string , execution : ProcessExecution | ShellExecution , problemMatchers ?: string | string [ ] ) ;
276279
277280 /**
278281 * The task's kind.
0 commit comments