Changelog #67
Commit: d54e115
Release: 2021-03-08
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#7777add line to block and back comment conversion assist:
-
#7335(first contribution) add region folding support:
-
#7691suggest name in "extract variable" assist:
-
#7795show docs on hover for keywords and primitives:
-
#7824(first contribution) "add type ascription" assist:
-
#7894generate_function assist: convert arg names to lower snake case:
-
#7800add "generate `default()`" assist:
-
#7866addwhile letcompletion. -
#7889make imports grouping configurable viarust-analyzer.assist.importGroup. -
#7868renamerust-analyzer.cargo.loadOutDirsFromChecktorust-analyzer.cargo.runBuildScripts.
Fixes
-
#7778fix lowering trailingselfpaths in `UseTree`s -
#7834fixfind_pathwhen inner items are present. -
#7827(first contribution) fix proc macroTokenStream::from_strtoken ids. -
#7844fixProcMacroClientbeing dropped too early in CLI. -
#7513implement an NFA parser for macro-by-example. -
#7884simplifyTokenStream::from_str. -
#7850don’t add space when joining line to opening quote. -
#7861special-case parenthesized and negated expressions in De Morgan’s Law assist. -
#7863prevent renamingSelfTypeandBuiltinType. -
#7880honor snippet capability in the "extract function" assist. -
#7869add support for deref assignments to "pull assignment up" assist. -
#7887fix path parsing when usingmetain MBE. -
#7888add a note about code action commands to thecoc.nvimsection of the docs. -
#7865preserve escape sequences when replacing string with char. -
#7896fix raw string handling in "replace string with char" assist. -
#7892fixTokenStream::from_strfor input consisting of a single group with delimiter.
Internal Improvements
-
#7819speed up heavy tests. -
#7823bringTy::InferenceVarcloser tochalkequivalent. -
#7826introduceTy::Alias. -
#7833usechalk_ir::Mutability. -
#7870usechalk_ir::AdtId. -
#7828,#7836lint against versioned dev dependencies to fix automatic publishing. -
#7832drop pre-commitgithook. -
#7835,#7847,#7876,#7881,#7849migrate to a CLI parser with auto-generated help. -
#7899rename a fewcrate_def_map`s to `def_map. -
#7851compress tests. -
#7858clarify comparison rule in the style docs.