Changelog #221

Commit: 68c506f
Release: 2024-02-19 (v0.3.1850)

New Features

  • #16092 (first contribution) introduce term search to rust-analyzer.

  • #16117 (first contribution) prioritize constructors and builders in completions.

  • #15923 improve support for ignored proc macros.

  • #15476 substitute $saved_file in custom check commands.

Fixes

  • #16550 (first contribution) activate on top level Cargo.toml and rust-project.json files.

  • #16530 fix macro transcriber emitting incorrect lifetime tokens.

  • #16541 highlight doc comments.

  • #16547 validate literals in proc macro server’s FreeFunctions::literal_from_str.

  • #16544 only complete traits in impl …​ for.

  • #16553 improve parser error recovery on = in record field initializer and patterns.

  • #16554 pass .cargo/config.toml environment variables to proc-macro server.

  • #16563 set RUSTUP_TOOLCHAIN and invoke the proxies instead of sysroot binaries.

  • #16247 fix build scripts not being rebuilt on some occasions.

  • #16574 fix needless_return false positives on trailing inner item declarations.

  • #16582 respect textual length of paths in find_path.

  • #16583 ignore type mismatches between {unknown} and non-{unknown} types.

  • #16586 remove cargo knowledge from CrateData.

  • #16569 place snippets correctly in multi-edit assists.

  • #16579 fix snippets being placed leftwards of where they should be.

  • #16559 fill in SCIP documentation fields.

Internal Improvements

  • #16588 (first contribution) parse (nightly) const and async trait bounds.

  • #16587 (first contribution) update GitHub actions and Node version.

  • #16576 (first contribution) add license files to lsp-server.

  • #15003 add basic support for become expressions (tail calls).

  • #16577 migrate assists to the structured snippet API, part 7 of 7.

  • #16446 implement literal_from_str in proc macro server.

  • #16537, #16545 make tool discovery prefer sysroot paths.

  • #16540 make macro_arg query always returns a TokenTree.

  • #16560 set channel override when querying the sysroot metadata.

  • #16558 update JsonProject to include optional fields.

  • #16562 add clippy and rustfmt problem matchers to CI.

  • #16573 remove salsa compile tests.

  • #16533 bump rustc_pattern_analysis.

  • #16585 bump actions/checkout to v4.

  • #16598, #16599, #16600 downgrade actions/checkout, actions/setup-node and Node in release workflow.

  • #16597 sync from downstream.