Changelog #79
Commit: f438398
Release: 2021-05-31
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#8955add support for stand-alone Rust files:
-
#8988,#8990support "Go to implementations" on trait functions and associated constants:
-
#8942,#8996addlibrarysemantic token modifier to items from other crates. -
#8767,#9028implement range formatting (requires nightlyrustfmt). -
#9012add tab stops for keyword completions. -
#9027make attribute completion is context aware.
Fixes
-
#8995create tasks for all workspaces (VS Code only):
-
#9038add folding range for return types:
-
#8968(first contribution) fix binary installation instructions. -
#8967(first contribution) fix cursor position after move item command. -
#8994(first contribution) check for subdirectories in VFS loader exclusions. -
#9051(first contribution) fix swapped config descriptions. -
#8959fix downloading the server binary on Windows again. -
#9046makeinclude!and other eager macros work in expression position. -
#8970duplicate dependencies that have multipleDepKinds. -
#8975usetodo!()as placeholder body for generated match arms. -
#8983fix type mismatch caused by macros. -
#8986add "Go to type definition" for struct fields within struct. -
#8989try to fix type inference for the newTrytrait. -
#8987fix lowering ofFnOnce()without return type. -
#8991consider trait to be in scope for trait impls. -
#8993don’t showpd/ppdcompletions where they shouldn’t be. -
#9008remove undesired completions from trait/impl blocks. -
#9026complete modules in associated item lists. -
#9033complete keywords in(Assoc)ItemListwith leading attribute. -
#9059only complete derive proc macros in#[derive]. -
#9064fix incorrectprefer_innercalls on some attribute completions. -
#9020don’t complete non-macro item paths in impls and modules. -
#9032only complete modules in empty use-statements. -
#9054fixmatches!macro on nightly toolchains. -
#9050hir_ty: use async ret type for inference inside async bodies. -
#9065hir_ty: don’t pass where clauses of associated types down tochalk.
Internal Improvements
-
#8973move diagnostics tohir. -
#8965internTypeBoundandGenericArgs. -
#8978internAttrInput. -
#9017reduce the number of traits passed throughchalkduring applicable trait lookup. -
#8976renamehypotheticaltospeculative. -
#8977minorTokenMapcleanups. -
#9007fix someclippy::redundant_clonewarnings. -
#9068move moreCompletionContextfields toImmediateLocation -
#9015merge pattern completion related bools into an enum. -
#9016setrecord_pat_syntaxmore precisely inCompletionContext. -
#9041implement previous sibling determination forCompletionContext. -
#9021explain the motivation behind early configuration. -
#8997stop expandingUseTreesduringItemTreelowering. -
#9024don’t store supertraits inItemTree. -
#9036remove undocumentedTextDocumentSyncKind::Fullsupport. -
#9048add some lint completion tests. -
#9057thread proc macro types through the HIR.