aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/syntax_highlighting.rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge #1337bors[bot]2019-05-291-2/+2
|\ | | | | | | | | | | | | | | 1337: Move syntax errors our of syntax tree r=matklad a=matklad I am not really sure if it's a good idea, but `SyntaxError` do not really belong to a `SyntaxTree`. So let's just store them on the side? Co-authored-by: Aleksey Kladov <[email protected]>
| * fix typos in mbe testsAleksey Kladov2019-05-281-2/+2
| |
* | Highlight type names correctlyLaurențiu Nicola2019-05-291-1/+17
|/
* make it build againPascal Hertleif2019-05-271-12/+26
|
* Disable broken struct field rainbowingPascal Hertleif2019-05-271-17/+1
|
* More clever highlighting, incl draft for structsPascal Hertleif2019-05-271-71/+114
|
* Hash based on binding name and shadow counterPascal Hertleif2019-05-271-6/+20
|
* Semantic highlighting spikePascal Hertleif2019-05-271-35/+66
| | | | | | | | | | Very simple approach: For each identifier, set the hash of the range where it's defined as its 'id' and use it in the VSCode extension to generate unique colors. Thus, the generated colors are per-file. They are also quite fragile, and I'm not entirely sure why. Looks like we need to make sure the same ranges aren't overwritten by a later request?
* Colorize Rust code as HTMLAleksey Kladov2019-05-251-6/+81
|
* profile highlightingAleksey Kladov2019-05-231-0/+3
|
* add union to code_modelAleksey Kladov2019-05-231-0/+1
|
* Improve highlighting of name refsLaurențiu Nicola2019-05-231-1/+48
|
* Address feedbackLaurențiu Nicola2019-05-211-4/+11
|
* Use ThemeColor and add support for light themesLaurențiu Nicola2019-05-211-1/+11
|
* apply T! macro where it is possibleSergey Parilin2019-05-151-2/+2
|
* switch to new rowanAleksey Kladov2019-04-011-6/+6
|
* Move highlighting and matching_braceWilco Kusee2019-03-231-6/+75
|
* remove old macro supportAleksey Kladov2019-03-171-34/+2
|
* remove hard-coded query-group macroAleksey Kladov2019-02-111-15/+0
|
* reformat the worldAleksey Kladov2019-02-081-12/+4
|
* remove hard-coded support for ctry macroAleksey Kladov2019-02-011-1/+0
| | | | | It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well!
* rename source_file -> parseAleksey Kladov2019-01-261-1/+1
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-261-1/+1
|
* fold syntax database into files databaseAleksey Kladov2019-01-261-1/+1
|
* kill last cancelablesAleksey Kladov2019-01-151-3/+3
|
* switch to insta for testingAleksey Kladov2019-01-151-28/+4
|
* fix usages after renameAleksey Kladov2019-01-081-0/+92