aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/snapshots
Commit message (Collapse)AuthorAgeFilesLines
* several highlighting cleanupsAleksey Kladov2019-07-191-0/+4
| | | | | | * 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
* prettier colorsAleksey Kladov2019-07-182-12/+14
|
* highlight mutable variables differentlyEkaterina Babshukova2019-07-182-33/+41
|
* Highlight primitive typesLaurențiu Nicola2019-05-291-4/+4
|
* Highlight type names correctlyLaurențiu Nicola2019-05-291-2/+3
|
* Disable broken struct field rainbowingPascal Hertleif2019-05-271-3/+3
|
* More clever highlighting, incl draft for structsPascal Hertleif2019-05-274-335/+36
|
* Hash based on binding name and shadow counterPascal Hertleif2019-05-272-14/+55
|
* Semantic highlighting spikePascal Hertleif2019-05-272-0/+279
| | | | | | | | | | 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-252-146/+45
|
* :arrow_up: rustcAleksey Kladov2019-05-237-100/+100
|
* Improve highlighting of name refsLaurențiu Nicola2019-05-231-8/+120
|
* Move structure to display/structureVille Penttinen2019-04-091-182/+0
|
* structure moved to ra_ide_apiSergey Parilin2019-03-251-0/+182
| | | | ra_ide_api_light removed completely
* Move highlighting and matching_braceWilco Kusee2019-03-231-0/+34
|
* remove hard-coded query-group macroAleksey Kladov2019-02-111-28/+0
|
* remove hard-coded support for ctry macroAleksey Kladov2019-02-012-41/+13
| | | | | It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well!
* Change ids strategyAleksey Kladov2019-01-241-5/+5
| | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* Update snapsJeremy A. Kolb2019-01-228-32/+48
|
* prefer inline testsgfreezy2019-01-192-0/+72
|
* switch to insta for testingAleksey Kladov2019-01-156-0/+172