Changelog #90

Commit: b641a66
Release: 2021-08-16

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #9828 (first contribution) use graphviz-d3 for the crate graph instead of running an installed binary:

    128995056 9e70197a 3e83 4eda b813 2485d0800cfe
  • #9825, #9835, #9846, #9863 Generate default impls when converting Default, Hash, Clone or PartialEq #[derive]s:

    129512152 622a7445 e424 4780 9d91 17051989e666
  • #9804 add "Generate method" assist:

    128745185 4b4674e8 fc5f 45d2 b5a7 22af5c28abfe
  • #9837 implement "Convert bool::then to if" assist:

    129512597 b0f92f9b a73b 4ca4 847f 678357505878
  • #9856 show type actions on ranged type hover:

    129512807 c8e79a7e 3693 4847 9a93 a4e5fd2c6443
  • #9735 add assist to sort members alphabetically:

    129513196 4ffc7937 be58 44d4 9ec7 ba8745dcb460
  • #9879, #9886 support if let match guards.

  • #9833 highlight methods that take self by value as consuming.

Fixes

  • #9889 (first contribution) add setup instructions for the juCi++ editor.

  • #9845, #9849 do not drop ..Default::default() completion when typing ...

  • #9862 fill out expected type for functional update syntax completion.

  • #9842 substitute generic types in "Inline call".

  • #9860 fix "Extract function" unnecessarily tagging parameters as mut.

  • #9861 make "Extract variable" handle selection ranges better.

  • #9896 only complete type annotations for patterns in function parameters.

  • #9823 avoid some pathological macro expansions.

  • #9893 don’t use uncached syntax nodes in generate_function for sema lookups.

  • #9874 always add implicit proc_macro dependency.

  • #9871 jump to generated function after triggering assist.

  • #9882 fix source map detection for debugging.

Internal Improvements

  • #9832 (first contribution) switch Code extension from rollup to esbuild.

  • #9807 generate implicit Sized bounds for trait solving.

  • #9826, #9827 drop latest requests tracking.

  • #9892, #9897, #9900, #9901 remove old editing APIs.

  • #9890 refactor binary operator handling.

  • #9834 unify subcommand handling between ra and xtask.

  • #9830 enable more assists to generate default trait body implementations.

  • #9838 document codebase stance on using functional combinators.

  • #9854 document that ascription is preferred to a turbofish.

  • #9841 print total size of source code in analysis-stats.

  • #9894 use standard test style.

  • #9905 drop serde_path_to_error from LSP deserialization to reduce compile time.