A TaskContribution allows to contribute custom TaskResolvers and/or TaskProviders.
@injectable()export class ProcessTaskContribution implements TaskContribution { @inject(ProcessTaskResolver) protected readonly processTaskResolver: ProcessTaskResolver; registerResolvers(resolvers: TaskResolverRegistry): void { resolvers.register('process', this.processTaskResolver); resolvers.register('shell', this.processTaskResolver); }}
Register task providers using the given TaskProviderRegistry.
TaskProviderRegistry
Register task resolvers using the given TaskResolverRegistry.
TaskResolverRegistry
the task resolver registry.
A TaskContribution allows to contribute custom TaskResolvers and/or TaskProviders.
Example usage