22

IntelliJ Rust Changelog #138

 4 years ago
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.
neoserver,ios ssh client

IntelliJ Rust Changelog #138

28 Dec 2020

New Features

  • Enable Build tool window by default. The Build tool window provides structured output for build, run and test commands. Note, this feature requires Cargo 1.48.0 or higher

    build-tool-window.pngGIF

    You can disable it via org.rust.cargo.build.window option in Experimental Features dialog (Help | Find Action and type Experimental 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 via Move refactoring (F6). Now, when moving foo from mod1 to mod2, the outdated group import use mod1::{foo, bar}; will be replaced with the proper use mod2::foo; use mod1::bar;.

    move-use.pngGIF
  • Add Fill missing arguments quick-fix to complete a function call arguments with default values (by @Kobzol)

    fill-arguments.pngGIF
  • Add the intention to change item visibility (by @Kobzol)

    make-pub.pngGIF
  • 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 via org.rust.crates.local.index option in Experimental Features dialog (Help | Find Action and type Experimental features to open the dialog)
  • Provide highlighting of string-formatting macros from log crate, in addition to already supported macros from stdlib like println, 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 in Preferences | 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 in Find tool window
  • Do not annotate cfg-disabled trait items as missing (E0046) and do not offer them via Generate 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
    • intellij-rust.github.io 5 years ago
    • Cache

    IntelliJ Rust Changelog #122

    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
    • intellij-rust.github.io 5 years ago
    • Cache

    IntelliJ Rust Changelog #123

    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
    • intellij-rust.github.io 5 years ago
    • Cache

    IntelliJ Rust Changelog #124

    New Features Support 2020.2 EAPs Enable new macro expansion engine in nightly builds ...

  • 49
    • intellij-rust.github.io 5 years ago
    • Cache

    IntelliJ Rust Changelog #125

    New Features Provide initial support for debugging with MSVC toolchain in CLion 2020.2. You can track current progress and restrictions

  • 28
    • intellij-rust.github.io 5 years ago
    • Cache

    IntelliJ Rust Changelog #127

    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.github.io 4 years ago
    • Cache

    IntelliJ Rust Changelog #137

    IntelliJ Rust Changelog #137 14 Dec 2020 New Features Support Find Usages action (Edit | Find Usages or Alt+F7) for Cargo

  • 21
    • intellij-rust.github.io 4 years ago
    • Cache

    IntelliJ Rust Changelog #136

    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
    • intellij-rust.github.io 4 years ago
    • Cache

    IntelliJ Rust Changelog #139

    New Features Cargo features and cfg support improvements: Take into account attributes under

  • 17
    • intellij-rust.github.io 4 years ago
    • Cache

    IntelliJ Rust Changelog #140

    Please welcome our new documentation ? It covers almost everything about the plugin, from basic how-to-s to detailed feature descriptions ✍️. And we’...

  • 13
    • rust-analyzer.github.io 3 years ago
    • Cache

    Changelog #138

    New Features #12539 (first contribution) automatically instantiate trivial structs in Generate new

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK