@@ -270,7 +270,7 @@ Navigates to the declaration of an identifier.
270
270
271
271
272
272
=== 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]
274
274
275
275
Navigates to the definition of an identifier.
276
276
@@ -324,7 +324,7 @@ Note: `?` and `->` do not currently trigger this behavior in the VSCode editor.
324
324
325
325
326
326
=== 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]
328
328
329
329
Shows additional information, like the type of an expression or the documentation for a definition when "focusing" code.
330
330
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
333
333
334
334
335
335
=== 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]
337
337
338
338
rust-analyzer shows additional information inline with the source code.
339
339
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
547
547
548
548
549
549
=== 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]
551
551
552
552
Provides a sneak peek of all tests where the current item is used.
553
553
@@ -577,7 +577,7 @@ image::https://user-images.githubusercontent.com/48062697/113065582-055aae80-91b
577
577
578
578
579
579
=== 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]
581
581
582
582
Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
583
583
location**. Super useful for repeatedly running just a single test. Do bind this
0 commit comments