Changelog #47

Commit: 3ca97b0
Release: 2020-10-19

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #5917 add rust-analyzer.openDocs command to open documentation of symbol under cursor:

    DeVAfV4
  • #6153 aggressively pre-warm caches on startup. This should reduce latency in some cases, and give better indication about when rust-analyzer is fully ready.

  • #6137, #6248, #6275 add a new TextMate grammar.

  • #6130 quick fix to change casing of names.

  • #6230 improve logging during sysroot discovery. Use RA_LOG=project_model=debug to see those logs.

  • #6240 document auto-import: manual.html#import-insertion.

  • #6242 suggest field shorthand in patterns.

  • #6220 implement binary operator overloading type inference.

  • #6246 follow symlinks when crawling the project tree. This doesn’t implement full support for symlinks, but fixes some of the cases.

Fixes

  • #6277 Change Visibility assist works for type aliases.

    96458761 9a7c7300 1221 11eb 8243 1c722cc8b614
  • #6199 fix semantic highlighting for mut self.

  • #6198 improve semantic highlighting of macro rules.

  • #6195 when shortening iterator hints, recursively shorten associated types.

  • #6213 fix "Invalid request: experimental/resolveCodeAction" panic.

  • #6209 fix auto-import merge behavior for full/last options.

  • #6222 fix stackoverflow in insert_use::recursive_merge.

  • #6236 prevent editors from forming ligatures with inlay hints.

  • #6234 fix hover over field pattern shorthand.

  • #6262 remove some incorrect completions.

  • #6271 complete method calls when receiver is a macro.

Internal Improvements

  • #6260 switch build automation to use xshell

  • #6208 debug a befuddling failure on CI. Turns out, macOS tar is broken, and can corrupt cargo’s caches, which would result in “crate not found” compilation errors.

  • #6207 make auto-import infrastructure more reusable.

  • #6226 test that all rust-analyzer’s protocol extensions are documented.

  • #6228 add S-actionable and S-unactionable issue labels.

  • #6231 split syntax highlighting into more modules.

  • #6233, #6239, #6250 additions to style guide.

  • #6276 move completion into a separate crate.