aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* assign DefIds when loweringAleksey Kladov2019-01-234-107/+99
|
* Merge #612bors[bot]2019-01-234-143/+152
|\ | | | | | | | | | | | | | | 612: Some random refactorings r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * introduced better typed AstPtrAleksey Kladov2019-01-233-9/+40
| |
| * refactorAleksey Kladov2019-01-231-98/+81
| |
| * simiplifyAleksey Kladov2019-01-231-24/+20
| |
| * better namesAleksey Kladov2019-01-231-14/+13
|/
* Merge #610bors[bot]2019-01-2312-108/+109
|\ | | | | | | | | | | | | | | 610: move SyntaxPtr to ra_syntax r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-2312-108/+109
|/
* Merge #608bors[bot]2019-01-2311-60/+124
|\ | | | | | | | | | | | | | | 608: Complete parens r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * don't insert parens for self methodsAleksey Kladov2019-01-235-13/+52
| |
| * move completion item tests closer to the codeAleksey Kladov2019-01-237-47/+72
|/ | | | | this is the reason why we need marks: the tests were spread across two files, because I've forgotten that there were tests already
* Merge #606bors[bot]2019-01-236-86/+91
|\ | | | | | | | | | | | | | | 606: generalize marking infrastructure r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * generalize marking infrastructureAleksey Kladov2019-01-236-86/+91
|/
* Merge #605bors[bot]2019-01-234-59/+62
|\ | | | | | | | | | | | | | | 605: :arrow_up: insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: instaAleksey Kladov2019-01-234-59/+62
|/
* Merge #603bors[bot]2019-01-2330-135/+179
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 603: fix completion bugs r=gfreezy a=gfreezy The result is as below. before: ![image](https://user-images.githubusercontent.com/510012/51483467-0f641400-1dd4-11e9-9921-ef21d15cc343.png) after: ![image](https://user-images.githubusercontent.com/510012/51483433-fb201700-1dd3-11e9-9730-c2a5d3dd5f5a.png) Co-authored-by: gfreezy <[email protected]>
| * fix completion bugsgfreezy2019-01-2330-135/+179
|/
* Merge #598bors[bot]2019-01-2315-31/+92
|\ | | | | | | | | | | | | | | 598: Add function signature to CompletionItem detail r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Move label from hir to ide_apiJeremy A. Kolb2019-01-222-24/+25
| |
| * Add function signature to CompletionItem detailJeremy A. Kolb2019-01-2216-30/+90
| |
* | Merge #602bors[bot]2019-01-2211-0/+70
|\ \ | | | | | | | | | | | | | | | | | | | | | 602: add status command r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | document status commandAleksey Kladov2019-01-221-0/+2
| | |
| * | ad status commandAleksey Kladov2019-01-2210-0/+68
|/ /
* | Merge #601bors[bot]2019-01-221-40/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | 601: Simplify CallInfo label and documentation r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * | Simplify CallInfo label and documentationJeremy A. Kolb2019-01-221-40/+7
|/ /
* | Merge #600bors[bot]2019-01-223-4/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | 600: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: rowanAleksey Kladov2019-01-223-4/+8
|/ /
* | Merge #599bors[bot]2019-01-223-1/+41
|\ \ | |/ |/| | | | | | | | | | | 599: Allow placeholder parameters in trait function definitions r=matklad a=regiontog fixes #597 Co-authored-by: Erlend Tobiassen <[email protected]>
| * Add test for placeholder parameters in trait fn defsErlend Tobiassen2019-01-223-0/+40
| |
| * Allow placeholder parameters in trait fn defsErlend Tobiassen2019-01-221-1/+1
|/
* Merge #593bors[bot]2019-01-2283-319/+641
|\ | | | | | | | | | | | | | | | | | | | | 593: Docs for completion r=matklad a=kjeremy The first commit adds documentation support to CompletionItems. The second one I am unsure about. Is that the right way to add docs for functions? If so should I do something similar for other `hir` types and CompletionItems? Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Update snapsJeremy A. Kolb2019-01-2279-316/+595
| |
| * Move docs to FunctionJeremy Kolb2019-01-223-13/+18
| |
| * Thread documentation through FnSignature and CompletionItemJeremy Kolb2019-01-223-1/+15
| |
| * Teach CompletionItem about documentationJeremy Kolb2019-01-222-2/+26
| |
* | Merge #592bors[bot]2019-01-225-37/+91
|\ \ | | | | | | | | | | | | | | | | | | | | | 592: Allow types to the left of `:` in where predicates r=matklad a=regiontog Adresses #584 Co-authored-by: Erlend Tobiassen <[email protected]>
| * | No need for is_type_startErlend Tobiassen2019-01-222-9/+1
| | |
| * | Prefer TYPE_FIRSTErlend Tobiassen2019-01-221-4/+4
| | |
| * | Update tests after allowing where predicate to accept typesErlend Tobiassen2019-01-225-20/+68
| | |
| * | Optimistically bail out of where clause loop if not at start of a type or ↵Erlend Tobiassen2019-01-222-12/+24
| | | | | | | | | | | | lifetime
| * | Don't leave a marker hanging without completing it.Erlend Tobiassen2019-01-221-2/+1
| | |
| * | Allow types to the left of : in where predicates.Erlend Tobiassen2019-01-221-24/+27
| |/
* | Merge #594bors[bot]2019-01-221-1/+12
|\ \ | |/ |/| | | | | | | | | | | 594: fold macros r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fold macrosAleksey Kladov2019-01-221-1/+12
|/
* Merge #591bors[bot]2019-01-214-25/+68
|\ | | | | | | | | | | | | | | 591: :arrow_up: insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: instaAleksey Kladov2019-01-214-25/+68
|/
* Merge #590bors[bot]2019-01-2129-55/+159
|\ | | | | | | | | | | | | | | 590: Use insta for ty tests r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * Use insta for ty testsFlorian Diebold2019-01-2129-55/+159
| |
* | Merge #588bors[bot]2019-01-214-9/+9
|\ \ | |/ |/| | | | | | | | | | | 588: Fix .not postfix completion r=matklad a=flodiebold The postfix snippets are awesome! I don't think the `.not` one is supposed to always replace the receiver by literally `!not` :smile: Co-authored-by: Florian Diebold <[email protected]>
| * Fix .not postfix completionFlorian Diebold2019-01-214-9/+9
|/