Changelog #67
source link: https://rust-analyzer.github.io/thisweek/2021/03/08/changelog-67.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 #67
New Features
-
#7777
add line to block and back comment conversion assist: -
#7335
(first contribution) add region folding support: -
#7691
suggest name in "extract variable" assist: -
#7795
show docs on hover for keywords and primitives: -
#7824
(first contribution) "add type ascription" assist: -
#7894
generate_function assist: convert arg names to lower snake case: -
#7800
add "generate `default()`" assist: -
#7866
addwhile let
completion. -
#7889
make imports grouping configurable viarust-analyzer.assist.importGroup
. -
#7868
renamerust-analyzer.cargo.loadOutDirsFromCheck
torust-analyzer.cargo.runBuildScripts
.
Fixes
-
#7778
fix lowering trailingself
paths in `UseTree`s -
#7834
fixfind_path
when inner items are present. -
#7827
(first contribution) fix proc macroTokenStream::from_str
token ids. -
#7844
fixProcMacroClient
being dropped too early in CLI. -
#7513
implement an NFA parser for macro-by-example. -
#7884
simplifyTokenStream::from_str
. -
#7850
don’t add space when joining line to opening quote. -
#7861
special-case parenthesized and negated expressions in De Morgan’s Law assist. -
#7863
prevent renamingSelfType
andBuiltinType
. -
#7880
honor snippet capability in the "extract function" assist. -
#7869
add support for deref assignments to "pull assignment up" assist. -
#7887
fix path parsing when usingmeta
in MBE. -
#7888
add a note about code action commands to thecoc.nvim
section of the docs. -
#7865
preserve escape sequences when replacing string with char. -
#7896
fix raw string handling in "replace string with char" assist. -
#7892
fixTokenStream::from_str
for input consisting of a single group with delimiter.
Internal Improvements
-
#7819
speed up heavy tests. -
#7823
bringTy::InferenceVar
closer tochalk
equivalent. -
#7826
introduceTy::Alias
. -
#7833
usechalk_ir::Mutability
. -
#7870
usechalk_ir::AdtId
. -
#7828
,#7836
lint against versioned dev dependencies to fix automatic publishing. -
#7832
drop pre-commitgit
hook. -
#7835
,#7847
,#7876
,#7881
,#7849
migrate to a CLI parser with auto-generated help. -
#7899
rename a fewcrate_def_map`s to `def_map
. -
#7851
compress tests. -
#7858
clarify comparison rule in the style docs.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK