How to inherit tasks in VSCode?

Viewed 754

VSCode allows developers to define custom tasks in .vscode/tasks.json. How to inherit VSCode's tasks.json?

tsconfig or tslint could be inherited using extends "keyword". However I have not found such option in tasks.json schema.

My use case: I have a common library that is shared across projects. The library also define various common gulp tasks. Each project inherits gulpfile, tsconfig, tslint from the common library. The only problem is with .vscode/tasks.json especially with custom problem matchers.

If the task inheritance is not yet possible, how to reuse custom problem matchers?

0 Answers
Related