Changelog #12

Commit: 94fb9ad
Release: 2020-02-17

New Features

  • #3140 we now have a basic manual: https://rust-analyzer.github.io/manual.html. PRs with improvements are welcome!

  • #3108 complete default function, types and constants in impl blocks:

    74660243 0d66b300 5196 11ea 8327 205b1262e7a2
  • #3169 display fields when completing an enum variant:

    74607251 8ce17d00 50d7 11ea 9d4d 38d198a4aec0
  • #3099 initial implementation of Structural Search & Replace.

  • #3074 initial support for OR-patterns.

  • #3064 rename works inside macros.

  • #3120 support auto-import of traits for unresolved method calls in some cases.

  • #3162 VS Code extension automatically downloads the correct server binary release.

  • #3153 when running a Cargo test, pass --exact flag.

  • #3181 add ability to pass additional arguments to rustfmt.

Fixes

  • #3084 better error reporting around workspace loading.

  • #3102 better error reporting when deserializing wrong config.

  • #3092 fix error when starting the server immediately after download.

  • #3100 improved error handling when downloading the server binary.

  • #3114 fix type inference for match arms of unknown type.

  • #3121 during auto-import, don’t insert use statements before inner attributes.

  • #3127 support unnamed arguments in function pointers.

  • #3143 fix name resolution for std::sync::atomic::AtomicX types.

  • #3145 Self inside trait’s default methods implements the trait.

  • #3150 increase the limit on the number of iterations the name resolution algorithm can do.

Internal Improvements

  • #3139 bump VS Code requirenment to 1.42.

  • #3086 automate publishing of the VS Code extension.

  • #3062 preliminary work on type inference for slice patterns.

  • #3136 rewrite `xtask`s in a more declarative style.

  • #3131 simplify configuration handling in VS Code extension.

  • #3157 add randomization to analysis-stats, which should help with debugging non-determinism issues.

  • #3171 enable profiling for analysis-bench.

  • #3174, #3174 improve debugging settings for VS Code extension.

  • #3179 refactor macro expansion.

  • #3190, #3191 simplify VS Code extension life cycle.