rust-analyzer.github.io
#11461 (first-contribution) filter generics in Extract struct from enum variant. #11531 (first contribution) make fill_match_arms assist handle #[doc(hidden)] and #[non_exhaustive]. #11535 (first contribution) add install instructions for K...
Project/Tooling Updates
2022-03-02
~1 min read
rust-analyzer.github.io
Internal Improvements #11470 (first contribution) fix typo in GlobalState docs. #11475 avoid temporary Vec in MBE. #11511 wrap MacroCallKind::Attr attr_args field in an Arc. #11512 remove name fields from MacroCallKind.
Project/Tooling Updates
2022-02-23
~1 min read
rust-analyzer.github.io
Fixes #11459 (first contribution) add missing experimental capabilities. #11442 (first contribution) use text range of a mod name after macro expansion when renaming a module. #11436 don’t change references to super when renaming a module....
Project/Tooling Updates
2022-02-16
~1 min read
rust-analyzer.github.io
#11182 (first contribution) don’t panic on seeing an unexpected offset. #11412 (first contribution) include fn/type/const keyword in trait impl completion item source ranges. #11388 fix proc-macro server not using the supplied span in Ident...
Project/Tooling Updates
2022-02-09
~1 min read
rust-analyzer.github.io
Internal Improvements #11340 make syntax bridge fully infallible. #11353 set current working directory for procedural macros. #11356 roll back env vars changed by a proc macro. #11365 allow proc_macro_srv users to disable copying of compile...
Project/Tooling Updates
2022-02-02
~1 min read
rust-analyzer.github.io
Fixes #11310 (first contribution) remove pipe from surroundingPairs. #11311 insert auto-imports after header comments. #11307 allow macros to expand to or-patterns. #11314 don’t load auxiliary crates outside the workspace. #11334 avoid pani...
Project/Tooling Updates
2022-01-26
~1 min read
rust-analyzer.github.io
#11247 print a single ellipsis for any number of omitted types. #11257 report missing macro diagnostics in item bodies. #11259 fix use super::{super::…};. #11261 don’t complete attributes with existing expressions. #11263 don’t drop param...
Project/Tooling Updates
2022-01-19
~1 min read
rust-analyzer.github.io
#11107 (first contribution) fix generic type substitution when implementing trait with associated type. #11061 support Move if to guard on if-else chains. #11178 keep block modifiers in Replace match with if let. #11184 pass through mutable...
Project/Tooling Updates
2022-01-12
~1 min read
rust-analyzer.github.io
Dec 30, 2021 A lot has happened this year, so we want to take a brief look back at what we have achieved and what has yet to come. Unfortunately, we did not manage to make rust-analyzer an official Rust project in 2021. But if all goes well...
Project/Tooling Updates
2022-01-05
~6 min read
rust-analyzer.github.io
Internal Improvements #11131 avoid speculation when completing macros. #11156 record unresolved derive invocations in hir. #11160 use a basic NonEmptyVec in mbe::syntax_bridge. #11169, #11177 handle macro calls better in highlighting. #1113...
Project/Tooling Updates
2022-01-05
~1 min read
rust-analyzer.github.io
There are some recent known issues related to the VS Code extension and the update mechanism: Since last week, users running VSCodium or another open-source build of Code might have issues opening projects. This is caused by a change to bun...
Project/Tooling Updates
2021-12-29
~1 min read
rust-analyzer.github.io
#11054 (first contribution) don’t trim twice in Unwrap block. #11017 (first contribution) support Move condition to guard with an else branch. #11030 add missing comma in Move condition to guard. #11043 fix incorrect mismatched argument cou...
Project/Tooling Updates
2021-12-22
~1 min read
rust-analyzer.github.io
#10979 don’t show trait flyimports for impl trait and placeholders. #10976 show case-insensitive exact matches instead of fuzzy flyimport for short paths. #10986 fix lint completions not working for unclosed attributes. #10960 fix handling...
Project/Tooling Updates
2021-12-15
~1 min read
rust-analyzer.github.io
#10906 (first contribution) "add return type" assist when missing whitespace before brace. #10896 resolve associated trait types in paths. #10902 handle multiple cargo check quick fix spans. #10920 shorten spans of mismatched_arg_count diag...
Project/Tooling Updates
2021-12-08
~1 min read
rust-analyzer.github.io
#10846 (first contribution) qualify struct name in constructor completion. #10809 don’t discard formatting of use lines. #10834 make lint groups work correctly with warningsAsInfo and warningsAsHint. #10839 fix mbe::Shift::new not accountin...
Project/Tooling Updates
2021-12-01
~1 min read
rust-analyzer.github.io
#10773 Reimplement mapping out of test/bench attributes for runnables #10734 Add generic parameters in "convert to manual impl" assist #10776 Remove validation of super in use paths #10799 Fix proc macro ABI version checks #10794 Parse rang...
Project/Tooling Updates
2021-11-24
~1 min read
rust-analyzer.github.io
@matklad, Nov 21, 2021 In this article, we’ll discuss challenges that language servers face when supporting macros. This is interesting, because for rust-analyzer, macros are the hardest nut to crack. While we use Rust as an example, the pr...
Observations/Thoughts
2021-11-24
~10 min read
rust-analyzer.github.io
#10731 (first contribution) show the right check command in Code. #10756 (first contribution) allow the check command to terminate with no output. #10729 lookup impls in local def maps. #10722 fix proc-macro attributes being shadowed by the...
Project/Tooling Updates
2021-11-17
~1 min read
rust-analyzer.github.io
Internal Improvements #10696 replace more Name::to_string usages with Name::to_smol_str. #10699 make CompletionItem label and lookup fields SmolStrs. #10698 implement multi-token mapping for ssr. #10667 expose version string of crates from...
Project/Tooling Updates
2021-11-10
~1 min read
rust-analyzer.github.io
#10608 (first contribution) amend the rustup installation instructions. #10574, #10578 fix "Generate PartialOrd implementation" codegen. #10568 improve codegen for "Unwrap Result return type". #10585 resolve derive attributes even when shad...
Project/Tooling Updates
2021-10-27
~1 min read