16

IntelliJ Rust Changelog #136

 4 years ago
source link: https://intellij-rust.github.io/2020/11/30/changelog-136.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 #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-point iteration approach and aims to improve our support for complex glob imports (use foo::*) and re-exports. Also, it will allow the plugin to expand the upcoming macros 2.0 properly. The new algorithm works for top-level items only, so local variables as well as type inference functionality won’t be affected. If you are ready to give it a try, enable Use experimental name resolution engine option in Settings / Preferences | Languages & Frameworks | Rust settings. Although the feature is currently experimental, we encourage you to try it out and share if you face any issues. It will help us to polish the new algorithm and make it the default one. Please use Help | Create New Issue action in your IDE or our issue tracker directly to file your issues.
  • Take into account macro invocations in type context, e.g. const FOO: foobar!() = 1

  • Compiler errors detection improvements:

    • Detect attributes that require parentheses but haven’t them, and suggest Add parentheses quick-fix (by @zeroeightysix)
    • Detect the missing type of const and static items as a semantic error and produce a user-friendly error message. Also, provide a quick-fix to add explicit type in such cases (by @Kobzol)

Performance Improvements

  • Slightly optimize syntax highlighting and other analysis

Fixes

  • Fix macro group matching in some cases. In particular, this fixes completion in tokio 0.3
  • Validate Perf profiler settings when running code with CPU profiler on Linux. Now, in case of no perf path specified in settings, IDE will show an error with a link to configure the profiler settings

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

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

  • 7
    • rust-analyzer.github.io 2 years ago
    • Cache

    Changelog #136

    Changelog #136 Jul 4, 2022 New Features #12634 show witnesses of n...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK