aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
* Bump depsLaurențiu Nicola2019-08-041-1/+1
|
* Update insta to 0.9.0 and cargo updatekjeremy2019-07-311-1/+1
|
* Merge #1601bors[bot]2019-07-2938-1064/+870
|\ | | | | | | | | | | | | | | | | | | 1601: Inline snapshots for tests r=matklad a=theotherphil Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1127. The "cargo format" commits are required to get the formatting tests to pass. However, they actually mess up the formatting. Co-authored-by: Phil Ellison <[email protected]>
| * Rerun cargo format, to make tests pass and formatting incorrectPhil Ellison2019-07-282-7/+7
| |
| * Remove vertical ellipses in references.csPhil Ellison2019-07-281-34/+33
| |
| * Remove vertical ellipses from tests in complete_snippet.rs and presentation.rsPhil Ellison2019-07-282-102/+94
| |
| * Remove vertical ellipses from tests in complete_scope.rsPhil Ellison2019-07-281-243/+225
| |
| * cargo formatPhil Ellison2019-07-285-117/+117
| |
| * Inline snapshot for test_file_structure (less clear that this one is a good ↵Phil Ellison2019-07-282-192/+187
| | | | | | | | idea)
| * Inline snapshots for all tests in runnables.rsPhil Ellison2019-07-285-88/+68
| |
| * Inline snapshots for all tests in references.rsPhil Ellison2019-07-282-39/+33
| |
| * Inline snapshots for all tests in complete_snippet, remove now-unused ↵Phil Ellison2019-07-287-81/+58
| | | | | | | | check_completion
| * Inline snapshots for all tests in presentation.rsPhil Ellison2019-07-287-177/+152
| |
| * Inline snapshots for all tests in complete_scope.rsPhil Ellison2019-07-2814-434/+396
| |
| * Remove unused highlights_code_inside_macro snapshot, inline ↵Phil Ellison2019-07-283-83/+33
| | | | | | | | rename_mod_in_dir snapshot
* | Support destructuring patternsKirill Bulatov2019-07-281-47/+305
| |
* | 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-2113-48/+155
|\
| * Merge #1570bors[bot]2019-07-2110-37/+44
| |\ | | | | | | | | | | | | | | | | | | | | | 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-206-23/+23
| | |
| * | 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
|/