File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 4141 "outFiles" : [
4242 " ${workspaceFolder}/editors/code/out/**/*.js"
4343 ],
44- "preLaunchTask" : " Build Server" ,
44+ "preLaunchTask" : " Build Server and Extension " ,
4545 "skipFiles" : [
4646 " <node_internals>/**/*.js"
4747 ],
6262 "outFiles" : [
6363 " ${workspaceFolder}/editors/code/out/**/*.js"
6464 ],
65- "preLaunchTask" : " Build Server (Release)" ,
65+ "preLaunchTask" : " Build Server (Release) and Extension " ,
6666 "skipFiles" : [
6767 " <node_internals>/**/*.js"
6868 ],
Original file line number Diff line number Diff line change 44 "version" : " 2.0.0" ,
55 "tasks" : [
66 {
7- "label" : " Build Extension" ,
7+ "label" : " Build Extension in Background " ,
88 "group" : " build" ,
99 "type" : " npm" ,
1010 "script" : " watch" ,
1515 },
1616 "isBackground" : true ,
1717 },
18+ {
19+ "label" : " Build Extension" ,
20+ "group" : " build" ,
21+ "type" : " npm" ,
22+ "script" : " build" ,
23+ "path" : " editors/code/" ,
24+ "problemMatcher" : {
25+ "base" : " $tsc" ,
26+ "fileLocation" : [" relative" , " ${workspaceFolder}/editors/code/" ]
27+ },
28+ },
1829 {
1930 "label" : " Build Server" ,
2031 "group" : " build" ,
2940 "command" : " cargo build --release --package rust-analyzer" ,
3041 "problemMatcher" : " $rustc"
3142 },
43+
44+ {
45+ "label" : " Build Server and Extension" ,
46+ "dependsOn" : [" Build Server" , " Build Extension" ],
47+ "problemMatcher" : " $rustc"
48+ },
49+ {
50+ "label" : " Build Server (Release) and Extension" ,
51+ "dependsOn" : [" Build Server (Release)" , " Build Extension" ],
52+ "problemMatcher" : " $rustc"
53+ }
3254 ]
3355}
Original file line number Diff line number Diff line change 2727 "scripts" : {
2828 "vscode:prepublish" : " tsc && rollup -c" ,
2929 "package" : " vsce package -o rust-analyzer.vsix" ,
30+ "build" : " tsc" ,
3031 "watch" : " tsc --watch" ,
3132 "lint" : " tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src" ,
3233 "fix" : " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src --fix"
You can’t perform that action at this time.
0 commit comments