Changelog #68
Commit: 5ba7852
Release: 2021-03-15
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#7799add "peek related tests" command (LSP extension):
-
#7956(first contribution) add "convert for_each into for loop" assist:
-
#7898infer return type in "generate function" assist:
-
#7873consider unresolved qualifiers during flyimport:
-
#7874,#7961add "apply Structural Search and Replace" assist:
-
#7904,#8014improve completion sorting:
-
#7981(first contribution) support multiple terms in De Morgan’s Law assist:
-
#7914enable build scripts execution by default (disable usingrust-analyzer.cargo.runBuildScripts). -
#7928(first contribution) addx.errpostfix completion. -
#7964implement builtincfg!macro. -
#7942show whether a binding is mutable or not on hover. -
#7993use auto-deref in completion scoring.
Fixes
-
#7901(first contribution) respect HTTP proxy settings in the Code extension. -
#7912deduplicate import map results. -
#7941fix highlighting of unused definitions. -
#7944selecting&mut foocompletion now actually inserts&mut. -
#7957fix labels for single import assists. -
#7958avoid double text edits when renaming mod declaration. -
#7959prefer names from outerDefMapover extern prelude. -
#7969return original text range inPrepareRenameresponses when inside macro. -
#7972add semicolon after type ascription. -
#7994speed up MBE matching for recursive macros. -
#7984improve version string display. -
#7997fix folding range kind. -
#7999handlecfg_attrgating multiple attributes. -
#8005handle ill-formed macros properly. -
#8010attach trivia toast::Unionnodes. -
#8017keep type params in doc-test paths.
Internal Improvements
-
#6822(first contribution) read version ofrustcthat compiled proc macros. -
#7921avoid someserde-jsondependencies. -
#7918,#7980generalize file ensuring infrastructure, dropxtask codegen. -
#7923remove uselesscode_modelindirection. -
#7924use upstreamcov-markimplementation. -
#7930clarify that all protocol extensions are experimental. -
#7931useType::new_with_resolver_innermore. -
#7932improve settings descriptions. -
#7945future-proof completion scores. -
#7878removeitem_scopefield fromBody. -
#7948deleteContainerId. -
#7955stop fetching ItemTrees for no reason. -
#7967useexpect-testfor builtin macro/derive tests. -
#7974,#7978(first contribution) use references inCompletionItembuilder. -
#7985use ChalkEnvironmentmore directly. -
#7989removeItemTree::source. -
#7991simplifyhir_def::TestDB. -
#7996separateTyandTyKindlike in Chalk. -
#8002createTraitEnvironmentthrough a query. -
#8003move type lowering methods toTyLoweringContext. -
#8006simplify MBE bindings builder. -
#8011add--no-sysrootflag foranalysis-stats. -
#8016more Chalk adaptations.