rust-analyzer.github.io
#4065, #4128 complete unqualified enum variants #4105 code completion for attributes. #3954 we now pre-select completion variant if it matches the expected type. #4006 syntax highlighting for format strings #4069, #4070, #4158 improve docum...
News & Blog Posts
2020-05-05
~1 min read
rust-analyzer.github.io
#3958 Initial support for proc-macros To enable it, set the following settings: 1 2 3 4 { "rust-analyzer.cargo.loadOutDirsFromCheck": true, "rust-analyzer.procMacro.enabled": true } #3990 switch to Chalk recursive solver. This significantly...
News & Blog Posts
2020-04-21
~1 min read
rust-analyzer.github.io
#3944 speed up type inference by up to 30% percent. #3867 add CI checks for stray `eprintln`s. #3842, #3906, #3920 copy libprocmacro from rustc. We will be using this library to load proc macro dynamic libraries. #3863 use .rast extension f...
News & Blog Posts
2020-04-14
~1 min read
rust-analyzer.github.io
BREAKING #3824 changed the name of many options. The current set is specified here. If you are using a non-VS Code client, note that rust-analyzer now asks for rust-analyzer section of configuration, and expects this config to be present in...
News & Blog Posts
2020-04-07
~1 min read
rust-analyzer.github.io
@matklad, Mar 30, 2020 I’ve already written before about how precise code completion is impossible to do inside Rust macros: https://github.com/matklad/proc-caesar. Today I’d like to write a short note about another impossibility result: Co...
News & Blog Posts
2020-03-31
~2 min read
rust-analyzer.github.io
Fixes #3698 dbg! postfix completion wraps the reference. #3703 don’t enabled proposed APIs on stable release. #3707 use real visibility in reference search. #3714 correctly detect x86 CPU architecture. #3717 always expand macros during code...
News & Blog Posts
2020-03-31
~1 min read
rust-analyzer.github.io
#3582 fetch appropriate value of OUT_DIR from cargo check. This enables rust-analyzer to work correctly with crates which use compile-time code generation. This might significantly slow-down startup time (as we need to run cargo check build...
News & Blog Posts
2020-03-24
~1 min read
rust-analyzer.github.io
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.
News & Blog Posts
2020-03-17
~1 min read
rust-analyzer.github.io
#3513 code completion in macro calls. #3432 insert argument snippets when completing function calls. Insertion of snippets is controlled by completion.insertion.add-argument-snippets feature flag. #3498 when completing function call, trigge...
News & Blog Posts
2020-03-10
~1 min read
rust-analyzer.github.io
#3159, #3321, #3322 switch syntax highlighting implementation to use the new proposed semantic token LSP/VS Code API.To try this out: install vscode plugin from source (using cargo xtask install --client-code) set "rust-analyzer.highlightin...
News & Blog Posts
2020-03-03
~1 min read
rust-analyzer.github.io
#3229 fix a crash with non-ascii whitespace in doc-comments. #3228 fix hover for for code inside macro calls. #3233 extend selection correctly handles commas in tuple patterns #3239 remove dependency on libbacktrace. #3241 Fill missing fiel...
News & Blog Posts
2020-02-25
~1 min read
rust-analyzer.github.io
#3084 better error reporting around workspace loading. #3102 better error reporting when deserializing wrong config. #3092 fix error when starting the server immediately after download. #3100 improved error handling when downloading the ser...
News & Blog Posts
2020-02-18
~1 min read
rust-analyzer.github.io
#3053 VS Code extension now tries to automatically download the latest release. Additionally, the extension is now published to the Marketplace (link). Note that if you want to continue using rust-analyzer build from sources, you need to ad...
News & Blog Posts
2020-02-11
~1 min read
rust-analyzer.github.io
#2933 don’t compute diagnostics on the main thread. That fixes a long-standing issue with performance degradation due to cargo check. #2810 make magical search of struct literals work in more contexts. #2916 fix slow cargo check performance...
News & Blog Posts
2020-02-04
~1 min read
rust-analyzer.github.io
#2901 cancel pending requests when shutdown is initiated. #2907 inline variable does not remove unused variables. #2906 fix a bug on windows where main loop was starved by background tasks.
News & Blog Posts
2020-01-28
~1 min read
rust-analyzer.github.io
We now publish binary releases to GitHub 🎁! Note that this is the first release, so things are expected to go wrong. Release process is orchestrated by this workflow. Additionally, the VS Code extension is renamed to rust-analyzer (the old...
News & Blog Posts
2020-01-14
~1 min read
rust-analyzer.github.io
New Features #2668 move cargo watch integration to the server side. Now it is available for every editor, and not only for VS Code. #2661 type inference for async functions. #2663 "add missing impl members" assists now substitutes type para...
News & Blog Posts
2019-12-31
~1 min read