diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index 8f02082f3e7..6c098333683 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -143,7 +143,7 @@ config_data! { diagnostics_warningsAsInfo: Vec = "[]", /// Expand attribute macros. - experimental_procAttrMacros: bool = "false", + experimental_procAttrMacros: bool = "true", /// Controls file watching implementation. files_watcher: String = "\"client\"", diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 5e7b7222262..768216fed95 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -191,7 +191,7 @@ List of warnings that should be displayed with info severity. The warnings will be indicated by a blue squiggly underline in code and a blue icon in the `Problems Panel`. -- -[[rust-analyzer.experimental.procAttrMacros]]rust-analyzer.experimental.procAttrMacros (default: `false`):: +[[rust-analyzer.experimental.procAttrMacros]]rust-analyzer.experimental.procAttrMacros (default: `true`):: + -- Expand attribute macros. diff --git a/editors/code/package.json b/editors/code/package.json index 541293ff121..a9593024d45 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -641,7 +641,7 @@ }, "rust-analyzer.experimental.procAttrMacros": { "markdownDescription": "Expand attribute macros.", - "default": false, + "default": true, "type": "boolean" }, "rust-analyzer.files.watcher": {