Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 2.34 KB

2020-03-16-changelog-16.adoc

File metadata and controls

58 lines (47 loc) · 2.34 KB

Changelog #16

Commit: commit:ebab250b6bffaafb347ce431d5f4c9eeab4aa7e3[]
Release: release:2020-03-16[]

Note that the minimal required version of VS Code is 1.43.0 now. In general, we only support the latest release of VS Code.

New Features

  • pr:3534[] Implement nightly channel for VS Code. You can enabled nightly channel by setting

    "rust-analyzer.updates.channel": "nightly"

    option.

  • pr:3561[] add Debug code lens. It requires vscode-lldb extension to work.

    76760335 bf8d9c80 678d 11ea 80c3 8e8b12a36690
  • pr:3506[] Trigger associated item completion when typing a name of the item.

    76758522 1ee9ad80 678a 11ea 84cd 111739ecd379
  • pr:3549[] initial support for the env! macro. This unlocks preliminary support for include!(concat!(env!("OUT_DIR"), "/foo.rs")) pattern. At the moment, value for OUT_DIR should be specified in the settings, using rust-analyzer.additionalOutDirs key.

  • pr:3543[] separate options for controlling type and parameter inlay hints: rust-analyzer.inlayHints.typeHints and rust-analyzer.inlayHints.parameterHints.

  • pr:3591[] initial support for local macro_rules.

  • pr:3587[] replace "workspace loaded" notification with a progress bar.

Fixes

  • pr:3552[] fix completion for partially unknown types.

  • pr:3542[] rename works correctly for field init shortcut.

    76759028 28bfe080 678b 11ea 9fb5 5ab6e6476814
  • pr:3557[] on Enter, continue multiline non-doc comments.

  • pr:3558[] fix parsing of binary expressions where rhs is a block.

  • pr:3564[] correctly handle multi-spand diagnostics/fixits from rustc/clippy.

  • pr:3553[] show completion for all namespaces.

  • pr:3574[] fix completion for HashMap::new.

  • pr:3576[] correctly parse variadic extern "C" functions.

  • pr:3595[] fix completion of trait items.

  • pr:3573[] by default, run cargo check for all crates in workspace.

Internal Improvements

  • pr:3551[] slightly refactor feature flags.

  • pr:3562[] implement fmt::Display for all AST nodes.

  • pr:3577[] protect against diverging macro expansion.

  • pr:3540[] split Structural Search Replace into query validation and execution.