include!macro calls in experimental mode. So now the plugin supports all code insight features (highlighting, navigation, completion, etc.) for code generated while compilation in most cases. Under the hood, it uses the output of
cargo build --build-plancommand to get value of
OUT_DIRvariable. Note, this feature is disabled by default because found out that
cargo build --build-planforces next build command to recompile whole project (including dependencies). To turn it on just enable
Support code coverage in CLion. It’s available since recent 2019.3 EAP release. Implementation is based on grcov utility. If the utility is not installed on your machine, the plugin will suggest installing it. Note, it requires nightly toolchain to instrument code properly.
Buildaction take into account only selected configuration if possible. So, if you have run configuration that runs a specific target, then
Buildaction will build only that target. Note, it works only when build tool window is enabled. You can turn it on via
Experimental Features | org.rust.cargo.build.tool.windowoption
- Parse macro calls with missing
;at the end in right way. Previously, the plugin showed a lot of syntax errors for macro calls in this case
- Correctly highlight
trykeywords in code disabled by
asyncfunctions in quick documentation
- Take into account
Implement membersquick fix
- Macros improvements:
- Implement manual parsing of macro calls.
It should make macro call parsing faster and simplify special parser rules for macro calls (like existing parser rules for
include!) in grammar.
- Rework mapping between macro calls and the corresponding expansions. It should make implementation more stable in general and fix some sporadic exceptions
- Implement manual parsing of macro calls. It should make macro call parsing faster and simplify special parser rules for macro calls (like existing parser rules for
Full set of changes can be found here