@@ -37,9 +37,16 @@ you can write: <!-- the date comment is for the edition be |
|
|
37 |
37 |
"--edition=2021" |
38 |
38 |
], |
39 |
39 |
"editor.formatOnSave": true, |
40 |
|
-"rust-analyzer.cargo.buildScripts.enable": false, |
|
40 |
+"rust-analyzer.cargo.buildScripts.enable": true, |
|
41 |
+"rust-analyzer.cargo.buildScripts.overrideCommand": [ |
|
42 |
+"cargo", |
|
43 |
+"check", |
|
44 |
+"-p", |
|
45 |
+"rustc_driver", |
|
46 |
+"--message-format=json" |
|
47 |
+ ], |
41 |
48 |
"rust-analyzer.rustc.source": "./Cargo.toml", |
42 |
|
-"rust-analyzer.procMacro.enable": false |
|
49 |
+"rust-analyzer.procMacro.enable": true, |
43 |
50 |
} |
44 |
51 |
``` |
45 |
52 |
|