Changelog #82
source link: https://rust-analyzer.github.io/thisweek/2021/06/21/changelog-82.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 #82
New Features
-
#9267
in VS Code extension update the LSP server without asking. -
#9275
support goto type for field expressions and patterns. -
#9279
document installation via Homebrew. -
#9258
renameassits.importPrefix
config variants. -
#9301
,#9310
,#9313
better filter out irrelevant completions. -
#9318
completerepr
attribute parameters. -
#9321
substitute generic parameters during auto-complete. -
#9334
don’t split glob imports during auto imports (on by default, can be disabled). -
#9335
auto-import in#[cfg]
-ed blocks adds imports locally.
Fixes
-
#9262
don’t keep a trailingself
token in import paths afterunmerge_use
. -
#9295
highlight unsafe trait refs as unsafe only in impl blocks and definitions. -
#9293
show diagnostic fixes before assists. -
#9308
create modules in correct directory for nested modules. -
#9345
don’t add duplicate&
during completion.
Internal Improvements
-
#9294
(and a whole bunch of related PRs) introduce minicore — a subset of libcore for testing. -
#9320
retire famous_defs_fixture. -
#9346
refactor / clean up hir_ty tests. -
#9278
document that we don’t#[ignore]
tests. -
#9290
enforce no#[ignore]
and no#[should_panic]
. -
#8951
,#9281
,#9292
migrate VS Code plugin to usevscode.FileSystem
proxy API rather than directly calling into node. -
#9260
add<>
to URLs in internal doc comments to make them clickable. -
#9263
don’t use heuristics inrename
(#9344
fixes regression introduced by that PR). -
#9265
move rename infrastructure to core IDE services. -
#9273
don’t pull tracing via chalk. -
#9282
fix package.json error when debugging VS Code extension locally. -
#9315
nest all the or-patterns!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK