Changelog #130

Commit: 84be2ea
Release: 2022-05-23

New Features

  • #12334 (first contribution) add Generate enum variant assist:

  • #12345 (first contribution) add escapeSequence semantic token type.

  • #12263 hide type inlay hints for let statements that initialize a closure (enable using rust-analyzer.inlayHints.typeHints.hideClosureInitialization):

    168470158 6cb77b18 068e 4431 a8b5 e2b22d50d263
  • #12130 add assist to turn let-else statements into let and match:

  • #12316 show parameter inlay hints for closure invocations:

    169746543 bf3e7de1 896f 4af7 bf5c 766bc6f8e4be
  • #11830 add "on typing" handler for angle brackets (<, >).

  • #12303 improve docs generation assist.

  • #12326 add cargo clippy task preset.

  • #12329 don’t swallow build script errors.

Fixes

  • #12320 (first contribution) hide closure return hints if type is specified.

  • #12277 fix Show implementations link display error.

  • #12309 fix incorrect expected type in completions for trailing match arms.

  • #12301 adjust rustc diagnostic ranges for DOS line endings.

  • #12325 clear cargo check diagnostics when turning off flycheck.

  • #12342 avoid async callback to make Join lines work again.

  • #12346 special-case base URLs of BuiltinTypes to core.

  • #12281 increase default chalk overflow depth to fix some crashes.

Internal Improvements

  • #12311 improve inlay hint tooltips.

  • #12349 publish universal VSIX to make Code happy.

  • #12294 switch to Prettier for TypeScript formatting.

  • #12327 rename Expr::Lambda to Expr::Closure.

  • #12337 document overall approach to reload.

  • #12313 remove duplicate word in cachePriming.numThreads description.