Changelog #59
Commit: 60c501f
Release: 2021-01-11
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
- 
#7131Inline Function assist for inlining a function’s body into its caller:  
- 
#7193show progress for fetching workspace:  
- 
#7149,#7152,#7154implement hovering for TypeParams.  
- 
#6980goto definition for intra-doc links:  
- 
#6587,#7147Structural Search Replace (SSR) supports statement matching and replacing.
- 
#7171emit diagnostics for unresolved item-level macros.
- 
#7097add fix to wrap return expression inSome.
Fixes
- 
#7156rename config options:1 2 rust-analyzer.serverPath -> rust-analyzer.server.path assist_importMergeBehaviour -> assist.importMergeBehavior 
- 
#7162introduce queries to avoid O(N^2) lookup when performing completion for enums with many variants.
- 
#7174normalize line endings when formatting.
- 
#7176don’t complete optional arguments when completing attributes.
- 
#7205fix bug for $crate in LHS of mbe.
- 
#7234allowtrueandfalsekeywords in const generics.
- 
#7241Honor client’s dynamic registration capabilities.
Internal Improvements
- 
#7145add hygiene info to macro expansions.
- 
#7198add motivations to all styleguide rules.
- 
#7184changes cursor marker from<|>to$0.
- 
#7196improve fixture syntax highlighting.
- 
#7159refactor mbe to reduce clone and copying.
- 
#7160API to gethir::Functionreturn type.
- 
#7140store trait associated items in fuzzy search index.
- 
#7168rename BlockExpr::expr → tail_expr.
- 
#7182switch from difference to dissimilar.
- 
#7189extend git evacuation procedure.
- 
#7206use hir::GenericParam in ide_db::Definition instead of relisting all 3.