Changelog #59

Commit: 60c501f
Release: 2021-01-11

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #7131 Inline Function assist for inlining a function’s body into its caller:

    104171256 69bc6c00 5413 11eb 980f e34d259d529e
  • #7193 show progress for fetching workspace:

    103902132 0db4c780 5135 11eb 94d3 32429445be87
  • #7149, #7152, #7154 implement hovering for TypeParams.

    103547890 42aaeb00 4ea5 11eb 8ac7 f166869af5f8
  • #6980 goto definition for intra-doc links:

    104176594 90c96c80 5418 11eb 8fe2 0962d228f443
  • #6587, #7147 Structural Search Replace (SSR) supports statement matching and replacing.

  • #7148, #7151 build aarch64-pc-windows-msvc releases.

  • #7171 emit diagnostics for unresolved item-level macros.

  • #7097 add fix to wrap return expression in Some.

Fixes

  • #7156 rename config options:

    1
    2
    
    rust-analyzer.serverPath    -> rust-analyzer.server.path
    assist_importMergeBehaviour -> assist.importMergeBehavior
    
  • #7162 introduce queries to avoid O(N^2) lookup when performing completion for enums with many variants.

  • #7174 normalize line endings when formatting.

  • #7176 don’t complete optional arguments when completing attributes.

  • #7205 fix bug for $crate in LHS of mbe.

  • #7234 allow true and false keywords in const generics.

  • #7241 Honor client’s dynamic registration capabilities.

Internal Improvements

  • #7145 add hygiene info to macro expansions.

  • #7198 add motivations to all styleguide rules.

  • #7184 changes cursor marker from <|> to $0.

  • #7196 improve fixture syntax highlighting.

  • #7159 refactor mbe to reduce clone and copying.

  • #7160 API to get hir::Function return type.

  • #7140 store trait associated items in fuzzy search index.

  • #7168 rename BlockExpr::expr → tail_expr.

  • #7170, #7172 refactor config handling.

  • #7181, #7191 improve internal docs.

  • #7182 switch from difference to dissimilar.

  • #7189 extend git evacuation procedure.

  • #7212, #7216, #7223, #7226 refactor syntax highlighting

  • #7206 use hir::GenericParam in ide_db::Definition instead of relisting all 3.