Changelog #99

Commit: 91cbda4
Release: 2021-10-18

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #10529 generate PartialOrd implementations:

    137682192 12f729c3 c70b 456e 9b6c a92fa4ea275f
  • #10434 allow Locate parent module in Cargo.toml:

    137682837 46cb51b3 f6fa 41b1 b947 ae65f9a6509c
  • #10539 add "Generate delegate methods" assist:

    137555191 2f9ff184 a235 4afb 87c7 aa03cea4a96f
  • #10546 implement "Promote local to const" assist:

    137555943 51a11a43 5e8f 4309 8178 417b677d74ad
  • #10417 add "Unwrap Result return type" assist:

    137636737 06a3d47d f647 45dd 85a2 fe0579ef24a7

Fixes

  • #10519 (first contribution) set toolinfo in LSIF export.

  • #10522 (first contribution) fix serialization of SignatureHelp response.

  • #10534 (first contribution) improve logo rendering on dark backgrounds.

  • #10538 (first contribution) make brace matching prefer the one to the right of the cursor.

  • #10542 (first contribution) use workspace cargo to fetch rust-src metadata.

  • #10543 (first contribution) narrow "Add missing match arms" assist range.

  • #10491 (first contribution) support nested type in "Replace if-let with match".

  • #10533 fix AssistContext panic on sole whitespace selection.

  • #10503 only include targets of packages that are workspace members.

  • #10517 report cargo check failures.

  • #10552 fix "Missing fields" diagnostic fix replacing wrong text ranges.

  • #10557 fix qualified path completion not completing macros.

  • #10562 fix clippy attribute completions always inserting clippy::.

  • #10569 skip non clippy completions when completing a clippy path.

Internal Improvements

  • #10532 (first contribution) rename descend_into_macros functions.

  • #10525 regenerate lints and features.

  • #10526 improve user snippet import performance.

  • #10528, #10533 make selections in assists with trailing/leading whitespace more forgiving.

  • #10423 refactor for mdbook plugin.

  • #10309 use ControlFlow in "Extract function" assist.

  • #10558 refactor lifetime completion context fields.

  • #10561 don’t turn local names into strings in CompletionContext.