diff options
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 4 | ||||
-rw-r--r-- | .vscode/tasks.json | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 3f74d7566..408f8d580 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json | |||
@@ -41,7 +41,7 @@ | |||
41 | "outFiles": [ | 41 | "outFiles": [ |
42 | "${workspaceFolder}/editors/code/out/**/*.js" | 42 | "${workspaceFolder}/editors/code/out/**/*.js" |
43 | ], | 43 | ], |
44 | "preLaunchTask": "Build Extension", | 44 | "preLaunchTask": "Build Server", |
45 | "skipFiles": [ | 45 | "skipFiles": [ |
46 | "<node_internals>/**/*.js" | 46 | "<node_internals>/**/*.js" |
47 | ], | 47 | ], |
@@ -62,7 +62,7 @@ | |||
62 | "outFiles": [ | 62 | "outFiles": [ |
63 | "${workspaceFolder}/editors/code/out/**/*.js" | 63 | "${workspaceFolder}/editors/code/out/**/*.js" |
64 | ], | 64 | ], |
65 | "preLaunchTask": "Build Extension", | 65 | "preLaunchTask": "Build Server (Release)", |
66 | "skipFiles": [ | 66 | "skipFiles": [ |
67 | "<node_internals>/**/*.js" | 67 | "<node_internals>/**/*.js" |
68 | ], | 68 | ], |
diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 4037e7cce..922f66d80 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json | |||
@@ -22,5 +22,12 @@ | |||
22 | "command": "cargo build --package rust-analyzer", | 22 | "command": "cargo build --package rust-analyzer", |
23 | "problemMatcher": "$rustc" | 23 | "problemMatcher": "$rustc" |
24 | }, | 24 | }, |
25 | { | ||
26 | "label": "Build Server (Release)", | ||
27 | "group": "build", | ||
28 | "type": "shell", | ||
29 | "command": "cargo build --release --package rust-analyzer", | ||
30 | "problemMatcher": "$rustc" | ||
31 | }, | ||
25 | ] | 32 | ] |
26 | } | 33 | } |