IntelliJ Rust Changelog #144
New Features
-
Support import aliases in
Move
refactoring (Refactor | Move
or F6) -
Const generics support improvements:
- Support const generics in
Wrong generic arguments number
(E0107) inspection
- Support
Move Element Right/Left
actions for const generic parameters
- Properly render const generics in signature of a top-level item
- Fix type rendering with const generic parameters
- Support const generics in
-
Complete dependencies by subwords in
Cargo.toml
when using experimental local crates index. This feature is disabled by default for now. To use it, enableorg.rust.crates.local.index
option inExperimental Feature
dialog (Help | Find Action
and typeExperimental features
to open the dialog)
- Import unresolved types from a function signature after performing
Extract Function
refactoring (Refactor | Extract Method
or Ctrl+Alt+M)
- Automatically select the default project Rust toolchain from
Preferences | Languages & Frameworks | Rust
when creating a new project
- Use
todo!()
instead ofunimplemented!()
in function bodies generated by code generation features likeImplement members
andCreate function
actions (by @KarelPeeters)
- Auto-indent line when typing Enter in macro bodies
- Provide debugging with LLDB in Rider for Unreal Engine 2021.1. Note, only MSVC toolchain is supported
- Increase minimal supported rustc version to 1.41.0
- Enable by default
Simplify boolean expression
inspection
Fixes
- Do not show
Redundant `::`
warning for expressions inside length of array types
- Reduce availability range of some intention actions. For example, now
Add else branch to this if statement
is not suggested in Alt+Enter menu when the caret is placed inside anif
body
- Do not insert default type parameters by
Implement Member
actions
- Do not move the entire
match
arm inMove Statement Up/Down
action (Ctrl+Shift+Up/Down) invoked on the statement inside the arm body (by @t-kameyama)
- Ignore environment variables when comparing Cargo run configurations. This allows reusing a similar existing configuration instead of creating a new one
- Fix code insight and name resolution for in-band lifetimes
- Expand macro calls under
cfg
attribute after toggling a Cargo feature
- Fix false-positive E0658 in stdlib
Full set of changes can be found here