Skip to content

Commit 5d7356a

Browse files
committed
Changelog #105
1 parent 7af08fa commit 5d7356a

File tree

3 files changed

+52
-6
lines changed

3 files changed

+52
-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: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
18+
== Fixes
19+
20+
* pr:10809[] don't discard formatting of `use` lines.
21+
* pr:10839[] fix `mbe::Shift::new` not accounting for non-ident token ids.
22+
* pr:10849[] string highlight injection for macros works on the original string
23+
* pr:10846[] (first contribution) qualify struct name in constructor completion
24+
* pr:10853[] Remove possible multiline details in completions
25+
* pr:10847[] derive attr path handling in `replace_derive_with_manual_impl`
26+
* pr:10824[] project_model: print full cargo 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+
32+
== Internal Improvements
33+
34+
* pr:10832[] Split parts of `ide_db::call_info` off into `ide`
35+
* pr:10833[] set upstream branch when promoting
36+
* pr:10835[] pull website before generating new changelog
37+
* pr:10838[] Add the ability to emit token map ids in macro expansion tests
38+
* pr:10863[] build per-block `ItemTree`s
39+
* pr:10865[] Use the right `ItemTree` when re-resolving attr
40+
41+
42+
== Others
43+
44+
* pr:10828[] doc: document absence of stability guarantees
45+
* pr:10834[] Make lint groups work correctly with `warningsAsInfo` and `warningsAsHint`
46+

0 commit comments

Comments
 (0)