IntelliJ Rust Changelog #121
New Features
- #5200 Provide initial debugger support outside of CLion. The current restrictions:
- available since 2020.1
- only Linux and macOS are supported for now
- supported IDEs: IDEA Ultimate, AppCode and RubyMine
- nativeDebug plugin is required for IDEA Ultimate
- only LLDB
- debugger binaries are not bundled and need to be downloaded

-
#5226 Implement type inference for subslice patterns
-
#5182 Add
Extract enum variantintention. Now you can extract enum variant into a separate struct and replace all usages by one action (by @Kobzol)
-
#5157 Detect redundant
elsebranch for irrefutable if-let patterns by newRedundant elseinspection (by @Kobzol) -
#5184 Automatically insert paired
*/for block comment on enter if needed (by @Kobzol) - #3855 Do not show warning annotations about needless explicit lifetimes when there is
allow(clippy::needless_lifetimes)attribute
Fixes
- Rust REPL improvements:
- #5244 Fix various bugs with incorrect output on Windows. It requires updating
evcxr_replbinary to0.5.1version - #5223 Parse top-level statements like
1+2;properly - #5170 Use Ctrl+Enter as shortcut for executing instead of Enter. Now you can type multiline items easier
- #5173 Don’t throw exception while executing command during indexing
- #5244 Fix various bugs with incorrect output on Windows. It requires updating
-
#5161 Fix
Specify type explicitlyintention forrefpat bindings likelet ref a = 123; -
#5130 Do not show false positive
Struct pattern does not mention field_nameerror annotation for unions (by @Stzx) -
#5133 Now
Add _ patternandAdd remaining patternsquick fixes insert,after last match arm if needed to produce valid code (by @Stzx) -
#5220 Fix stdlib detection for rust-lang/rust project
-
#5252 Fix spacing after visibility in plugin Rust formatter for cases like
pub &i32 fieldorpub (i32, i32) tuple. -
#5236 Don’t remove empty lines by
Extract functionrefactoring (by @t-kameyama) -
#5257 Don’t remove curly braces after insertion of paired
}for selected single path inuseitem - #5112 Fix exception while
Cargotool window initialization
Internal Improvements
-
#5279 Provide GitHub workflow for beta and stable releases
-
Dynamic plugin progress:
Full set of changes can be found here