|
| 1 | += Changelog #125 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:65fbe0a8d17fc257f037f4dd465bff69a3d3054a[] + |
| 6 | +Release: release:2022-04-18[] |
| 7 | + |
| 8 | +== Announcement |
| 9 | + |
| 10 | +Since this week, `rust-analyzer` has https://github.com/rust-lang/rust-analyzer[a new home]! |
| 11 | +The repository now lives in the `rust-lang` GitHub organization. |
| 12 | +If you're an existing user or contributor there's no need to take action but if you encounter any glitches, please report them and stay calm. |
| 13 | + |
| 14 | +== New Features |
| 15 | + |
| 16 | +* pr:11935[], pr:12006[] switch to LSP inlay hints (requires VS Code 1.66). |
| 17 | +* pr:11961[] deprioritize already-imported names in `use` items: |
| 18 | ++ |
| 19 | +image::https://user-images.githubusercontent.com/1786438/162790376-6b133925-7cf9-46c5-b0e2-d8c3cba61d47.png[] |
| 20 | +* pr:11971[] add trailing `;` when typing `=` in assignment: |
| 21 | ++ |
| 22 | +image::https://user-images.githubusercontent.com/1786438/163022079-1ed114ef-7c75-490f-a8ed-731a13f0b44d.gif[] |
| 23 | +* pr:11956[] allow customizing the command for running build scripts. |
| 24 | +* pr:12014[] attempt to format `expand_macro` output with `rustfmt` if possible. |
| 25 | + |
| 26 | +== Fixes |
| 27 | + |
| 28 | +* pr:11957[] (first contribution) fix GAT panics. |
| 29 | +* pr:11883[] move module directory on rename. |
| 30 | +* pr:11967[] fix trait impl completions not triggering after `fn`/`const`/`type`: |
| 31 | ++ |
| 32 | +image::https://user-images.githubusercontent.com/1786438/162996087-56540f5e-a6be-4111-a4a5-8de21f483a5e.png[] |
| 33 | +* pr:11969[] add trailing `;` when completing associated const/type in trait impl. |
| 34 | +* pr:11992[] resolve `uN::method` even when `use std::uN;` is present. |
| 35 | +* pr:11993[] enable ADT keyword completions in block expressions. |
| 36 | +* pr:12000[] tag `macro_rules` macro bang with `MacroBang` tag. |
| 37 | +* pr:12001[] do reference search on all downmapped tokens with the same kind only. |
| 38 | +* pr:12002[], pr:12008[] fix source root panic in global state when switching git branches. |
| 39 | +* pr:11991[] fix completion detail for async functions and RPITs. |
| 40 | +* pr:12011[] show `impl Trait` in argument positon in completion details. |
| 41 | +* pr:12013[] support `associated_const_equality` in parser. |
| 42 | + |
| 43 | +== Internal Improvements |
| 44 | + |
| 45 | +* pr:11980[] (first contribution) update repository URL. |
| 46 | +* pr:11964[] unset test feature in rustc source crates. |
| 47 | +* pr:11970[] bump chalk to fix most type mismatches in the `rust-analyzer` repo. |
| 48 | +* pr:11958[] show config deseralization failures on start up. |
| 49 | +* pr:11960[] show more project building errors to the user. |
| 50 | +* pr:11990[] improve `ItemTree` pretty print output. |
| 51 | +* pr:11999[] update feature list in VS Code extension README. |
| 52 | +* pr:12003[] remove duplicated crate id field from `hir::Type`. |
| 53 | +* pr:12005[] remove frequent `Arc<Body>` clones in type checking. |
| 54 | +* pr:12009[] add more visibility into why the project gets reloaded. |
0 commit comments