Skip to content

Commit 877fcb3

Browse files
committed
Changelog #105
1 parent 7af08fa commit 877fcb3

File tree

3 files changed

+44
-6
lines changed

3 files changed

+44
-6
lines changed

generated_assists.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ fn main() {
20082008

20092009
[discrete]
20102010
=== `replace_derive_with_manual_impl`
2011-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs#L19[replace_derive_with_manual_impl.rs]
2011+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs#L22[replace_derive_with_manual_impl.rs]
20122012

20132013
Converts a `derive` impl into a manual one.
20142014

generated_features.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Navigates to the declaration of an identifier.
270270

271271

272272
=== Go to Definition
273-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/goto_definition.rs#L16[goto_definition.rs]
273+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/goto_definition.rs#L14[goto_definition.rs]
274274

275275
Navigates to the definition of an identifier.
276276

@@ -324,7 +324,7 @@ Note: `?` and `->` do not currently trigger this behavior in the VSCode editor.
324324

325325

326326
=== Hover
327-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/hover.rs#L85[hover.rs]
327+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/hover.rs#L83[hover.rs]
328328

329329
Shows additional information, like the type of an expression or the documentation for a definition when "focusing" code.
330330
Focusing is usually hovering with a mouse, but can also be triggered with a shortcut.
@@ -333,7 +333,7 @@ image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917
333333

334334

335335
=== Inlay Hints
336-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L37[inlay_hints.rs]
336+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L36[inlay_hints.rs]
337337

338338
rust-analyzer shows additional information inline with the source code.
339339
Editors usually render this using read-only virtual text snippets interspersed with code.
@@ -547,7 +547,7 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
547547

548548

549549
=== Related Tests
550-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L192[runnables.rs]
550+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L189[runnables.rs]
551551

552552
Provides a sneak peek of all tests where the current item is used.
553553

@@ -577,7 +577,7 @@ image::https://user-images.githubusercontent.com/48062697/113065582-055aae80-91b
577577

578578

579579
=== Run
580-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L114[runnables.rs]
580+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L111[runnables.rs]
581581

582582
Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
583583
location**. Super useful for repeatedly running just a single test. Do bind this
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
= Changelog #105
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:d9b2291f546abc77d24499339a72a89127464b95[] +
6+
Release: release:2021-11-29[]
7+
8+
== Sponsors
9+
10+
**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or
11+
https://github.com/sponsors/rust-analyzer[GitHub Sponsors].
12+
13+
== New Features
14+
15+
* pr:10840[] omit generic defaults for types in hover messages.
16+
17+
== Fixes
18+
19+
* pr:10846[] (first contribution) qualify struct name in constructor completion.
20+
* pr:10809[] don't discard formatting of `use` lines.
21+
* pr:10834[] make lint groups work correctly with `warningsAsInfo` and `warningsAsHint`.
22+
* pr:10839[] fix `mbe::Shift::new` not accounting for non-ident token ids.
23+
* pr:10849[] fix string highlight injection for macros.
24+
* pr:10853[] remove possible multiline details in completions.
25+
* pr:10847[] improve derive attribute path handling in `replace_derive_with_manual_impl`.
26+
* pr:10824[] print full command if `cargo metadata` fails to run.
27+
* pr:10859[] prioritize tuple fields in `highlight_related`.
28+
* pr:10870[] fix macro expansion for ``as _``.
29+
* pr:10876[] show parameter hints unconditionally for logical not expressions.
30+
31+
== Internal Improvements
32+
33+
* pr:10863[], pr:10865[] build per-block `ItemTree`s.
34+
* pr:10828[] doc: document absence of stability guarantees.
35+
* pr:10838[] add the ability to emit token map ids in macro expansion tests.
36+
* pr:10832[] split parts of `ide_db::call_info` off into `ide`.
37+
* pr:10833[] set upstream branch when promoting.
38+
* pr:10835[] pull website before generating new changelog.

0 commit comments

Comments
 (0)