Changelog #125
Commit: 65fbe0a
Release: 2022-04-18
Announcement
Since this week, rust-analyzer has a new home!
The repository now lives in the rust-lang GitHub organization.
If you’re an existing user or contributor there’s no need to take action but if you encounter any glitches, please keep calm and report them.
New Features
-
#11935,#12006switch to LSP inlay hints (requires VS Code 1.66). -
#11961deprioritize already-imported names inuseitems:
-
#11971add trailing;when typing=in assignment:
-
#11956allow customizing the command for running build scripts. -
#12014attempt to formatexpand_macrooutput withrustfmtif possible.
Fixes
-
#11957(first contribution) fix GAT panics. -
#11883move module directory on rename. -
#11967fix trait impl completions not triggering afterfn/const/type:
-
#11969add trailing;when completing associated const/type in trait impl. -
#11992resolveuN::methodeven whenuse std::uN;is present. -
#11993enable ADT keyword completions in block expressions. -
#12000tagmacro_rulesmacro bang withMacroBangtag. -
#12001do reference search on all downmapped tokens with the same kind only. -
#12002,#12008fix source root panic in global state when switching git branches. -
#11991fix completion detail for async functions and RPITs. -
#12011showimpl Traitin argument position in completion details. -
#12013supportassociated_const_equalityin parser.
Internal Improvements
-
#11980(first contribution) update repository URL. -
#11964unset test feature in rustc source crates. -
#11970bump chalk to fix most type mismatches in therust-analyzerrepo. -
#11958show config deserialization failures on start up. -
#11960show more project building errors to the user. -
#11990improveItemTreepretty print output. -
#11999update feature list in VS Code extension README. -
#12003remove duplicated crate id field fromhir::Type. -
#12005remove frequentArc<Body>clones in type checking. -
#12009add more visibility into why the project gets reloaded.