IntelliJ Rust Changelog #144
New Features
-
#6947 Support import aliases in
Moverefactoring (Refactor | Moveor F6)
- Const generics support improvements:
-
#6799 Complete dependencies by subwords in
Cargo.tomlwhen using experimental local crates index. This feature is disabled by default for now. To use it, enableorg.rust.crates.local.indexoption inExperimental Featuredialog (Help | Find Actionand typeExperimental featuresto open the dialog)
-
#6893 Import unresolved types from a function signature after performing
Extract Functionrefactoring (Refactor | Extract Methodor Ctrl+Alt+M) -
#6966 Automatically select the default project Rust toolchain from
Preferences | Languages & Frameworks | Rustwhen creating a new project -
#6066 Use
todo!()instead ofunimplemented!()in function bodies generated by code generation features likeImplement membersandCreate functionactions (by @KarelPeeters) -
#6934 Auto-indent line when typing Enter in macro bodies
-
#6907 Provide debugging with LLDB in Rider for Unreal Engine 2021.1. Note, only MSVC toolchain is supported
-
#6956 Increase minimal supported rustc version to 1.41.0
- #6912 Enable by default
Simplify boolean expressioninspection
Fixes
-
#6955 Do not show
Redundant `::`warning for expressions inside length of array types -
#6923 Reduce availability range of some intention actions. For example, now
Add else branch to this if statementis not suggested in Alt+Enter menu when the caret is placed inside anifbody -
#6896 Do not insert default type parameters by
Implement Memberactions -
#6886 Do not move the entire
matcharm inMove Statement Up/Downaction (Ctrl+Shift+Up/Down) invoked on the statement inside the arm body (by @t-kameyama) -
#6654 Ignore environment variables when comparing Cargo run configurations. This allows reusing a similar existing configuration instead of creating a new one
-
#6450 Fix code insight and name resolution for in-band lifetimes
-
#6989 Expand macro calls under
cfgattribute after toggling a Cargo feature
Full set of changes can be found here