Changelog #67

Commit: d54e115
Release: 2021-03-08

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #7777 add line to block and back comment conversion assist:

    110304890 c8155d80 8004 11eb 8a4a 89a90e059d92
  • #7335 (first contribution) add region folding support:

    110306982 19bee780 8007 11eb 8b8c be5e46330586
  • #7691 suggest name in "extract variable" assist:

    108013304 72105400 701c 11eb 9f13 eec52e74d0cc
    108013305 72a8ea80 701c 11eb 957e 2214f7f005de
  • #7795 show docs on hover for keywords and primitives:

    109369534 eeb4f500 789c 11eb 8f2b 2f9c4e129de3
  • #7824 (first contribution) "add type ascription" assist:

    110307658 d7e27100 8007 11eb 965b 2e9a294e7d22
  • #7894 generate_function assist: convert arg names to lower snake case:

    110308337 a9b16100 8008 11eb 8aa7 bf58be48d089
  • #7800 add "generate `default()`" assist:

    110308811 3f4cf080 8009 11eb 9e0f a87c36aaec09
  • #7866 add while let completion.

  • #7889 make imports grouping configurable via rust-analyzer.assist.importGroup.

  • #7868 rename rust-analyzer.cargo.loadOutDirsFromCheck to rust-analyzer.cargo.runBuildScripts.

Fixes

  • #7778 fix lowering trailing self paths in `UseTree`s

  • #7834 fix find_path when inner items are present.

  • #7827 (first contribution) fix proc macro TokenStream::from_str token ids.

  • #7844 fix ProcMacroClient being dropped too early in CLI.

  • #7513 implement an NFA parser for macro-by-example.

  • #7884 simplify TokenStream::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 renaming SelfType and BuiltinType.

  • #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 using meta in MBE.

  • #7888 add a note about code action commands to the coc.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 fix TokenStream::from_str for input consisting of a single group with delimiter.

Internal Improvements

  • #7819 speed up heavy tests.

  • #7820, #7837 Improve VS Code extension README.

  • #7823 bring Ty::InferenceVar closer to chalk equivalent.

  • #7826 introduce Ty::Alias.

  • #7833 use chalk_ir::Mutability.

  • #7870 use chalk_ir::AdtId.

  • #7828, #7836 lint against versioned dev dependencies to fix automatic publishing.

  • #7832 drop pre-commit git hook.

  • #7835, #7847, #7876, #7881, #7849 migrate to a CLI parser with auto-generated help.

  • #7899 rename a few crate_def_map`s to `def_map.

  • #7851 compress tests.

  • #7858 clarify comparison rule in the style docs.