Changelog #224

Commit: 574e23e
Release: 2024-03-11 (v0.3.1877)

New Features

  • #16662, #16773, #16794 add test explorer (disabled by default, enable using rust-analyzer.testExplorer).

  • #15938, #16756 add hover display for trait assoc items

Fixes

  • #16723 (first contribution) complete constants inside format strings.

  • #16769 fix argument type inference with associated type impl Trait.

  • #16757 disable style lints by default (rust-analyzer.diagnostics.styleLints.enable).

  • #16759 fix "Go to definition" for constants inside range patterns.

  • #16778 bump rustc_pattern_analysis to fix a panic on mismatched types.

  • #16770 fix panic on float numbers without dots in chain calls (x.1e0).

  • #16779 skip match diagnostics for partially unknown types.

  • #16690 use four-space indentation in macro expansion.

  • #16752 don’t allow destructuring of structs with no public fields.

  • #16766 keep attributes in "Generate delegate trait" assist.

  • #16775 remove accidental dependency between parse_macro_expansion and parse.

  • #16776 make SpanMap accesses lazy to avoid a salsa dependency.

  • #16777 don’t invalid body query results when generating desugared names.

  • #16781, #16782 don’t escape \ and $ in "Extract format expression".

  • #16719 add basic support for the VS Code Native Debug extension.

Internal Improvements

  • #16722 (first contribution) avoid some allocations.

  • #16748 compute syntax validation errors on demand.

  • #16755 use PATH For toolchain binaries.

  • #16785, #16786, #16787 simplify the parser code somewhat.

  • #16742 add parent-child relationship between SourceRoots.

  • #16703 add more methods for resolving AST definitions to their corresponding HIR types.

  • #16763 add index and parent_fn accessors to hir::Param.

  • #16772 add tracing spans to salsa databases.

  • #16708, #16751 move assist, diagnostics docs and lint definition generation into xtask codegen.

  • #16747 various clean-ups.

  • #16758 bump dependencies.