aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
Commit message (Collapse)AuthorAgeFilesLines
* Remove a dbg!Florian Diebold2019-09-141-1/+1
|
* rename add_resolution -> add_scope_defAleksey Kladov2019-09-131-18/+0
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-135-56/+76
| | | | That way, we are able to get rid of a number of unreachable statements
* rename AdtDef -> AdtAleksey Kladov2019-09-124-12/+10
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-123-13/+14
|
* Complete vec macros with square bracketsKirill Bulatov2019-09-122-3/+36
|
* Add `!` to the macro completion labelKirill Bulatov2019-09-124-20/+24
|
* Complete macros parenthesisKirill Bulatov2019-09-124-9/+9
|
* Split out `complete_macro_in_item_position`uHOOCCOOHu2019-09-112-37/+50
|
* Fix typouHOOCCOOHu2019-09-111-1/+1
|
* Support completion for macrosuHOOCCOOHu2019-09-103-1/+288
|
* simplifyAleksey Kladov2019-09-061-38/+40
|
* Make type walking infrastructure a bit nicerFlorian Diebold2019-09-031-1/+1
| | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet.
* :arrow_up: instaAleksey Kladov2019-08-2911-85/+85
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-235-22/+22
|
* implement feature flagsAleksey Kladov2019-08-221-1/+4
|
* 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
|
* Rerun cargo format, to make tests pass and formatting incorrectPhil Ellison2019-07-281-5/+5
|
* 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-283-106/+106
|
* Inline snapshots for all tests in complete_snippet, remove now-unused ↵Phil Ellison2019-07-286-80/+57
| | | | 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-2813-402/+362
|
* show local variable types in completionEkaterina Babshukova2019-07-235-9/+22
|
* Merge #1570bors[bot]2019-07-211-2/+2
|\ | | | | | | | | | | | | | | 1570: switch to upstream rowan's API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * streamline APIAleksey Kladov2019-07-211-2/+2
| |
* | provide completion in struct patternsEkaterina Babshukova2019-07-213-11/+109
|/
* rename range -> text_rangeAleksey Kladov2019-07-204-15/+23
|
* migrate ra_ide_api to the new rowanAleksey Kladov2019-07-197-37/+36
|
* make Parse genericAleksey Kladov2019-07-181-2/+2
|
* 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.
* complete fields in enum variantsEkaterina Babshukova2019-07-121-15/+88
|
* make Parse fields privateAleksey Kladov2019-07-121-3/+3
| | | | this is in preparation for the new rowan API
* inline snapshot in complete_postfixfunkill22019-07-072-75/+71
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-0412-45/+41
| | | | | | 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
|
* Merge #1456bors[bot]2019-06-291-1/+31
|\ | | | | | | | | | | | | | | 1456: Deduplicate method candidates r=matklad a=flodiebold With trait method completion + autoderef, we were getting a lot of duplicates, which was really annoying... Co-authored-by: Florian Diebold <[email protected]>
| * Deduplicate method candidatesFlorian Diebold2019-06-291-1/+31
| |
* | Complete associated methods on enums (and unions) as wellFlorian Diebold2019-06-293-6/+87
|/
* Add box postfix completionKan-Ru Chen2019-06-232-1/+10
|
* rename XSignature -> XDataAleksey Kladov2019-06-183-10/+10
|