17

IntelliJ Rust Changelog #140

 4 years ago
source link: https://intellij-rust.github.io/2021/02/01/changelog-140.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

Please welcome our new documentation 🥳
It covers almost everything about the plugin, from basic how-to-s to detailed feature descriptions ✍️. And we’ll do our best to keep it up-to-date as the plugin evolves! Hope you find it helpful!

Also, this is the last release that supports the 2020.2 platform. To receive plugin updates further, please upgrade your IDE to 2020.3.

New Features

  • Add Change Signature refactoring (Refactor | Change Signature or Ctrl+F6) for functions and methods (by @Kobzol)

    5944.pngGIF
  • Introduce Share in Playground action to share your code on play.rust-lang.org. You can invoke it via Tools | Rust | Share in Playground or via context menu

    6563.pngGIF
  • Annotate wrong return type of an empty function (by @Kobzol)

    empty function screenshot

  • Support Build tool window for cargo check and clippy commands
  • Add an inspection to check whether a Cargo feature has a cyclic dependency on itself
  • Create Function intention now supports associated functions (by @Kobzol)

Performance Improvements

  • Slightly speed up name resolution & type inference

Fixes

  • Show type names in inlay parameter hints for generic enum variants (by @Kobzol)
  • Show all re-exports of the same item in completion list. Previously, the plugin showed only one suggestion per item which led to hiding alternative ways of importing the item
  • Import quick-fix sorts items now: workspace items go first, then stdlib ones, and then the rest (by @gfreezy)
  • Adjust type inference to infer type of allocator type parameter for Box and Vec items. See the corresponding RFC about allocator API
  • Take into account cfg_attr attribute during experimental compiler features annotation like #![cfg_attr(feature = "nightly", feature(generators))]
  • Improve dependency completion in Cargo.toml (by @Pzixel)
  • Fix Join Lines action (Ctrl+Shift+J) in case there is no whitespace between parameters (by @t-kameyama)
  • Extract only selected statements in Extract function refactoring (by @Kobzol)
  • Download stdlib dependencies into IDE system directory instead of src directory in toolchain location to avoid unexpected behavior like read-only directory. Note, stdlib dependencies are downloaded by the plugin only when org.rust.cargo.fetch.actual.stdlib.metadata experimental feature is enabled, otherwise the plugin uses hardcoded stdlib structure
  • Do not suggest Change item visibility intention in trait impl blocks (by @Kobzol)
  • Correctly resolve method calls (private method in inherent impl vs public trait impl)
  • Fix working directory when run cargo test in debug mode
  • Don’t activate Build tool window if Activate tool window option of the corresponding run configuration is disabled
  • Allow building different Cargo projects simultaneously
  • Fix Build action in CLion 2020.3.2
  • Fix endless Go To Declaration for invalid self-containing structs

Internal Improvements

  • Add proc-macro-expander source (see #6658)
  • Unify TOML key parsing (see #6623)

Full set of changes can be found here


Recommend

  • 31
    • intellij-rust.github.io 4 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 4 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...

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

    IntelliJ Rust Changelog #124

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

  • 43
    • intellij-rust.github.io 4 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

  • 26
    • intellij-rust.github.io 4 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...

  • 12
    • 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

  • 16
    • 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-...

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

    IntelliJ Rust Changelog #138

    IntelliJ Rust Changelog #138 28 Dec 2020 New Features Enable Build tool window by default. The Build tool window provides structured output for build

  • 7
    • 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

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

    IntelliJ Rust Changelog #142

    IntelliJ Rust Changelog #142 1 Mar 2021 New Features Debugging is now available in PyCharm Professional starting with 2021.1 EAPs. Note, it requir...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK