IntelliJ Rust Changelog #80
New Features
-
Add
Needless lifetimesinspection to check unnecessary lifetimes which can be removed. See the corresponding clippy inspection -
Support method separators. You can enable this feature via
Preferences | Editor | General | Appearance | Show method separators(by @t-kameyama) -
Add
Assign to immutableinspection which annotates wrong assignments to element or field of the corresponding immutable array or struct -
Support
Inject Languageintention for rust string literals -
Implement new
Show expanded macroandShow recursively expanded macroactions. Now you can see how the plugin expands macros -
Validate package name while new project creation
-
Implement
Goto definitionaction for dependencies inCargo.toml. Now it navigates you tolib.rsof the corresponding crate -
Support
cratekeyword at the beginning of paths -
Allow attaching cargo project by directory with
Cargo.toml
Fixes
-
Better completion for partial unknown types
-
Fix false positive
Cannot borrow immutable local variableannotation for index expressions -
Avoid UI freezes while typing string literals
-
Don’t reset run configuration working directory on each reopening
Edit configurationwindow -
Correctly process empty groups while macro expansion
-
Consider
selfandSelfas identifiers in macro expansion -
Support parenthesized around bounds like
fn foo<T: (Bar)>(t: T)
Internal Improvements
-
Update IDEA & CLion. Now 2018.2 platform is default for development
-
Initial work on macro expansion in type and pattern context. Note, name resolution and type inference are not supposed to work with such macros yet