3

Changelog #74

 3 years ago
source link: https://rust-analyzer.github.io/thisweek/2021/04/26/changelog-74.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

Changelog #74

Apr 26, 2021

New Features

  • #8467 (first contribution) add "generate Deref impl" assist:

    115183917 9971b480 a091 11eb 98b0 d847543cde01

    This feature was included in the last week’s changelog by mistake.

  • #8317 add "Convert tuple to named struct" assist:

    116033884 ebef3a00 a66a 11eb 8e34 f95afe788a30
  • #8462 expand macros in type positions.

  • #8621 make sure nightly regressions don’t break users.

  • #8570 parse rustc error messages in flycheck for non-Cargo build systems.

  • #8595 add support for remapping diagnostic paths.

Fixes

  • #8611 (first contribution) add support for boolean values to "Fill match arms".

  • #8658 (first contribution) check more carefully for cases when a rename can’t be done.

  • #8582 (first contribution) fix typo in comparison semantic token type.

  • #8600 fix project loading hang.

  • #8606 fix "Registering progress handler" error.

  • #8639 fix configuration.property startup error in VS Code.

  • #8643 change version string to contain hash, build date and channel.

  • #8524 fix "Extract function" with partial block selection.

  • #8540 prevent renaming items that are not part of the workspace (LSP extension).

  • #8565 "Fill match arms" assist: add remaining arms for enum tuples.

  • #8577 support crates/module roots in external_docs.

  • #8578 fix inner attributes false positives in docs.

  • #8587 fix some find_path bugs around inner items (fixes auto-imports with macro calls).

  • #8601 trigger "Inline variable" assist on variable usages.

  • #8609 parse outer attributes for RecordPatField.

  • #8620 avoid unnecessary braces in "Extract function".

  • #8602 fix panic in "Replace derive with manual implementation".

Internal Improvements

  • #8502 document review requesting etiquette.

  • #8527 rewrite "Introduce named lifetime" assist to use mutable syntax trees.

  • #8579 fix "Server status" capability name in docs.

  • #8580 remove confusion around serverStatusNotification.

  • #8584 fix slightly broken test.

  • #8586 replace SyntaxRewriter usage with ted in eager::eager_macro_recur.

  • #8588 add guidelines for release notes PR descriptions.

  • #8605 automatically categorize the changelog entries.

  • #8591 remove SyntaxRewriter usage in insert_use in favor of mutable syntax trees.

  • #8638 remove SyntaxRewriter::from_fn.

  • #8647 split out merge_imports module from helpers::insert_use.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK