diff --git a/basic-multi-root-sample/.vscode/launch.json b/basic-multi-root-sample/.vscode/launch.json index cd6b87bd0..ff9770a05 100644 --- a/basic-multi-root-sample/.vscode/launch.json +++ b/basic-multi-root-sample/.vscode/launch.json @@ -11,7 +11,7 @@ "stopOnEntry": false, "sourceMaps": true, "outFiles": [ "${workspaceRoot}/out/src/**/*.js" ], - "preLaunchTask": "npm" + "preLaunchTask": "tsc: watch - tsconfig.json" }, { "name": "Launch Tests", @@ -22,7 +22,7 @@ "stopOnEntry": false, "sourceMaps": true, "outFiles": [ "${workspaceRoot}/out/test/**/*.js" ], - "preLaunchTask": "npm" + "preLaunchTask": "tsc: watch - tsconfig.json" } ] } diff --git a/basic-multi-root-sample/.vscode/settings.json b/basic-multi-root-sample/.vscode/settings.json index d13713339..0e15ff196 100644 --- a/basic-multi-root-sample/.vscode/settings.json +++ b/basic-multi-root-sample/.vscode/settings.json @@ -5,5 +5,6 @@ }, "search.exclude": { "out": true // set this to false to include "out" folder in search results - } + }, + "typescript.tsc.autoDetect": "off" // Turn off tsc task auto detection since we have the necessary task as npm scripts } \ No newline at end of file diff --git a/basic-multi-root-sample/.vscode/tasks.json b/basic-multi-root-sample/.vscode/tasks.json index 1e37eb7bb..604e38f5a 100644 --- a/basic-multi-root-sample/.vscode/tasks.json +++ b/basic-multi-root-sample/.vscode/tasks.json @@ -1,30 +1,20 @@ -// 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. +// See https://go.microsoft.com/fwlink/?LinkId=733558 +// for the documentation about the tasks.json format { - "version": "0.1.0", - - // we want to run npm - "command": "npm", - - // the command is a shell script - "isShellCommand": true, - - // show the output window only if unrecognized errors occur. - "showOutput": "silent", - - // we run the custom script "compile" as defined in package.json - "args": ["run", "compile", "--loglevel", "silent"], - - // The tsc compiler is started in watching mode - "isBackground": true, - - // use the standard tsc in watch mode problem matcher to find compile problems in the output. - "problemMatcher": "$tsc-watch" + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "watch", + "problemMatcher": "$tsc-watch", + "isBackground": true, + "presentation": { + "reveal": "never" + }, + "group": { + "kind": "build", + "isDefault": true + } + } + ] } \ No newline at end of file diff --git a/nodefs-provider-sample/.vscode/settings.json b/nodefs-provider-sample/.vscode/settings.json index d13713339..0e15ff196 100644 --- a/nodefs-provider-sample/.vscode/settings.json +++ b/nodefs-provider-sample/.vscode/settings.json @@ -5,5 +5,6 @@ }, "search.exclude": { "out": true // set this to false to include "out" folder in search results - } + }, + "typescript.tsc.autoDetect": "off" // Turn off tsc task auto detection since we have the necessary task as npm scripts } \ No newline at end of file diff --git a/progress-sample/.vscode/launch.json b/progress-sample/.vscode/launch.json index c776d21ec..886b6ad17 100644 --- a/progress-sample/.vscode/launch.json +++ b/progress-sample/.vscode/launch.json @@ -11,7 +11,7 @@ "stopOnEntry": false, "sourceMaps": true, "outFiles": ["${workspaceRoot}/out/src/**/*.js"], - "preLaunchTask": "npm" + "preLaunchTask": "tsc: watch - tsconfig.json" }, { "name": "Launch Tests", @@ -22,7 +22,7 @@ "stopOnEntry": false, "sourceMaps": true, "outFiles": ["${workspaceRoot}/out/test/**/*.js"], - "preLaunchTask": "npm" + "preLaunchTask": "tsc: watch - tsconfig.json" } ] } diff --git a/progress-sample/.vscode/settings.json b/progress-sample/.vscode/settings.json index 3f5aa9cf9..dfcf0a56b 100644 --- a/progress-sample/.vscode/settings.json +++ b/progress-sample/.vscode/settings.json @@ -6,5 +6,6 @@ "search.exclude": { "out": true // set this to false to include "out" folder in search results }, - "typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version + "typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version + "typescript.tsc.autoDetect": "off" // Turn off tsc task auto detection since we have the necessary task as npm scripts } \ No newline at end of file diff --git a/progress-sample/.vscode/tasks.json b/progress-sample/.vscode/tasks.json index 1992757d7..3f2783c3e 100644 --- a/progress-sample/.vscode/tasks.json +++ b/progress-sample/.vscode/tasks.json @@ -1,30 +1,20 @@ -// 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. +// See https://go.microsoft.com/fwlink/?LinkId=733558 +// for the documentation about the tasks.json format { - "version": "0.1.0", - - // we want to run npm - "command": "npm", - - // the command is a shell script - "isShellCommand": true, - - // show the output window only if unrecognized errors occur. - "showOutput": "silent", - - // we run the custom script "compile" as defined in package.json - "args": ["run", "compile", "--loglevel", "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" + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "watch", + "problemMatcher": "$tsc-watch", + "isBackground": true, + "presentation": { + "reveal": "never" + }, + "group": { + "kind": "build", + "isDefault": true + } + } + ] } \ No newline at end of file diff --git a/statusbar-sample/.vscode/launch.json b/statusbar-sample/.vscode/launch.json index c776d21ec..886b6ad17 100644 --- a/statusbar-sample/.vscode/launch.json +++ b/statusbar-sample/.vscode/launch.json @@ -11,7 +11,7 @@ "stopOnEntry": false, "sourceMaps": true, "outFiles": ["${workspaceRoot}/out/src/**/*.js"], - "preLaunchTask": "npm" + "preLaunchTask": "tsc: watch - tsconfig.json" }, { "name": "Launch Tests", @@ -22,7 +22,7 @@ "stopOnEntry": false, "sourceMaps": true, "outFiles": ["${workspaceRoot}/out/test/**/*.js"], - "preLaunchTask": "npm" + "preLaunchTask": "tsc: watch - tsconfig.json" } ] } diff --git a/statusbar-sample/.vscode/settings.json b/statusbar-sample/.vscode/settings.json index 3f5aa9cf9..dfcf0a56b 100644 --- a/statusbar-sample/.vscode/settings.json +++ b/statusbar-sample/.vscode/settings.json @@ -6,5 +6,6 @@ "search.exclude": { "out": true // set this to false to include "out" folder in search results }, - "typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version + "typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version + "typescript.tsc.autoDetect": "off" // Turn off tsc task auto detection since we have the necessary task as npm scripts } \ No newline at end of file diff --git a/statusbar-sample/.vscode/tasks.json b/statusbar-sample/.vscode/tasks.json index 1992757d7..3f2783c3e 100644 --- a/statusbar-sample/.vscode/tasks.json +++ b/statusbar-sample/.vscode/tasks.json @@ -1,30 +1,20 @@ -// 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. +// See https://go.microsoft.com/fwlink/?LinkId=733558 +// for the documentation about the tasks.json format { - "version": "0.1.0", - - // we want to run npm - "command": "npm", - - // the command is a shell script - "isShellCommand": true, - - // show the output window only if unrecognized errors occur. - "showOutput": "silent", - - // we run the custom script "compile" as defined in package.json - "args": ["run", "compile", "--loglevel", "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" + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "watch", + "problemMatcher": "$tsc-watch", + "isBackground": true, + "presentation": { + "reveal": "never" + }, + "group": { + "kind": "build", + "isDefault": true + } + } + ] } \ No newline at end of file