Changelog #51

Commit: e8c8039
Release: 2020-11-16

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #6524 add support for #![feature(rustc_private)]. Set rust-analyzer.rustcSource to point to a directory with compiler’s sources if you develop tooling which uses compiler directly (clippy, rustfmt, etc).

  • #6500 add .some postfix template.

    99246914 612a2980 2806 11eb 9f54 1111cdfe08c6
  • #6544 add .. Default::default() completion.

    99248146 4e185900 2808 11eb 9cca c85180ddb217
  • #6472 add static semantic tokens modifier to associated functions.

  • #6519 Open Cargo.toml action opens a Cargo.toml file, relevant for the current .rs file.

Fixes

  • #6510 fix panic in Extract Struct From Enum Variant.

  • #6514 Extract Struct From Enum Variant updates references when extracting a record.

  • #6511 highlight . as an operator.

  • #6516 fixes to TextMate grammar.

  • #6534 fix attachment of inner doc comments.

  • #6529 do not insert imports before inner comments

  • #6513 support qualified function calls in Remove Unused Parameter assist.

Internal Improvements

  • #6501 make assists API more orthogonal.

  • #6465 support multiple file edits in assists.

  • #6509 support multiple file tests in assists.

  • #6521 switch to upstream protocol for resolving code actions.

  • #6545 simplify project loading.