@@ -176,7 +176,7 @@ Displays the ItemTree of the currently open file, for debugging.
176176
177177
178178=== Expand Macro Recursively
179- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L15 [expand_macro.rs]
179+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L16 [expand_macro.rs]
180180
181181Shows the full macro expansion of the macro at the current caret position.
182182
@@ -223,7 +223,7 @@ image::https://user-images.githubusercontent.com/48062697/113020654-b42fc800-917
223223
224224
225225=== Find All References
226- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/references.rs#L41 [references.rs]
226+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/references.rs#L42 [references.rs]
227227
228228Shows all references of the item at the cursor location
229229
@@ -334,7 +334,7 @@ Note: `?`, `|` and `->` do not currently trigger this behavior in the VSCode edi
334334
335335
336336=== Hover
337- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L100 [hover.rs]
337+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L106 [hover.rs]
338338
339339Shows additional information, like the type of an expression or the documentation for a definition when "focusing" code.
340340Focusing is usually hovering with a mouse, but can also be triggered with a shortcut.
@@ -343,7 +343,7 @@ image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917
343343
344344
345345=== Inlay Hints
346- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L452 [inlay_hints.rs]
346+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L454 [inlay_hints.rs]
347347
348348rust-analyzer shows additional information inline with the source code.
349349Editors usually render this using read-only virtual text snippets interspersed with code.
@@ -605,7 +605,7 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
605605
606606
607607=== Related Tests
608- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L212 [runnables.rs]
608+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L213 [runnables.rs]
609609
610610Provides a sneak peek of all tests where the current item is used.
611611
@@ -620,7 +620,7 @@ the selected item. The context menu opens. Select **Peek Related Tests**.
620620
621621
622622=== Rename
623- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/rename.rs#L74 [rename.rs]
623+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/rename.rs#L70 [rename.rs]
624624
625625Renames the item below the cursor and all of its references
626626
@@ -634,7 +634,7 @@ image::https://user-images.githubusercontent.com/48062697/113065582-055aae80-91b
634634
635635
636636=== Run
637- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L112 [runnables.rs]
637+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L113 [runnables.rs]
638638
639639Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
640640location**. Super useful for repeatedly running just a single test. Do bind this
@@ -1003,7 +1003,7 @@ image::https://user-images.githubusercontent.com/48062697/113065588-068bdb80-91b
10031003
10041004
10051005=== View Memory Layout
1006- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/view_memory_layout.rs#L73 [view_memory_layout.rs]
1006+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/view_memory_layout.rs#L74 [view_memory_layout.rs]
10071007
10081008Displays the recursive memory layout of a datatype.
10091009
0 commit comments