From 5ca83ed4412a377020a9aa8a284944e07cb01922 Mon Sep 17 00:00:00 2001 From: Michael Hutchison Date: Wed, 17 Mar 2021 20:14:52 +1100 Subject: [PATCH] Visual Studio Code Development Integration Improvements --- .vscode/launch.json | 5 ++-- .vscode/settings.json | 6 ++++- .vscode/tasks.json | 57 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json index 511e08e6..4572b7c7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,7 @@ { "version": "0.2.0", - "configurations": [{ + "configurations": [ + { "name": "Run Extension", "type": "extensionHost", "request": "launch", @@ -13,4 +14,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index e8b1b1e8..3957fb38 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,9 @@ }, "search.exclude": { "out": true - } + }, + "task.problemMatchers.neverPrompt": { + "npm": true + }, + "typescript.tsdk": "./node_modules/typescript/lib" } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..8bdfd802 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,57 @@ +{ + "version": "2.0.0", + "presentation": { + "reveal": "always", + "focus": false, + "echo": true, + "showReuseMessage": false, + "panel": "shared" + }, + "tasks": [ + { + "type": "npm", + "script": "compile", + "label": "Compile" + }, + { + "type": "npm", + "script": "compile-src", + "label": "Compile (Back-End Only)" + }, + { + "type": "npm", + "script": "compile-web", + "label": "Compile (Front-End Only)" + }, + { + "type": "npm", + "script": "compile-web-debug", + "label": "Compile (Front-End Only) - Debug" + }, + { + "type": "npm", + "script": "lint", + "label": "Lint" + }, + { + "type": "npm", + "script": "package", + "label": "Package VSIX" + }, + { + "type": "npm", + "script": "package-and-install", + "label": "Package VSIX (Install on Completion)" + }, + { + "type": "npm", + "script": "test", + "label": "Run Unit Tests" + }, + { + "type": "npm", + "script": "test-and-report-coverage", + "label": "Run Unit Tests (Report Code Coverage)" + } + ] +} \ No newline at end of file