Changelog #83
source link: https://rust-analyzer.github.io/thisweek/2021/06/28/changelog-83.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Changelog #83
New Features
-
#9375
highlight exit and yield points: -
#9396
,#9397
highlight loop exit points: -
#9362
massively improve performance for large files. -
#9264
make documentation on hover configurable. -
#9080
improve completion of cfg attributes. -
#9031
addpublic
semantic token modifier for public items. -
#9380
add "Go to declaration" support. -
#9227
add config setting to disable thecfg(test)
cfg in specific crates. -
#9348
output to a log file ifRA_LOG_FILE
is defined in environment.
Fixes
-
#9353
(first contribution) include extra targets when thepkg_root
is not the same as the target root. -
#9314
add.await
when extracting an async function. -
#9355
don’t insert}
when typing{
in a string. -
#9357
update sysroot crates. -
#9363
set target directory explicitly to avoid deadlock runningcargo
. -
#9368
prefer identifier tokens in "Expand macro". -
#9390
improve type bound completions. -
#9400
fix renaming associated trait items with colliding names. -
#9347
add note aboutcfg(debug_assertions)
.
Internal Improvements
-
#9379
remove one more accidentally quadratic code path. -
#9373
factor outpick_best_token
ide pattern intoide_db
. -
#9356
refactor completion tests. -
#9383
rewrite token tree lowering to use an explicit stack. -
#9413
deduplicate expression AST visiting logic. -
#9364
split hover actions config into its own config struct. -
#9367
document perf characteristics ofSyntaxNodePtr::to_node
. -
#9369
documentsource_to_def
and its connection to Kotlin and Roslyn. -
#9377
countItemScope
s. -
#9381
fix compilation onwasm32-unknown-unknown
. -
#9165
apply some clippy suggestions.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK