@@ -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#L17 [flyimport.rs]
71+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_completion/src/completions/flyimport.rs#L18 [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.
@@ -610,9 +610,11 @@ Rust-analyzer currently emits the following token tags:
610610- For items:
611611+
612612[horizontal]
613+ attribute:: Emitted for attribute macros.
613614enum:: Emitted for enums.
614615function:: Emitted for free-standing functions.
615- macro:: Emitted for macros.
616+ derive:: Emitted for derive macros.
617+ macro:: Emitted for function-like macros.
616618method:: Emitted for associated functions, also knowns as methods.
617619namespace:: Emitted for modules.
618620struct:: Emitted for structs.
@@ -643,6 +645,7 @@ logical:: Emitted for the logical operators `||`, `&&`, `!`.
643645+
644646[horizontal]
645647punctuation:: Emitted for general punctuation.
648+ attributeBracket:: Emitted for attribute invocation brackets, that is the `#[` and `]` tokens.
646649angle:: Emitted for `<>` angle brackets.
647650brace:: Emitted for `{}` braces.
648651bracket:: Emitted for `[]` brackets.
@@ -655,7 +658,6 @@ Semi:: Emitted for the `;` token.
655658//-
656659
657660[horizontal]
658- attribute:: Emitted for the `#[` `]` tokens.
659661builtinAttribute:: Emitted for names to builtin attributes in attribute path, the `repr` in `#[repr(u8)]` for example.
660662builtinType:: Emitted for builtin types like `u32`, `str` and `f32`.
661663comment:: Emitted for comments.
@@ -668,6 +670,7 @@ lifetime:: Emitted for lifetimes.
668670parameter:: Emitted for non-self function parameters.
669671property:: Emitted for struct and union fields.
670672selfKeyword:: Emitted for the self function parameter and self path-specifier.
673+ toolModule:: Emitted for tool modules.
671674typeParameter:: Emitted for type parameters.
672675unresolvedReference:: Emitted for unresolved references, names that rust-analyzer can't find the definition of.
673676variable:: Emitted for locals, constants and statics.
@@ -720,7 +723,7 @@ image::https://user-images.githubusercontent.com/48062697/113065586-068bdb80-91b
720723
721724
722725=== Status
723- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/status.rs#L26 [status.rs]
726+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/status.rs#L25 [status.rs]
724727
725728Shows internal statistic about memory usage of rust-analyzer.
726729
@@ -878,7 +881,7 @@ image::https://user-images.githubusercontent.com/48062697/113065588-068bdb80-91b
878881
879882
880883=== Workspace Symbol
881- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_db/src/symbol_index.rs#L148 [symbol_index.rs]
884+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_db/src/symbol_index.rs#L159 [symbol_index.rs]
882885
883886Uses fuzzy-search to find types, modules and functions by name across your
884887project and dependencies. This is **the** most useful feature, which improves code
0 commit comments