Changelog #97

Commit: 4b7675f
Release: 2021-10-04

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #10395 (first contribution) add pub(super) keyword completion.

  • #10398 (first contribution) set defaultLibrary semantic token on standard library items.

  • #10403 add semantic token modifier for crate root.

  • #10362 add assist to convert a/mod.rs into a.rs:

    134837717 074c23e9 1ca2 4207 b780 8443b2241272
  • #10412 highlight asm! as format string:

    135606261 a1cb6caf 0a7f 45f7 9dde 0275370b0889
  • #10441 hide type inlay hints for constructors:

    135773135 caa363a2 ff40 42c2 baea 95809b85017f
  • #10181 add basic LSIF support.

  • #10384 add native onEnterRules for Code.

  • #10385 make extern crate test; work.

  • #10366 enable attribute proc macros by default.

Fixes

  • #10416 (first contribution) about vscode-vim in the onEnter docs.

  • #10374 make stringify! insert/collapse whitespace when needed.

  • #10418 add whitespace between lifetime and mut keyword in expand macro command.

  • #10377 fix proc macro crash on nightly.

  • #10378 implement most proc_macro span handling methods.

  • #10305 move GenericParams's handling of impl Trait into GenericParams::generic_params_query.

  • #10382 fix inline_call breaking RecordExprField shorthands.

  • #10373, #10399 fix into_iterator completion on Vec<{unknown}>.

  • #10389 use the right HirFileId when expanding macros in function parameters.

  • #10397, #10400, #10413 fix format string highlighting for panic!, assert!, todo!, unimplemented!, concat! and unreachable!.

  • #10402 don’t show flyimport completions in use renames.

  • #10411 parenthesize expressions in if_to_bool_then assist where required.

  • #10422 overwrite files when calling patchelf.

  • #10425 only highlight the semicolon in "Remove semicolon" diagnostics.

  • #10430 fix rename trying to edit the same range multiple times for certain macro inputs.

  • #10437 fix extract_variable not working on macro calls.

  • #10436 fix await insertion with ? during extract_function.

  • #10439 fix insert_use incorrectly merging glob imports.

  • #10442 limit depth to 1 when searching for Cargo.toml to prevent activation in non-Rust projects.

Internal Improvements

  • #10353 (first contribution) remove GenericParams::new.

  • #10364 rename Dyn* to Any* nodes.

  • #10406 restructure syntax element highlighting into node and token branches.

  • #10414 add some profiling calls to name resolution.

  • #10426 use naming that matches intended use case.

  • #10429 remove deprecated method.

  • #10431 clean up MBE a bit.