IntelliJ Rust Changelog #130
New Features
-
#5459, #6038 Provide
Inlinerefactoring for local variables (Refactor | Inlineor Ctrl + Alt + N) (by @Kobzol)
-
#5352, #6037 Provide
Generate GettersandGenerate Settersactions for struct fields. Actions can be invoked fromGeneratemenu (Code | Generateor Alt + Insert) (by @Kobzol)
- Improvements of
Moverefactoring for top-level items (Refactor | Moveor F6): -
#5505, #6019, #6050 Provide intention to create a function from an unresolved function call (by @Kobzol)

-
#6001 Add project template for procedural macro. Recently we improved
New projectdialog to supportcargo-generatetemplates. In this release we add @eupn’s template that makes it easy to create a procedural macro project. - #5846 Provide command completion for
wasm-packRun Configurations (that was added in the previous release) andRun Anything(double Ctrl)
Performance Improvements
- #5989, #6012 Don’t expand macros disabled by
#[cfg]attributes. This reduces overall macro expansion time
Fixes
-
#5949 Don’t unescape backslashes in Rust test output. Fixes many issues with incorrect test output
-
#6031 Properly resolve re-exports of
crate-relative paths (see the corresponding bug) -
#5864 Fix macro name resolution: macros from local import should shadow macros from crate root
-
#6024 Don’t check name conventions for
statics inexternblocks -
#6008 Exclude
builddirectory of rustc project from IDE index -
#5998 Don’t annotate format-like macros where format string is generated by macro to avoid false positives (by @Kobzol)
-
#6028 Show
No Rust toolchain configurednotification inCargo.toml. Previously this notification was shown only for Rust files -
#5993 Attach
stdarchandbacktracestdlib parts as project dependencies properly. It fixes search inside them. Also, this improves analysis performance for code that usesstdarch -
#5986 Fix name resolution of nested modules in modules linked to a project with a
#[path = ""]attributes from other directories -
#5966 Fix false positive unresolved reference error if you call trait method via UFCS and trait is not in the scope
-
#5990 Fix exceptions while documentation rendering
-
#5945 Fix exception on build cancel with new
Buildtool window. You can enable it viaorg.rust.cargo.build.tool.windowoption inExperimental Featurespanel -
#6032 Disable
Substitute associated typeintention for type aliases (by @Kobzol) -
#5959 Fix project creation via
cargo-generatetemplate when project name contains underscores_ -
#5929 Use project name instead of directory name as default package name while new project creation (see the issue)
-
#5980 Display
Cargopackage name instead of project directory name inCargotool window and run configurations
Full set of changes can be found here
