aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/syntax_highlighting.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add hir::LocalAleksey Kladov2019-11-111-57/+22
|
* Refactor highlighting to use classify_nameAleksey Kladov2019-11-111-72/+73
|
* use Lazy, some fixesEkaterina Babshukova2019-10-221-1/+1
|
* remove `unreachable!()`Ekaterina Babshukova2019-10-221-2/+1
|
* replace trait by a bunch of functionsEkaterina Babshukova2019-10-221-1/+1
|
* restructure a bitEkaterina Babshukova2019-10-221-5/+5
|
* return Declaration from classify_name_refEkaterina Babshukova2019-10-221-2/+4
|
* refactor name_ref_kind.rsEkaterina Babshukova2019-10-221-2/+1
|
* initial classify_nameEkaterina Babshukova2019-10-221-1/+1
|
* restore coloring of attributesAleksey Kladov2019-10-081-0/+3
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* Refactor a bit to prepare for resolving trait assoc itemsFlorian Diebold2019-09-171-3/+3
|
* rename AdtDef -> AdtAleksey Kladov2019-09-121-1/+1
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-121-3/+1
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-1/+1
|
* Fix syntax-highlighting for fields (`NAMED_FIELD_DEF`)cynecx2019-08-211-14/+10
|
* rename range -> text_rangeAleksey Kladov2019-07-201-7/+7
|
* convenience apiAleksey Kladov2019-07-191-2/+1
|
* several highlighting cleanupsAleksey Kladov2019-07-191-49/+60
| | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function
* migrate ra_ide_api to the new rowanAleksey Kladov2019-07-191-12/+13
|
* Merge #1547bors[bot]2019-07-181-5/+4
|\ | | | | | | | | | | | | | | 1547: cleanup imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * cleanup importsAleksey Kladov2019-07-181-5/+4
| |
* | prettier colorsAleksey Kladov2019-07-181-6/+7
|/
* highlight mutable variables differentlyEkaterina Babshukova2019-07-181-21/+61
|
* make Parse fields privateAleksey Kladov2019-07-121-9/+7
| | | | this is in preparation for the new rowan API
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-7/+7
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* update ra_ide_api to use builtinsAleksey Kladov2019-05-301-50/+38
|
* Highlight primitive typesLaurențiu Nicola2019-05-291-38/+51
|
* 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
|