Changelog #15
Commit: 5770fa7
Release: 2020-03-09
Heads up: this update requires VS Code 1.43.0. In general, rust-analyzer requires the latest version of VS Code at the moment.
New Features
-
#3513code completion in macro calls.
-
#3432insert argument snippets when completing function calls.
Insertion of snippets is controlled by
completion.insertion.add-argument-snippetsfeature flag. -
#3498when completing function call, trigger parameter hints automatically. -
#3500more concise mode for parameter hints:
It is controlled by
call-info.fullfeature flag. -
#3392support for eagerconcat!macro. -
#3456publish nightly binary releases: releases/tag/nightly. -
#3474on start up, initiate analysis of files even if there were no explicit requests for it. -
#3490support aliases and Self in struct literals. -
#3494implementinclude!macro. -
#3499resolveSelf::AssocTyin impls. -
#3516account for visibility during code completion. -
#3514flag to update the server binary automatically, without asking. -
#3519hover on item now includes full module path.
Fixes
-
#3378fix inlay hints to work correctly in VS Code for several opened editors. -
#3388don’t show wrong inlay hints in a diff view. -
#3430use correct name when completing re-exported functions. -
#3509disallowinclude!macro to include itself. -
#3520don’t show trivial type hints for unit structs. -
#3526silence "Rust file outside current workspace" warning.
Internal Improvements
-
#3502don’t cache Chalk solver. Counter-intuitively, this allows improves performance by allowing caching elsewhere. -
#3405,#3427,#3428refactor reference and definitions to better accommodate edge cases like field init shorthand. -
#3440,#3426,#3443refactor reference search infrastructure. -
#3413update chalk. -
#3425fix macro expansion for a single dollar. -
#3458addcargo xtask distfor building the distribution package. -
#3489make sure that during expression lowering every non-missing expression gets a source. -
#3487add some editing API for manipulating use statements. -
#3497specify additional label on profiling calls, to see, for example, which functions are slow to typecheck.