Changelog #13
Commit: cba3c99
Release: 2020-02-24
New Features
-
#3216language server binary is renamed fromra_lsp_servertorust-analyzer. Additionally,rust-analyzer.lspServerPathconfig is renamed torust-analyzer.serverPath -
#3199,#3200mergera_clibatch processing utils with the mainrust-analyzerbinary. Now you can, eg, runrust-analyzer analysis-stats path/to/my/projectto type check all functions in batch. This is intended to help with debugging rust-analyzer itself. -
#3206automatically installrust-srccomponent. -
#3231add Remove mut assist. -
#3252for syntax highlighting, take token color customization into account. -
#3269document inlay hints. -
#3275document structural search and replace.
Fixes
-
#3229fix a crash with non-ascii whitespace in doc-comments. -
#3228fix hover for for code inside macro calls. -
#3233extend selection correctly handles commas in tuple patterns -
#3239remove dependency on libbacktrace. -
#3241Fill missing fields fix works with enum variants as well. -
#3215exclude methods from non-parameter types introduced by generic constraints -
#3248fix customonEnternot triggering at the start of a doc comment -
#3251,#3282better error messages when workspace loading fails. -
#3259fix handing of associated type. -
#3244renaming a module now renames both the file and the references to the module. -
#3262correctly distinguish between const patterns and bindings. -
#3260fix name resolution rules for build-in types. -
#3230fix macro expansion for invalid tokens. -
#3277gracefully handle cancellation errors in VS Code plugin. -
#3289,#3290don’t break the Enter key if rust-analyzer returns an error.
Internal Improvements
-
#3195remove dependency onproptestproperty based testing library to improve compile times. -
#3209,#3205,#3258switch TypeScript extension linter to eslint. -
#3214document all modules in the language server crate. -
#3026simplify internal representation of syntax errors. -
#3234,#3235,#3236refactor handing of symbols/defs in IDE. -
#3242make sure that, by default, rust-analyzer does not depend on C code. -
#3247makerust-analyzer --versionmore useful and reliable. -
#3263use chalk for unsizing coercions. -
#3274refactor navigation-related code to use hir instead of AST. -
#3261setup client-side logging infrastructure.