aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/snapshots/rainbow_highlighting.html
Commit message (Collapse)AuthorAgeFilesLines
* Update injection mechanism and stop injecting through highlight element, ↵Paul Daniel Faria2020-06-231-10/+10
| | | | switch to more general new highlight tag, generic
* Add punctuation highlighting for highlighting punctuation in doctests, fix ↵Paul Daniel Faria2020-06-231-11/+11
| | | | 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.
* 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
|
* Highlight `true` and `false` as literalsMatthew Jasper2020-05-241-0/+1
|
* 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.
* Correctly flag 'lifetime definitions as definitionsAleksey Kladov2020-02-281-9/+9
|
* Fix highlighting testAleksey Kladov2020-02-281-12/+14
|
* Fix html testsAleksey Kladov2020-02-271-7/+7
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-6/+6
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* Add module colors to cssAleksey Kladov2020-02-161-0/+1
|
* Implement Syntax Highlight inside MacroEdwin Cheng2020-01-201-6/+6
|
* Drop support for legacy colorizationAleksey Kladov2019-12-311-3/+3
|
* Improve highlighting testAleksey Kladov2019-12-201-0/+1
|
* Fix highlighting token namesAleksey Kladov2019-12-171-1/+1
|
* fixed rainbow-highlighting testOmer Ben-Amram2019-12-151-0/+2
|
* Rename GenericParam -> TypeParamAleksey Kladov2019-12-071-0/+1
| | | | We don't have LifetimeParam yet, but they are planned!
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+33