Changelog #69
Commit: 858ad55
Release: 2021-03-22
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#8000add HIR formatter infra and use it for hover text:
-
#8032enable proc macros by default (userust-analyzer.procMacro.enableto disable them). -
#7966add diagnostic for files missing from the module tree. -
#7975include regions in file structure:
-
#8021enable reference searching for built-in types:
-
#8020power up "Go to implementation":
-
#7992,#8036improve completions and completion sorting:
-
#8037,#8040add "Generateis_emptymethod fromlenmethod" assist. -
#7900show function parameters in completion detail. -
#8060improve "Move bounds" assist. -
#8071,#8086highlight intra-doc links in doc comments:
-
#8124add lifetime completion:
-
#8127add label completion:
-
#8131add smart case lookup into flyimport completion:
Fixes
-
#8025fix resolution of incomplete fields. -
#8015make runnable detection more resilient to out-of-tree modules. -
#7970fix incorrect diagnostics for failing built in macros. -
#8044fix macro expansion for statements without semicolon. -
#8048fix missing unresolved macro diagnostic in function body. -
#8066handle#[cfg]on call arguments. -
#8068handle#[cfg]on function parameters. -
#8067check whether cursor is on and not between intra-doc links ingoto_definition. -
#8073improve diagnostic when including nonexistent file. -
#8075fixuse crate as <name>;imports. -
#8078support#[cfg]on all associated items. -
#8082properly handle inner recursivemacro_rules!. -
#8088fix "Go to definition" and highlighting for function-like proc macros. -
#8089update info about Eclipse Corrosion. -
#8094fix infinite recursion when computing diagnostics for inner items. -
#8083track source file IDs in source mapping ofAttrs. -
#8108fix handling of#![cfg]in outline module files. -
#8122make bare underscore token anIdentrather thanPunctin proc-macro. -
#8123do not display unqualified associated item completions. -
#8128expand legacy-scoped macro during collection. -
#8133fixsalsapanic. -
#8134(first contribution) fix module resolution in `include!`ed files. -
#8137fix box pattern inference panic.
Internal Improvements
-
#7498switch to a mutable syntax tree implementation. -
#8023moveStructureNodeKindfromide_dbtoide. -
#8022fix someclippyperformance warnings. -
#8026simplify source maps for fields. -
#8008clean upCompletionContext::expected_type. -
#8030adddieselto the benchmark suite. -
#8029enable thread-local coverage mark support. -
#8035unqualfied_pathcompletions aren’t responsible for variant pattern completions. -
#8028prepare for returning parents in the "Locate parent module" command. -
#8039useSmallVecforSubsts. -
#8046addmatchvs.if let … elseentry to the style guide. -
#8034implementCrate::transitive_reverse_dependencies. -
#8042(first contribution) addrustc-perfversion to the metrics JSON. -
#8061structural editing API can automatically insert whitespace in simple cases. -
#8059supportcfg_attrin doc-comment syntax highlighting. -
#8065handle block doc comments better. -
#8069support highlight injection in block doc comments. -
#8080changeItemTreeAPI to accommodate creating anItemTreeper block expression. -
#8087make MacroDefId’sAstIdmandatory when possible. -
#8093record custom derive helpers inDefMap. -
#8097parseextended_key_value_attributes. -
#8112revamphir_defattribute API. -
#8125don’t use an untypedStringfor ActiveParam tracking.