diff options
author | bscan <10503608+bscan@users.noreply.github.com> | 2022-01-17 22:27:13 -0500 |
---|---|---|
committer | bscan <10503608+bscan@users.noreply.github.com> | 2022-01-17 22:27:13 -0500 |
commit | fa03b409a799cd540bc07e2d466cb6cbf790baab (patch) | |
tree | b85dfdd2f76faf33175dc1b9d67194883ed19122 /.vscode | |
parent | 7e7a4e52d485afba9931ea7013cf05bea272b8c7 (diff) | |
download | PerlNavigator-fa03b409a799cd540bc07e2d466cb6cbf790baab.zip |
Initial commit
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 44 | ||||
-rw-r--r-- | .vscode/tasks.json | 33 |
2 files changed, 77 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f2b5ca8 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,44 @@ +// A launch configuration that compiles the extension and then opens it inside a new window
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "type": "extensionHost",
+ "request": "launch",
+ "name": "Launch Client",
+ "runtimeExecutable": "${execPath}",
+ "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--trace-warnings"],
+ "outFiles": ["${workspaceRoot}/client/out/**/*.js"],
+ "preLaunchTask": {
+ "type": "npm",
+ "script": "watch"
+ }
+ },
+ {
+ "type": "node",
+ "request": "attach",
+ "name": "Attach to Server",
+ "port": 6009,
+ "restart": true,
+ "outFiles": ["${workspaceRoot}/server/out/**/*.js"]
+ },
+ {
+ "name": "Language Server E2E Test",
+ "type": "extensionHost",
+ "request": "launch",
+ "runtimeExecutable": "${execPath}",
+ "args": [
+ "--extensionDevelopmentPath=${workspaceRoot}",
+ "--extensionTestsPath=${workspaceRoot}/client/out/test/index",
+ "${workspaceRoot}/client/testFixture"
+ ],
+ "outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
+ }
+ ],
+ "compounds": [
+ {
+ "name": "Client + Server",
+ "configurations": ["Launch Client", "Attach to Server"]
+ }
+ ]
+}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..070d88e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,33 @@ +{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "type": "npm",
+ "script": "compile",
+ "group": "build",
+ "presentation": {
+ "panel": "dedicated",
+ "reveal": "never"
+ },
+ "problemMatcher": [
+ "$tsc"
+ ]
+ },
+ {
+ "type": "npm",
+ "script": "watch",
+ "isBackground": true,
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "presentation": {
+ "panel": "dedicated",
+ "reveal": "never"
+ },
+ "problemMatcher": [
+ "$tsc-watch"
+ ]
+ }
+ ]
+}
\ No newline at end of file |