Changelog #147

Commit: 187bee0
Release: 2022-09-19

New Features

  • #13058 (first contribution) allow setting env vars when running cargo (cargo.extraEnv and checkOnSave.extraEnv):

  • #13221 (first contribution) add option to move lenses above doc comments (rust-analyzer.lens.location):

    189570298 b4fcbf9c ee49 4b79 aae6 1037ae4f26af
  • #13216 add Extract format argument assist:

  • #13212, #13227 add rust-analyzer.imports.prefer.no.std config to unconditionally prefer core over std imports.

  • #13186, #13228 add rust-analyzer.references.excludeImports option to filter out imports on Find all references.

  • #13215 VS Code: remove the Toggle inlay hints command.

Fixes

  • #13147, #13257 handle trait methods as inherent methods for trait-related types (fixes resolution of try_into).

  • #13223, #13225 handle lifetime variables in projection normalization.

  • #13235 fix prelude injection.

  • #13242 complete variants and associated items in path pattern through type aliases.

  • #13239 fix Add reference quick fix over macro calls.

Internal Improvements

  • #13222 (first contribution) remove redundant resolve_obligations_as_possible call.

  • #13232 refactor macro-by-example code.

  • #13243 use memchr::memmem when searching for usages in ide-db.