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