aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting/html.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_db -> base_dbAleksey Kladov2020-08-131-1/+1
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-1/+1
|
* Replace rand with oorandomAleksey Kladov2020-07-291-5/+5
|
* Use dedicated semantic highlight tag for parametersAleksey Kladov2020-07-111-2/+3
| | | | closes #5106
* Update injection mechanism and stop injecting through highlight element, ↵Paul Daniel Faria2020-06-231-1/+1
| | | | switch to more general new highlight tag, generic
* Add punctuation highlighting for highlighting punctuation in doctests, fix ↵Paul Daniel Faria2020-06-231-2/+2
| | | | highlighting in doctests
* Add default color and opacity for documentation and injected, respectively, ↵Paul Daniel Faria2020-06-231-0/+2
| | | | in the html generator
* Add support for marking doctest items as distinct from normal code, add ↵Paul Daniel Faria2020-06-231-1/+1
| | | | default tag to all doctest elements
* Syntax highlighting for escape sequences in stringsLeander Tentrup2020-06-171-0/+1
|
* Syntactic highlighting of NAME_REF for injectionsLeander Tentrup2020-06-151-1/+2
| | | | | | 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
|
* CleanupsAleksey Kladov2020-04-251-8/+5
|
* Convert code to text-sizeAleksey Kladov2020-04-251-5/+6
|
* Simplify HTML highlighter and add test case for highlight_injection logicLeander Tentrup2020-04-061-41/+25
|
* Correctly flag 'lifetime definitions as definitionsAleksey Kladov2020-02-281-1/+1
|
* Fix highlighting testAleksey Kladov2020-02-281-9/+11
|
* Move html highlightig to a separate moduleAleksey Kladov2020-02-271-0/+104