Changelog #96

Commit: 009e6ce
Release: 2021-09-27

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #10211 (first contribution) add assist to convert file module to directory:

    134807312 cd82dd6a 753b 479c 9f11 02f71a6074a8
  • #10320 Make hover and Go to definition work in macro invocations and doc attribute strings:

    134554781 b903d33d 674f 4ed4 8acb 71ff5913f1cb
  • #10352 implement "Inline into callers" assist:

    134812039 d9389522 eb1d 4654 b00c 77381a31f513

Fixes

  • #10334 (first contribution) set error context when spawning rustfmt fails.

  • #10105 (first contribution) use todo!() instead of () in "Fill missing fields".

  • #10315 (first contribution) fix manual page title.

  • #10306 use better names for consts and statics in "Generate function" parameters.

  • #10328 fix incorrect mod.rs handling in "Unlinked file" fixes.

  • #10338 fix diagnostics in unnamed consts.

  • #10339 fix reporting of item-level macro errors.

  • #10321 change the global setting when toggling inlay hints.

Internal Improvements

  • #10284 (first contribution) refactor hover and go to definition lookups.

  • #10313 (first contribution) tell Git that the benchmark files are binary.

  • #10303 add a mirror proc macro expander for tests.

  • #10304 generate ast nodes for each ast trait.

  • #10319, #10322 clean up and split the hover code.

  • #10335 avoid some Arc cloning.

  • #10358 remove inherent methods from ast nodes that do non-syntactic complex tasks.

  • #10343, #10354, #10350, #10360 parser cleanups.

  • #10357 fix and force-disable block validation.