Changelog #76

Commit: fd109fb
Release: 2021-05-10

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #8482 (first contribution) explain how to customize unsafe highlighting.

  • #8674 (first contribution) add folding of multi-line where clauses.

  • #8759 (first contribution) add Kate installation steps to the user manual.

  • #8774 respect .cargo/config.toml:

    117545448 1dcaae00 b026 11eb 977a 0f35a5e3f2e0
  • #8784 auto-insert } when typing { in use item:

    117585742 45983f80 b114 11eb 80fc d44f480fd012
  • #8710 build releases with LTO (link-time optimization).

  • #8761, #8763 improve troubleshooting guide.

Fixes

  • #8712 fix panic in the "Sort methods" assist.

  • #8715 make CompletionContext::expected_type smarter.

  • #8711 only resolve the selected assist.

  • #8719 fix block comment intra-doc link injection ranges.

  • #8731 complete enum variants through type aliases.

  • #8742 do not overwrite comments and attrs in trait impl completion.

  • #8745 support "Go to type definition" on types.

  • #8748 fix "Add missing fields" panic on raw identifiers.

  • #8755 direct people to the right repository for the user manual.

  • #8773 support SelfType when searching for usages.

  • #8777 correctly escape characters in built-in macros.

  • #8779 don’t add space before quote in "Join lines".

  • #8776 fix unnecessary recomputations due to macros.

Internal Improvements

  • #8427 (first contribution) move CI to the rust-cache action.

  • #8714, #8765, #8768, #8769 remove more SyntaxRewriter usages and code.

  • #8716 replace memmap with memmap2 in proc_macro_api.

  • #8720, #8725 add integrated completion benchmark.

  • #8732 refactor expansion queries.

  • #8743 explain why docs should use have one sentence per line.

  • #8746 don’t store call-site text offsets in hygiene info.

  • #8280 borrow text of immutable syntax nodes.

  • #8718 upgrade to Rust 1.52.

  • #8753 expose cfg attrs from hir::Crate.

  • #8762 disable broken incremental builds 😿.

  • #8764 add rust-analyzer version to panic context.

  • #8770 add failing test for the "Pull assignment up" assist.

  • #8781 rewrite Replace impl Trait assist to use mutable syntax trees.

  • #8782, #8783 improve the make API.