From 0d0c0d188a5166b37582d21cd922e067c437c575 Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat Date: Fri, 19 Oct 2018 04:13:47 +0000 Subject: [PATCH 1/7] Task v2.0.0 --- .vscode/tasks.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2d616db56..6ad4006c0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -9,16 +9,19 @@ // A task runner that calls the Typescript compiler (tsc) and // compiles the extension. { - "version": "0.1.0", + "version": "2.0.0", // we want to run npm "command": "npm", // the command is a shell script - "isShellCommand": true, + "type": "shell", // show the output window only if unrecognized errors occur. - "showOutput": "silent", + "presentation": { + "reveal": "always", + "panel": "new" + }, // we run the custom script "compile" as defined in package.json "args": ["run", "compile"], From e7f5513581f1cd224d0fae4f1157295b9b6cc76a Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat Date: Fri, 19 Oct 2018 04:17:00 +0000 Subject: [PATCH 2/7] Sorry for this --- .vscode/tasks.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 6ad4006c0..275b304d7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -19,8 +19,7 @@ // show the output window only if unrecognized errors occur. "presentation": { - "reveal": "always", - "panel": "new" + "reveal": "never" }, // we run the custom script "compile" as defined in package.json From 3bc2b64e3de23af798c17bec258543308334c354 Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat Date: Fri, 19 Oct 2018 14:23:05 +0700 Subject: [PATCH 3/7] Update tasks.json --- .vscode/tasks.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 275b304d7..f59d3d11c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -10,6 +10,8 @@ // compiles the extension. { "version": "2.0.0", + "task": [ + { // we want to run npm "command": "npm", @@ -30,4 +32,6 @@ // use the standard tsc in watch mode problem matcher to find compile problems in the output. "problemMatcher": "$tsc-watch" + } + ] } From f87a219cd9ed270b435d0351bed77ec4eaa8d4aa Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat Date: Fri, 19 Oct 2018 16:10:13 +0700 Subject: [PATCH 4/7] Done! --- .vscode/tasks.json | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f59d3d11c..66f8692d0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -12,26 +12,15 @@ "version": "2.0.0", "task": [ { - - // we want to run npm - "command": "npm", - - // the command is a shell script - "type": "shell", - - // show the output window only if unrecognized errors occur. - "presentation": { - "reveal": "never" - }, - - // we run the custom script "compile" as defined in package.json - "args": ["run", "compile"], - - // 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" + "label": "watch", + "command": "npm", + "type": "shell", + "presentation": { + "reveal": "never" + }, + "args": ["run", "compile"], + "isBackground": true, + "problemMatcher": "$tsc-watch" } ] } From 095d1ddab50dd9409d0c7522fdcd83fad5faf516 Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat Date: Sat, 20 Oct 2018 01:08:10 +0700 Subject: [PATCH 5/7] Change variables --- .vscode/tasks.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 66f8692d0..2fd53f2b8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -12,13 +12,16 @@ "version": "2.0.0", "task": [ { - "label": "watch", - "command": "npm", - "type": "shell", + "label": "Compile", + "type": "npm", "presentation": { "reveal": "never" }, "args": ["run", "compile"], + "group": { + "kind": "build", + "isDefault": true + }, "isBackground": true, "problemMatcher": "$tsc-watch" } From 85c156b23943c556943252641b1c52100b7553fa Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat Date: Sat, 20 Oct 2018 01:33:06 +0700 Subject: [PATCH 6/7] Revert type and command --- .vscode/tasks.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2fd53f2b8..f2c25a9ea 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -13,7 +13,8 @@ "task": [ { "label": "Compile", - "type": "npm", + "type": "shell", + "command": "npm", "presentation": { "reveal": "never" }, From 83870a40212cdc262d901fcef3ac0e8bdbbc1151 Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat Date: Sat, 20 Oct 2018 02:06:17 +0700 Subject: [PATCH 7/7] Fixed launch --- .vscode/tasks.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f2c25a9ea..eb3ba9590 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -10,9 +10,9 @@ // compiles the extension. { "version": "2.0.0", - "task": [ + "tasks": [ { - "label": "Compile", + "label": "npm", "type": "shell", "command": "npm", "presentation": {