IntelliJ Rust Changelog #146
source link: https://intellij-rust.github.io/2021/04/26/changelog-146.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
New Features
#6992 Provide initial experimental support for custom derive
procedural macros. Now the plugin can expand such procedural macro calls and take into account expanded impl
items
in type inference and name resolution (other types of items are ignored for now).
Note, it’s only an initial implementation,
so it may work in an unexpected way in some cases. The feature is disabled by default for now. To turn it on, you
should enable Use experimental name resolution engine
option in Preferences | Languages & Frameworks | Rust
settings and enable org.rust.cargo.evaluate.build.scripts
and org.rust.macros.proc
experimental features.
Don’t forget to reload a project structure after enabling the corresponding features via Refresh Cargo Projects
action on Cargo tool window. See tracking issue for
more details and the current status of procedural macros support
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK