Changelog #97
Commit: 4b7675f
Release: 2021-10-04
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#10395(first contribution) addpub(super)keyword completion. -
#10398(first contribution) setdefaultLibrarysemantic token on standard library items. -
#10403add semantic token modifier for crate root. -
#10362add assist to converta/mod.rsintoa.rs:
-
#10412highlightasm!as format string:
-
#10441hide type inlay hints for constructors:
-
#10181add basic LSIF support. -
#10384add nativeonEnterRulesfor Code. -
#10385makeextern crate test;work. -
#10366enable attribute proc macros by default.
Fixes
-
#10416(first contribution) aboutvscode-vimin theonEnterdocs. -
#10374makestringify!insert/collapse whitespace when needed. -
#10418add whitespace between lifetime and mut keyword in expand macro command. -
#10377fix proc macro crash on nightly. -
#10378implement mostproc_macrospan handling methods. -
#10305moveGenericParams's handling ofimpl TraitintoGenericParams::generic_params_query. -
#10382fixinline_callbreakingRecordExprFieldshorthands. -
#10373,#10399fixinto_iteratorcompletion onVec<{unknown}>. -
#10389use the rightHirFileIdwhen expanding macros in function parameters. -
#10397,#10400,#10413fix format string highlighting forpanic!,assert!,todo!,unimplemented!,concat!andunreachable!. -
#10402don’t show flyimport completions inuserenames. -
#10411parenthesize expressions inif_to_bool_thenassist where required. -
#10422overwrite files when callingpatchelf. -
#10425only highlight the semicolon in "Remove semicolon" diagnostics. -
#10430fix rename trying to edit the same range multiple times for certain macro inputs. -
#10437fixextract_variablenot working on macro calls. -
#10436fixawaitinsertion with?duringextract_function. -
#10439fixinsert_useincorrectly merging glob imports. -
#10442limit depth to 1 when searching forCargo.tomlto prevent activation in non-Rust projects.
Internal Improvements
-
#10353(first contribution) removeGenericParams::new. -
#10364renameDyn*toAny*nodes. -
#10406restructure syntax element highlighting into node and token branches. -
#10414add some profiling calls to name resolution. -
#10426use naming that matches intended use case. -
#10429remove deprecated method. -
#10431clean up MBE a bit.