@@ -68,7 +68,7 @@ image::https://user-images.githubusercontent.com/48062697/113020673-b85be580-917
6868
6969
7070=== Completion With Autoimport
71- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-completion/src/completions/flyimport.rs#L18 [flyimport.rs]
71+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-completion/src/completions/flyimport.rs#L20 [flyimport.rs]
7272
7373When completing names in the current scope, proposes additional imports from other modules or crates,
7474if they can be qualified in the scope, and their name contains all symbols from the completion input.
@@ -237,7 +237,7 @@ image::https://user-images.githubusercontent.com/48062697/113020670-b7c34f00-917
237237
238238
239239=== Folding
240- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/folding_ranges.rs#L35 [folding_ranges.rs]
240+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/folding_ranges.rs#L36 [folding_ranges.rs]
241241
242242Defines folding regions for curly braced blocks, runs of consecutive use, mod, const or static
243243items, and `region` / `endregion` comment markers.
@@ -320,10 +320,11 @@ image::https://user-images.githubusercontent.com/48062697/113020657-b560f500-917
320320**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/highlight_related.rs#L36[highlight_related.rs]
321321
322322Highlights constructs related to the thing under the cursor:
323- - if on an identifier, highlights all references to that identifier in the current file
324- - if on an `async` or `await token, highlights all yield points for that async context
325- - if on a `return` or `fn` keyword, `?` character or `->` return type arrow, highlights all exit points for that context
326- - if on a `break`, `loop`, `while` or `for` token, highlights all break points for that loop or block context
323+
324+ . if on an identifier, highlights all references to that identifier in the current file
325+ . if on an `async` or `await token, highlights all yield points for that async context
326+ . if on a `return` or `fn` keyword, `?` character or `->` return type arrow, highlights all exit points for that context
327+ . if on a `break`, `loop`, `while` or `for` token, highlights all break points for that loop or block context
327328
328329Note: `?` and `->` do not currently trigger this behavior in the VSCode editor.
329330
@@ -383,7 +384,7 @@ image::https://user-images.githubusercontent.com/48062697/113020661-b6922200-917
383384
384385
385386=== Magic Completions
386- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L39 [lib.rs]
387+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L40 [lib.rs]
387388
388389In addition to usual reference completion, rust-analyzer provides some ✨magic✨
389390completions as well:
0 commit comments