aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Add raw idents to lexer and parserJosh Robson Chase2019-01-2326-40/+124
|
* Merge #615bors[bot]2019-01-233-3/+3
|\ | | | | | | | | | | | | | | 615: Bumpup lsp-types to v0.55.0 r=DJMcNab a=h-michael https://github.com/gluon-lang/lsp-types/compare/v0.54.0...v0.55.0 Co-authored-by: Hirokazu Hata <[email protected]>
| * Fix target_selection_range typeHirokazu Hata2019-01-231-1/+1
| |
| * Bumpup lsp-types to v0.55.0Hirokazu Hata2019-01-232-2/+2
| |
* | drop obsolete commentAleksey Kladov2019-01-231-1/+0
|/
* assign DefIds when loweringAleksey Kladov2019-01-234-107/+99
|
* 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
|
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-2312-108/+109
|
* 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
* generalize marking infrastructureAleksey Kladov2019-01-236-86/+91
|
* :arrow_up: instaAleksey Kladov2019-01-233-3/+3
|
* 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
| |
* | ad status commandAleksey Kladov2019-01-226-0/+49
| |
* | Simplify CallInfo label and documentationJeremy A. Kolb2019-01-221-40/+7
| |
* | :arrow_up: rowanAleksey Kladov2019-01-222-1/+5
| |
* | 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
| |/
* / fold macrosAleksey Kladov2019-01-221-1/+12
|/
* :arrow_up: instaAleksey Kladov2019-01-213-3/+3
|
* Merge #590bors[bot]2019-01-2128-55/+158
|\ | | | | | | | | | | | | | | 590: Use insta for ty tests r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * Use insta for ty testsFlorian Diebold2019-01-2128-55/+158
| |
* | Fix .not postfix completionFlorian Diebold2019-01-214-9/+9
|/
* Fix panic trying to get substs on unknown typeFlorian Diebold2019-01-213-3/+27
| | | | Fixes #585.
* Merge #582bors[bot]2019-01-216-30/+312
|\ | | | | | | | | | | | | | | 582: Postfix completion r=matklad a=gfreezy resolved #525 Co-authored-by: gfreezy <[email protected]>
| * postfix completiongfreezy2019-01-216-30/+312
| |
* | typos fixgfreezy2019-01-211-4/+4
|/
* Merge #574bors[bot]2019-01-2054-318/+2206
|\ | | | | | | | | | | | | | | | | 574: refactor completions to use TextEdit instead of InsertText r=matklad a=gfreezy 1. migrate from `insertText` to `TextEdit` from `CompleteItem` 2. use `insta` to test completions Co-authored-by: gfreezy <[email protected]>
| * fix testsgfreezy2019-01-208-19/+19
| |
| * workaround for trigger charactergfreezy2019-01-201-1/+5
| |
| * use a combination of `source_change` and `text_edit` for `CompleteItem`gfreezy2019-01-2048-295/+305
| |
| * refactor to use `remove_range` and `replace_range` instead of TextEditgfreezy2019-01-1947-755/+619
| |