Skip to content

Commit

Permalink
Fix vscode launch & tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
timonwong committed May 31, 2018
1 parent b7a5932 commit a6e4590
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .vscode/launch.json
@@ -1,6 +1,6 @@
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.1.0",
"version": "0.2.0",
"configurations": [
{
"type": "extensionHost",
Expand All @@ -15,7 +15,7 @@
],
"stopOnEntry": false,
"sourceMaps": true,
"preLaunchTask": "npm"
"preLaunchTask": "build"
},
{
"type": "extensionHost",
Expand All @@ -31,7 +31,7 @@
"outFiles": [
"${workspaceRoot}/out/**/*.js"
],
"preLaunchTask": "npm"
"preLaunchTask": "build"
}
]
}
14 changes: 12 additions & 2 deletions .vscode/tasks.json
Expand Up @@ -4,19 +4,29 @@
"version": "2.0.0",
"tasks": [
{
"label": "watch",
"type": "npm",
"script": "watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"reveal": "never"
},
"problemMatcher": [
"$tsc-watch"
],
"group": {
"kind": "build",
"isDefault": true
},
}
},
{
"label": "build",
"type": "npm",
"script": "compile",
"problemMatcher": [
"$tsc"
],
"group": "build"
}
]
}
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@

## Requirements

1. Ensure `shellcheck` is [installed](https://github.com/koalaman/shellcheck#installing).
1. Ensure `shellcheck` is [installed](https://github.com/koalaman/shellcheck#installing)(`v0.4.7` is highly recommended).
2. Run [`Install Extension`](https://code.visualstudio.com/docs/editor/extension-gallery#_install-an-extension) command from [Command Palette](https://code.visualstudio.com/Docs/editor/codebasics#_command-palette).
3. Search and choose `shellcheck`.

Expand Down

0 comments on commit a6e4590

Please sign in to comment.