From ed9eb9e640c86a6a0b4462b8e899b2794dd66400 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Fri, 25 Aug 2017 09:37:30 +0200 Subject: [PATCH] languageprovider-sample: fix launch config --- languageprovider-sample/.vscode/launch.json | 31 ++++++++++++++------- languageprovider-sample/.vscode/tasks.json | 8 ++++-- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/languageprovider-sample/.vscode/launch.json b/languageprovider-sample/.vscode/launch.json index d318b373..68421dbc 100644 --- a/languageprovider-sample/.vscode/launch.json +++ b/languageprovider-sample/.vscode/launch.json @@ -11,7 +11,9 @@ ], "stopOnEntry": false, "sourceMaps": true, - "outFiles": ["${workspaceRoot}/client/out/**/*.js"], + "outFiles": [ + "${workspaceRoot}/client/out/**/*.js" + ], "preLaunchTask": "npm" }, { @@ -19,10 +21,15 @@ "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", - "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/client/out/test" ], + "args": [ + "--extensionDevelopmentPath=${workspaceRoot}", + "--extensionTestsPath=${workspaceRoot}/client/out/test" + ], "stopOnEntry": false, "sourceMaps": true, - "outFiles": ["${workspaceRoot}/client/out/test/**/*.js"], + "outFiles": [ + "${workspaceRoot}/client/out/test/**/*.js" + ], "preLaunchTask": "npm" }, { @@ -31,14 +38,18 @@ "request": "attach", "port": 6004, "sourceMaps": true, - "outFiles": ["${workspaceRoot}/server/out/**/*.js"] + "outFiles": [ + "${workspaceRoot}/server/out/**/*.js" + ] } - ], "compounds": [ - { - "name": "Launch Client & Server", - "configurations": ["Launch Client", "Attach Language Server"] - } - ] + { + "name": "Launch Client & Server", + "configurations": [ + "Launch Extension", + "Attach Language Server" + ] + } + ] } \ No newline at end of file diff --git a/languageprovider-sample/.vscode/tasks.json b/languageprovider-sample/.vscode/tasks.json index a018ace7..f0b64b94 100644 --- a/languageprovider-sample/.vscode/tasks.json +++ b/languageprovider-sample/.vscode/tasks.json @@ -1,10 +1,12 @@ - { "version": "0.1.0", "command": "npm", "isShellCommand": true, "showOutput": "silent", - "args": ["run", "watch"], - "isWatching": true, + "args": [ + "run", + "watch" + ], + "isBackground": true, "problemMatcher": "$tsc-watch" } \ No newline at end of file