2015-11-05 17:33:07 +01:00
|
|
|
// Available variables which can be used inside of strings.
|
|
|
|
|
// ${workspaceRoot}: the root folder of the team
|
|
|
|
|
// ${file}: the current opened file
|
|
|
|
|
// ${fileBasename}: the current opened file's basename
|
|
|
|
|
// ${fileDirname}: the current opened file's dirname
|
|
|
|
|
// ${fileExtname}: the current opened file's extension
|
|
|
|
|
// ${cwd}: the current working directory of the spawned process
|
|
|
|
|
// A task runner that calls a custom npm script that compiles the extension.
|
|
|
|
|
{
|
|
|
|
|
"version": "0.1.0",
|
2016-05-20 11:13:35 +02:00
|
|
|
// we want to run 'npm run'
|
2015-11-05 17:33:07 +01:00
|
|
|
"command": "npm",
|
2015-12-02 11:42:55 +01:00
|
|
|
"args": [
|
|
|
|
|
"run"
|
|
|
|
|
],
|
2015-11-05 17:33:07 +01:00
|
|
|
// the command is a shell script
|
2016-05-20 11:13:35 +02:00
|
|
|
"isShellCommand": true,
|
2015-12-02 11:42:55 +01:00
|
|
|
"tasks": [
|
2016-12-30 18:51:37 +01:00
|
|
|
{
|
|
|
|
|
// in package.json we have a compile task for each example
|
|
|
|
|
"taskName": "compile-completions",
|
|
|
|
|
// show the output window only if unrecognized errors occur.
|
|
|
|
|
"showOutput": "silent",
|
|
|
|
|
// The tsc compiler is started in watching mode
|
|
|
|
|
"isWatching": true,
|
|
|
|
|
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
|
|
|
|
"problemMatcher": "$tsc-watch"
|
|
|
|
|
},
|
2015-12-02 11:42:55 +01:00
|
|
|
{
|
|
|
|
|
// in package.json we have a compile task for each example
|
|
|
|
|
"taskName": "compile-decorator",
|
2016-05-20 11:13:35 +02:00
|
|
|
// show the output window only if unrecognized errors occur.
|
|
|
|
|
"showOutput": "silent",
|
|
|
|
|
// The tsc compiler is started in watching mode
|
|
|
|
|
"isWatching": true,
|
|
|
|
|
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
|
|
|
|
"problemMatcher": "$tsc-watch"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
// in package.json we have a compile task for each example
|
|
|
|
|
"taskName": "compile-previewhtml",
|
2015-12-02 11:42:55 +01:00
|
|
|
// show the output window only if unrecognized errors occur.
|
|
|
|
|
"showOutput": "silent",
|
|
|
|
|
// The tsc compiler is started in watching mode
|
2016-12-17 11:38:21 +01:00
|
|
|
"isWatching": true,
|
|
|
|
|
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
|
|
|
|
"problemMatcher": "$tsc-watch"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
// in package.json we have a compile task for each example
|
|
|
|
|
"taskName": "compile-statusbar",
|
|
|
|
|
// show the output window only if unrecognized errors occur.
|
|
|
|
|
"showOutput": "silent",
|
|
|
|
|
// The tsc compiler is started in watching mode
|
2015-12-02 11:42:55 +01:00
|
|
|
"isWatching": true,
|
2016-03-24 16:20:18 +01:00
|
|
|
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
|
|
|
|
"problemMatcher": "$tsc-watch"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
// in package.json we have a compile task for each example
|
2016-05-20 11:13:35 +02:00
|
|
|
"taskName": "compile-contentprovider",
|
2016-03-24 16:20:18 +01:00
|
|
|
// show the output window only if unrecognized errors occur.
|
|
|
|
|
"showOutput": "silent",
|
|
|
|
|
// The tsc compiler is started in watching mode
|
|
|
|
|
"isWatching": true,
|
2016-12-15 19:48:12 +01:00
|
|
|
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
|
|
|
|
"problemMatcher": "$tsc-watch"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
// in package.json we have a compile task for each example
|
|
|
|
|
"taskName": "compile-languageprovider",
|
|
|
|
|
// show the output window only if unrecognized errors occur.
|
|
|
|
|
"showOutput": "silent",
|
|
|
|
|
// The tsc compiler is started in watching mode
|
|
|
|
|
"isWatching": true,
|
2015-12-02 11:42:55 +01:00
|
|
|
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
|
|
|
|
"problemMatcher": "$tsc-watch"
|
|
|
|
|
}
|
|
|
|
|
]
|
2016-12-30 18:51:37 +01:00
|
|
|
}
|