aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting.rs
Commit message (Expand)AuthorAgeFilesLines
* Improve readability be replacing hard-to-read if-else branches with a matchPaul Daniel Faria2020-06-241-16/+20
* Remove unrelated changePaul Daniel Faria2020-06-231-4/+2
* Update comment for pop_and_injectPaul Daniel Faria2020-06-231-2/+2
* Update injection mechanism and stop injecting through highlight element, swit...Paul Daniel Faria2020-06-231-17/+38
* Add punctuation highlighting for highlighting punctuation in doctests, fix hi...Paul Daniel Faria2020-06-231-12/+13
* Add support for marking doctest items as distinct from normal code, add defau...Paul Daniel Faria2020-06-231-7/+11
* Syntax highlighting for documentation comments on macro definitionsLeander Tentrup2020-06-191-2/+1
* Merge #4903bors[bot]2020-06-181-1/+8
|\
| * Ensure all existing doctest code highlights have documentation modifierPaul Daniel Faria2020-06-171-4/+4
| * Add highlighting support for doc commentsPaul Daniel Faria2020-06-171-1/+8
* | Syntax highlighting for escape sequences in stringsLeander Tentrup2020-06-171-4/+18
|/
* Syntactic highlighting of NAME_REF for injectionsLeander Tentrup2020-06-151-3/+60
* Fix syntax highlighting of recursive macrosLeander Tentrup2020-06-151-16/+21
* Highlight only the unsafe operator itselfAleksey Kladov2020-06-081-6/+2
* Merge #4775bors[bot]2020-06-081-0/+1
|\
| * Add `FieldShorthand` variant to `NameClass`unexge2020-06-081-0/+1
* | Implement syntax highlighting for doctestsLeander Tentrup2020-06-081-46/+80
|/
* Add highlight support for unsafe fn calls and raw ptr derefPaul Daniel Faria2020-06-021-1/+24
* Merge #4664bors[bot]2020-05-311-77/+84
|\
| * Move the rest of the features to generated docsAleksey Kladov2020-05-311-77/+84
* | Add semantic highlight to QUESTION tokenRoland Ruckerbauer2020-05-291-0/+1
|/
* Add self keyword semantic token typeLaurențiu Nicola2020-05-251-0/+1
* Handle more cases in `highlight_name_by_syntax`Matthew Jasper2020-05-241-11/+19
* Highlight `true` and `false` as literalsMatthew Jasper2020-05-241-0/+1
* Color attribute functionsGeorge Fraser2020-05-191-1/+3
* Color `for` as a regular keyword when it's part of impl _ for _George Fraser2020-05-101-1/+8
* Color `in` as a control keywordGeorge Fraser2020-05-101-1/+2
* Highlight the name in macro declarationsMatthew Jasper2020-05-101-0/+13
* Highlight mutable statics as mutableMatthew Jasper2020-05-101-1/+7
* Introduce new semantic highlight token for format specifierLeander Tentrup2020-04-281-1/+1
* Rename StructField -> FieldAleksey Kladov2020-04-251-1/+1
* Convert code to text-sizeAleksey Kladov2020-04-251-6/+6
*-. Merge #3998 #4006bors[bot]2020-04-241-56/+168
|\ \
| | * Adapt format specifier highlighting to support escaped squences and unicode i...Leander Tentrup2020-04-221-22/+41
| | * Apply suggestions from code reviewLeander Tentrup2020-04-221-4/+3
| | * Implement syntax highlighting for format stringsLeander Tentrup2020-04-201-3/+66
| | * Refactor flattening logic for highlighted syntax rangesLeander Tentrup2020-04-181-54/+85
* | | Introduce ActiveParameterAleksey Kladov2020-04-241-5/+3
|/ /
* / Add semantic tag for unresolved referencesAleksey Kladov2020-04-181-14/+15
|/
* Fix incorrect order of syntax highlight rangesLeander Tentrup2020-04-171-1/+2
* Merge #3826bors[bot]2020-04-081-5/+54
|\
| * Simplify HTML highlighter and add test case for highlight_injection logicLeander Tentrup2020-04-061-1/+7
| * Flatten nested highlight ranges during DFS traversalLeander Tentrup2020-04-031-6/+49
* | Make control token modifier less ambiguousAleksey Kladov2020-04-061-1/+1
|/
* Fix importsAleksey Kladov2020-03-031-6/+2
* Rename NameDefinition -> DefinitionAleksey Kladov2020-03-031-12/+12
* Highlight assist testsAleksey Kladov2020-03-031-1/+1
* Remove stray dbgAleksey Kladov2020-03-031-2/+2
* More principled approach for gotodef for field shorhandAleksey Kladov2020-03-021-13/+17
* Remove debug printAleksey Kladov2020-02-291-1/+0