aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Improve inlay hinting for typesKirill Bulatov2019-07-261-61/+121
| | | | | | | | | | | | Add hints for types in for loop expressions. Resolve types for every tuple parameter. Refactor the code.
* | Make Analysis api cancellableKirill Bulatov2019-07-254-49/+58
|/
* show local variable types in completionEkaterina Babshukova2019-07-235-9/+22
|
* Code review fixesKirill Bulatov2019-07-221-29/+20
|
* Use SmolStr for the type textKirill Bulatov2019-07-211-3/+6
|
* Fix the string conversionsKirill Bulatov2019-07-211-2/+2
|
* Merge branch 'master' into add-type-lensesKirill Bulatov2019-07-2112-48/+154
|\
| * Merge #1570bors[bot]2019-07-219-37/+43
| |\ | | | | | | | | | | | | | | | | | | | | | 1570: switch to upstream rowan's API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| | * streamline APIAleksey Kladov2019-07-215-14/+21
| | |
| | * switch to upstream rowan's APIAleksey Kladov2019-07-205-23/+22
| | |
| * | provide completion in struct patternsEkaterina Babshukova2019-07-214-11/+111
| |/
* | Resolve types on the serverKirill Bulatov2019-07-212-54/+74
| |
* | Code review fixesKirill Bulatov2019-07-213-69/+62
| |
* | Refactor server apiKirill Bulatov2019-07-204-27/+180
| |
* | Fix tuple type lens resolutionKirill Bulatov2019-07-201-3/+4
| |
* | Do not show a lens when the type is declared explicitlyKirill Bulatov2019-07-201-0/+4
| |
* | Fix rebase issueKirill Bulatov2019-07-201-1/+1
| |
* | If possible, show type lenses for the let bindingsKirill Bulatov2019-07-201-0/+22
|/
* align SyntaxText API with upstreamAleksey Kladov2019-07-204-6/+7
|
* rename range -> text_rangeAleksey Kladov2019-07-2022-92/+107
|
* move debug_dump to fmt::DebugAleksey Kladov2019-07-202-4/+4
|
* flip syntax text to use internal iterationAleksey Kladov2019-07-191-3/+3
|
* drop memory size of subtreeAleksey Kladov2019-07-191-11/+4
| | | | | it wasn't too accurate and the new measurement method of dropping the database completely is better anyway
* convenience apiAleksey Kladov2019-07-193-5/+4
|
* several highlighting cleanupsAleksey Kladov2019-07-194-66/+68
| | | | | | * 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-1929-290/+342
|
* use Parse in mbeAleksey Kladov2019-07-181-4/+4
|
* make Parse genericAleksey Kladov2019-07-183-6/+8
|
* 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-183-18/+21
|/
* Merge #1537bors[bot]2019-07-181-26/+103
|\ | | | | | | | | | | | | | | | | | | | | | | 1537: Less magic completions r=matklad a=marcogroppo Restrict `if`, `not` and `while` postfix magic completions to boolean expressions and expressions of an unknown type. (this may be controversial, marking as draft for this reason) See the discussion in #1526. Co-authored-by: Marco Groppo <[email protected]>
| * Restrict some postfix completions to bool and unknown expr.Marco Groppo2019-07-171-26/+103
| | | | | | | | | | Restrict `if` and `while` postfix completions to boolean expressions and expressions of an unknown type.
* | highlight mutable variables differentlyEkaterina Babshukova2019-07-183-54/+102
|/
* Some renamings for clarityFlorian Diebold2019-07-141-1/+1
|
* complete fields in enum variantsEkaterina Babshukova2019-07-121-15/+88
|
* make Parse fields privateAleksey Kladov2019-07-1221-82/+82
| | | | this is in preparation for the new rowan API
* account for dependencies when showing memory usageAleksey Kladov2019-07-121-0/+7
|
* Unify `normalize` and `implements` to simplify codeFlorian Diebold2019-07-081-2/+1
|
* inline snapshot in complete_postfixfunkill22019-07-072-75/+71
|
* Merge #1495bors[bot]2019-07-051-8/+5
|\ | | | | | | | | | | | | | | 1495: use correct file for diagnostics r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use correct file for diagnosticsAleksey Kladov2019-07-051-8/+5
| | | | | | | | closes #1475
* | Clippy trivially_copy_pass_by_refJeremy Kolb2019-07-052-3/+3
|/
* Fix clippy::redundant_cloneShotaro Yamada2019-07-052-3/+3
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-044-7/+6
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-0444-235/+215
| | | | | | 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
* Add completion for type aliasesShotaro Yamada2019-07-021-1/+41
|
* remove snapshot filesfunkill22019-07-0113-273/+0
|
* inline snapshotsfunkill22019-07-011-157/+366
|
* put source maps first for better statsAleksey Kladov2019-06-301-2/+2
|