Merge #8032
8032: Enable proc-macros by default r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
106a5abbef
@ -172,7 +172,7 @@ struct ConfigData {
|
|||||||
notifications_cargoTomlNotFound: bool = "true",
|
notifications_cargoTomlNotFound: bool = "true",
|
||||||
|
|
||||||
/// Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.
|
/// Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.
|
||||||
procMacro_enable: bool = "false",
|
procMacro_enable: bool = "true",
|
||||||
/// Internal config, path to proc-macro server executable (typically,
|
/// Internal config, path to proc-macro server executable (typically,
|
||||||
/// this is rust-analyzer itself, but we override this in tests).
|
/// this is rust-analyzer itself, but we override this in tests).
|
||||||
procMacro_server: Option<PathBuf> = "null",
|
procMacro_server: Option<PathBuf> = "null",
|
||||||
|
@ -276,7 +276,7 @@ Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.
|
|||||||
--
|
--
|
||||||
Whether to show `can't find Cargo.toml` error message.
|
Whether to show `can't find Cargo.toml` error message.
|
||||||
--
|
--
|
||||||
[[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `false`)::
|
[[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `true`)::
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.
|
Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.
|
||||||
|
@ -690,7 +690,7 @@
|
|||||||
},
|
},
|
||||||
"rust-analyzer.procMacro.enable": {
|
"rust-analyzer.procMacro.enable": {
|
||||||
"markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
|
"markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
|
||||||
"default": false,
|
"default": true,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"rust-analyzer.procMacro.server": {
|
"rust-analyzer.procMacro.server": {
|
||||||
|
Loading…
Reference in New Issue
Block a user