aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
* Merge #1634bors[bot]2019-08-041-8/+57
|\ | | | | | | | | | | | | | | | | | | 1634: Implement .await completion for futures r=flodiebold a=eupn Closes #1263 with completion for `.await` syntax for types that are implementing `std::future::Future` trait. r? @flodiebold Co-authored-by: Evgenii P <[email protected]>
| * Employ early return pattern moreEvgenii P2019-08-041-15/+19
| |
| * Use std::future::Future trait from stdlibEvgenii P2019-08-031-11/+8
| |
| * do fixup: remove unused imports in complete_dot.rsEvgenii P2019-08-021-4/+1
| |
| * Change postfix completion to keyword completionEvgenii P2019-08-021-22/+8
| |
| * Use future lang item instead of hardcoded std::future::FutureEvgenii P2019-08-021-6/+11
| |
| * rustfmtEvgenii P2019-08-021-6/+6
| |
| * Implement completion for the .await syntaxEvgenii P2019-08-021-10/+70
| |
* | 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
|