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