aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/snapshots/highlighting.html
Commit message (Collapse)AuthorAgeFilesLines
* Update injection mechanism and stop injecting through highlight element, ↵Paul Daniel Faria2020-06-231-70/+70
| | | | switch to more general new highlight tag, generic
* Add punctuation highlighting for highlighting punctuation in doctests, fix ↵Paul Daniel Faria2020-06-231-71/+71
| | | | highlighting in doctests
* Add default color and opacity for documentation and injected, respectively, ↵Paul Daniel Faria2020-06-231-0/+2
| | | | in the html generator
* Syntax highlighting for escape sequences in stringsLeander Tentrup2020-06-171-0/+1
|
* Syntactic highlighting of NAME_REF for injectionsLeander Tentrup2020-06-151-0/+1
| | | | | | 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.
* Fix syntax highlighting of recursive macrosLeander Tentrup2020-06-151-0/+8
| | | | Add syntax highlighting for the BANG (`!`) token if the parent is `MACRO_CALL`.
* In field patterns, don't highlight local binding as a fieldAleksey Kladov2020-06-101-1/+3
|
* Better unsafe highlihgting testsAleksey Kladov2020-06-081-1/+2
|
* Add highlight support for unsafe fn calls and raw ptr derefPaul Daniel Faria2020-06-021-0/+1
|
* Add self keyword semantic token typeLaurențiu Nicola2020-05-251-4/+4
|
* Highlight `true` and `false` as literalsMatthew Jasper2020-05-241-1/+2
|
* Color attribute functionsGeorge Fraser2020-05-191-1/+1
|
* Color `for` as a regular keyword when it's part of impl _ for _George Fraser2020-05-101-0/+10
|
* Color `in` as a control keywordGeorge Fraser2020-05-101-0/+4
|
* Highlight the name in macro declarationsMatthew Jasper2020-05-101-1/+3
|
* Highlight mutable statics as mutableMatthew Jasper2020-05-101-1/+4
|
* Introduce new semantic highlight token for format specifierLeander Tentrup2020-04-281-0/+1
|
* Add semantic tag for unresolved referencesAleksey Kladov2020-04-181-3/+3
| | | | | | | | | | | This is a quick way to implement unresolved reference diagnostics. For example, adding to VS Code config "editor.tokenColorCustomizationsExperimental": { "unresolvedReference": "#FF0000" }, will highlight all unresolved refs in red.
* Simplify HTML highlighter and add test case for highlight_injection logicLeander Tentrup2020-04-061-5/+5
|
* Correctly flag 'lifetime definitions as definitionsAleksey Kladov2020-02-281-21/+20
|
* Fix highlighting of const patternsAleksey Kladov2020-02-281-4/+11
|
* Fix highlighting testAleksey Kladov2020-02-281-26/+28
|
* Fix html testsAleksey Kladov2020-02-271-26/+26
|
* Add module colors to cssAleksey Kladov2020-02-161-0/+1
|
* Implement Syntax Highlight inside MacroEdwin Cheng2020-01-201-0/+10
|
* Drop support for legacy colorizationAleksey Kladov2019-12-311-3/+3
|
* Fix highlighting for field init shorthandAleksey Kladov2019-12-201-1/+1
|
* Improve highlighting testAleksey Kladov2019-12-201-1/+3
|
* Fix highlighting token namesAleksey Kladov2019-12-171-1/+1
|
* removed `type.alias`Omer Ben-Amram2019-12-141-12/+14
|
* Get the right analyzer for implsAleksey Kladov2019-12-071-0/+9
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+48