Changelog #16
Commit: ebab250
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
-
#3534Implement nightly channel for VS Code. You can enabled nightly channel by setting1
"rust-analyzer.updates.channel": "nightly"
option.
-
#3561addDebugcode lens. It requiresvscode-lldbextension to work.
-
#3506Trigger associated item completion when typing a name of the item.
-
#3549initial support for theenv!macro. This unlocks preliminary support forinclude!(concat!(env!("OUT_DIR"), "/foo.rs"))pattern. At the moment, value forOUT_DIRshould be specified in the settings, usingrust-analyzer.additionalOutDirskey. -
#3543separate options for controlling type and parameter inlay hints:rust-analyzer.inlayHints.typeHintsandrust-analyzer.inlayHints.parameterHints. -
#3591initial support for localmacro_rules. -
#3587replace "workspace loaded" notification with a progress bar.
Fixes
-
#3552fix completion for partially unknown types. -
#3542rename works correctly for field init shortcut.
-
#3557on Enter, continue multiline non-doc comments. -
#3558fix parsing of binary expressions where rhs is a block. -
#3564correctly handle multi-spand diagnostics/fixits from rustc/clippy. -
#3553show completion for all namespaces. -
#3574fix completion forHashMap::new. -
#3576correctly parse variadicextern "C"functions. -
#3595fix completion of trait items. -
#3573by default, runcargo checkfor all crates in workspace.