From ba9da1f38cc42e7b4c6d2249aa302bba25b05a56 Mon Sep 17 00:00:00 2001 From: Keith Hill Date: Sun, 17 Jul 2016 15:46:16 -0600 Subject: [PATCH] Changes to enable dev host to launch. The changes are mainly to launch.json. The change to package.json is simply to reorder the scripts in the order they appear when you create a brand new extension. Yeah, a little OCD on my part. --- .vscode/launch.json | 18 +++++++----------- package.json | 4 ++-- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index fab999a673..edcc4eff01 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,19 +2,15 @@ "version": "0.1.0", "configurations": [ { - "request": "launch", - "name": "Launch Extension", - "type": "extensionHost", - //"runtimeExecutable": "${execPath}", - "runtimeExecutable": "c:/dev/Monaco/tools/code.bat", - "args": [ - "--extensionDevelopmentPath=${workspaceRoot}", - "c:/Users/daviwil/Documents/DemoFiles" - ], + "name": "Launch Extension", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": [ "--extensionDevelopmentPath=${workspaceRoot}" ], "stopOnEntry": false, "sourceMaps": true, - "outDir": "out", - "preLaunchTask": "npm" + "outDir": "${workspaceRoot}/out", + "preLaunchTask": "compile" }, { "name": "Attach", diff --git a/package.json b/package.json index b04571aa18..7c87558c77 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,10 @@ "vscode.powershell" ], "scripts": { - "postinstall": "node ./node_modules/vscode/bin/install", "vscode:prepublish": "node ./node_modules/vscode/bin/compile", "compile": "node ./node_modules/vscode/bin/compile -p ./", - "compile-watch": "node ./node_modules/vscode/bin/compile -watch -p ./" + "compile-watch": "node ./node_modules/vscode/bin/compile -watch -p ./", + "postinstall": "node ./node_modules/vscode/bin/install" }, "contributes": { "keybindings": [