

IntelliJ Rust Changelog #138
source link: https://intellij-rust.github.io/2020/12/28/changelog-138.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

IntelliJ Rust Changelog #138
28 Dec 2020
New Features
-
Enable
Build
tool window by default. TheBuild
tool window provides structured output forbuild
,run
andtest
commands. Note, this feature requires Cargo 1.48.0 or higherGIF
You can disable it via
org.rust.cargo.build.window
option inExperimental Features
dialog (Help | Find Action
and typeExperimental features
to open the dialog)
- Provide experimental code completion ranking for Rust based on machine learning.
It applies rules learned from data we have gathered anonymously during our EAPs, which results in better suggestions.
Note that we have not collected any source code, only information about your interactions with the code completion UI.
The ranking model is disabled by default for now.
You can enable it via
Editor | General | Code Completion | Machine Learning-Assisted Completion
settings.
-
Update obsolete references in
use
groups viaMove
refactoring (F6). Now, when movingfoo
frommod1
tomod2
, the outdated group importuse mod1::{foo, bar};
will be replaced with the properuse mod2::foo; use mod1::bar;
.GIF
-
Add
Fill missing arguments
quick-fix to complete a function call arguments with default values (by @Kobzol)GIF
-
Add the intention to change item visibility (by @Kobzol)
GIF
- Introduce experimental
Cargo.toml
dependency completion based on the new local Cargo registry index. Note, the corresponding feature is disabled by default for now. You can enable it viaorg.rust.crates.local.index
option inExperimental Features
dialog (Help | Find Action
and typeExperimental features
to open the dialog)
- Show quick documentation for keyword-like elements, e.g.
fn
,enum
,async
, etc
- Provide highlighting of string-formatting macros from
log
crate, in addition to already supported macros from stdlib likeprintln
,format
, etc. (by @Kobzol)
Performance Improvements
- Speedup name resolution, especially in large Rust modules
Fixes
- Resolve derive procedural macros with new name resolution engine.
Note, you can enable the new engine via
Use experimental name resolution engine
option inPreferences | Languages & Frameworks | Rust
settings
- Proper support for ANSI escape codes in
Build
tool window
- Fix rendering of generic types in
E0277
error message
- Improve popup of
Has implementations
gutter icon by items sorting and allowing to open results inFind
tool window
- Fix false-positive warnings about wrong naming convention for non-ASCII identifiers (by @Stzx)
- Do not annotate
cfg
-disabled trait items as missing (E0046) and do not offer them viaGenerate members
action (by @Kobzol)
- Parse fully qualified macro calls at top-level properly (by @msmorgan)
- Fix inlining of function arguments (by @SaarYogev)
Full set of changes can be found here
Recommend
-
35
Most of the new features in the release have been added by third-party contributors. Many thanks to @Kobzol for the extraordinary amount of contributions! You can partic...
-
36
This is the last release that supports the 2019.3 platform. To receive plugin updates further, please upgrade your IDE to 2020.1. New Features Debugger support outside of CLion: Do no...
-
26
New Features Support 2020.2 EAPs Enable new macro expansion engine in nightly builds ...
-
49
New Features Provide initial support for debugging with MSVC toolchain in CLion 2020.2. You can track current progress and restrictions
-
28
New Features Support Rust documentation rendering in an editor. Just click to the corresponding icon on gutter to look at rendered version of a particular comment. Also, you can enable it by default v...
-
14
IntelliJ Rust Changelog #137 14 Dec 2020 New Features Support Find Usages action (Edit | Find Usages or Alt+F7) for Cargo
-
21
IntelliJ Rust Changelog #136 30 Nov 2020 New Features Introduce the new experimental engine for name resolution (disabled by default). The new algorithm (aka name resolution 2.0) uses the fixed-...
-
13
New Features Cargo features and cfg support improvements: Take into account attributes under
-
17
Please welcome our new documentation ? It covers almost everything about the plugin, from basic how-to-s to detailed feature descriptions ✍️. And we’...
-
13
New Features #12539 (first contribution) automatically instantiate trivial structs in Generate new
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK