Attribute macros support
See original GitHub issueRecently attribute macros support was landed in rust-analyzer. However, I didn’t see it working. Today I looked at the PR description and realized that I need to enable explicitly but when I enter the following line in my CoC config:
"rust-analyzer.experimental.procAttrMacros": true,
I’m told that it’s not a valid property and it’s also not listed in the properties in the README. Could you please add this configuration?
Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Procedural Macros - The Rust Reference
Attribute macros define new outer attributes which can be attached to items, including items in extern blocks, inherent and trait implementations, and trait ......
Read more >macro_attr - Rust - Docs.rs
When given an item definition, including its attributes, this macro parses said attributes and dispatches any attributes or derivations suffixed with ! to ......
Read more >What Every Rust Developer Should Know About Macro ...
There are three kinds of procedural macros: derive, function-like, and attribute. These kinds of macros work mostly the same way in terms of ......
Read more >Macro Attribute - Rocket Software
The macro attribute identifies the default attribute-defining items used for input and output processing of the item. Output from AQL commands use the ......
Read more >Having trouble understanding attribute macros : r/rust - Reddit
An attribute macro is just a function that takes two TokenStream s (one for the item itself, the other for the attribute), and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zeenix This configuration has been renamed in https://github.com/rust-analyzer/rust-analyzer/pull/7868, README updated.
Have no idea thy completion doesn’t work for you.
:CocUpdate
to upgrade coc-rust-analyzer, it’s added in latest release.