rust-analyzer/crates/ra_ide/src
Leander Tentrup c4b3db0c2f Syntactic highlighting of NAME_REF for injections
This commit adds a function that tries to determine the syntax highlighting class of NAME_REFs based on the usage.
It is used for highlighting injections (such as highlighting of doctests) as the semantic logic will most of the time result in unresolved references.
It also adds a color to unresolved references in HTML encoding.
2020-06-15 22:13:53 +02:00
..
completion Deprecate hir::Path::from_ast 2020-06-15 10:55:48 +02:00
display Merge #4678 2020-06-03 11:27:10 +00:00
references Simplify 2020-06-08 21:48:23 +02:00
snapshots Syntactic highlighting of NAME_REF for injections 2020-06-15 22:13:53 +02:00
syntax_highlighting Syntactic highlighting of NAME_REF for injections 2020-06-15 22:13:53 +02:00
typing Less rust-analyzer specific onEnter 2020-05-25 14:28:47 +02:00
call_hierarchy.rs Propogate fixture meta to AnalysisHost 2020-05-16 15:23:43 +03:00
call_info.rs Switch to new magic marks 2020-05-20 13:02:53 +02:00
completion.rs Merge branch 'master' into keyword_completion 2020-06-13 08:42:15 +02:00
diagnostics.rs simplify determining whether the field is a tuple field 2020-06-12 10:16:19 -04:00
display.rs Hover tooltip module name is monospace once again 2020-05-25 23:18:45 -04:00
expand_macro.rs Doc more features 2020-05-31 10:14:36 +02:00
extend_selection.rs Don't require module docs for Features and Assists 2020-05-31 09:59:38 +02:00
folding_ranges.rs Introduce EffectExpr 2020-05-02 11:21:39 +02:00
goto_definition.rs Use explicit match for extracting def from classify_name 2020-06-08 15:38:10 +03:00
goto_implementation.rs Don't require module docs for Features and Assists 2020-05-31 09:59:38 +02:00
goto_type_definition.rs Don't require module docs for Features and Assists 2020-05-31 09:59:38 +02:00
hover.rs Apply suggestions from code review 2020-06-08 14:19:40 +03:00
inlay_hints.rs Fix type parameter defaults 2020-06-05 20:09:13 +02:00
join_lines.rs Don't require module docs for Features and Assists 2020-05-31 09:59:38 +02:00
lib.rs Syntactic highlighting of NAME_REF for injections 2020-06-15 22:13:53 +02:00
matching_brace.rs Don't require module docs for Features and Assists 2020-05-31 09:59:38 +02:00
mock_analysis.rs Propogate fixture meta to AnalysisHost 2020-05-16 15:23:43 +03:00
parent_module.rs Don't require module docs for Features and Assists 2020-05-31 09:59:38 +02:00
prime_caches.rs Syntactic highlighting of NAME_REF for injections 2020-06-15 22:13:53 +02:00
references.rs add test 2020-05-31 12:21:45 -04:00
runnables.rs Add Run|Debug hover actions 2020-06-06 18:17:52 +03:00
ssr.rs Doc more features 2020-05-31 10:14:36 +02:00
status.rs Doc more features 2020-05-31 10:14:36 +02:00
syntax_highlighting.rs Syntactic highlighting of NAME_REF for injections 2020-06-15 22:13:53 +02:00
syntax_tree.rs Move the rest of the features to generated docs 2020-05-31 11:29:19 +02:00
typing.rs Indent chain . even if there's more stuff afterwards 2020-06-11 17:13:24 +02:00