github rust-lang/rust-analyzer 2025-01-13

latest release: nightly
one day ago

Commit: 8364ef2
Release: 2025-01-13 (v0.3.2264)

New Features

  • #18880 (first contribution) add config to include additional paths in the VFS.
  • #18885 (first contribution) change rust-analyzer.cargo.cfgs from a map to a list.
  • #18907 implement #[rust_analyzer::skip] for bodies.
  • #18903 implement implicit sized bound inlay hints.
  • #18813 reimplement the syntax tree view as a sidebar.
  • #18906 reimplement Rust string highlighting using a tool attribute.
  • #18788 re-remove rust-analyzer.cargo.sysrootQueryMetadata.

Fixes

  • #18832 (first contribution) do not offer completions within strings in macro calls.
  • #18866 (first contribution) fix JSON project buildfile inclusion.
  • #18858 clear diagnostics on cancel unconditionally.
  • #18853 fix case where completion inside macro that expands to #[test] was unavailable.
  • #18864 fix diagnostics not clearing between flychecks.
  • #18877 fix performance issue on missing MBE bindings.
  • #18884 fix env! completions.
  • #18900 do not call prettify_macro_expansion unless "Inline macro" has actually been invoked.
  • #18904 improve module path rendering in hover.
  • #18861 make edition per-token, not file.
  • #18920 fix ref text edit for binding mode hints.
  • #18889 fix token lookup in macro call completions.
  • #18899 fix another panic in fixup reversing.

Internal Improvements

  • #18855 migrate if-let replacement assists to SyntaxEditor.
  • #18524 migrate (un)wrap_return_type assists to SyntaxEditor.
  • #18902 add Definition::Crate.
  • #18921 compute inlay hint text edits lazily.
  • #18923 compute inlay hint tooltips lazily.
  • #18867 support target-tuple (vs. target-triple) and clean up version fetching.
  • #18887 refactor test helpers within ide-completions.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.