Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move SyntaxPtr to ra_syntax | Aleksey Kladov | 2019-01-23 | 12 | -108/+109 |
| | |||||
* | don't insert parens for self methods | Aleksey Kladov | 2019-01-23 | 5 | -13/+52 |
| | |||||
* | move completion item tests closer to the code | Aleksey Kladov | 2019-01-23 | 7 | -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 infrastructure | Aleksey Kladov | 2019-01-23 | 6 | -86/+91 |
| | |||||
* | :arrow_up: insta | Aleksey Kladov | 2019-01-23 | 3 | -3/+3 |
| | |||||
* | fix completion bugs | gfreezy | 2019-01-23 | 30 | -135/+179 |
| | |||||
* | Merge #598 | bors[bot] | 2019-01-23 | 15 | -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_api | Jeremy A. Kolb | 2019-01-22 | 2 | -24/+25 |
| | | |||||
| * | Add function signature to CompletionItem detail | Jeremy A. Kolb | 2019-01-22 | 16 | -30/+90 |
| | | |||||
* | | ad status command | Aleksey Kladov | 2019-01-22 | 6 | -0/+49 |
| | | |||||
* | | Simplify CallInfo label and documentation | Jeremy A. Kolb | 2019-01-22 | 1 | -40/+7 |
| | | |||||
* | | :arrow_up: rowan | Aleksey Kladov | 2019-01-22 | 2 | -1/+5 |
| | | |||||
* | | Add test for placeholder parameters in trait fn defs | Erlend Tobiassen | 2019-01-22 | 3 | -0/+40 |
| | | |||||
* | | Allow placeholder parameters in trait fn defs | Erlend Tobiassen | 2019-01-22 | 1 | -1/+1 |
|/ | |||||
* | Merge #593 | bors[bot] | 2019-01-22 | 83 | -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 snaps | Jeremy A. Kolb | 2019-01-22 | 79 | -316/+595 |
| | | |||||
| * | Move docs to Function | Jeremy Kolb | 2019-01-22 | 3 | -13/+18 |
| | | |||||
| * | Thread documentation through FnSignature and CompletionItem | Jeremy Kolb | 2019-01-22 | 3 | -1/+15 |
| | | |||||
| * | Teach CompletionItem about documentation | Jeremy Kolb | 2019-01-22 | 2 | -2/+26 |
| | | |||||
* | | Merge #592 | bors[bot] | 2019-01-22 | 5 | -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_start | Erlend Tobiassen | 2019-01-22 | 2 | -9/+1 |
| | | | |||||
| * | | Prefer TYPE_FIRST | Erlend Tobiassen | 2019-01-22 | 1 | -4/+4 |
| | | | |||||
| * | | Update tests after allowing where predicate to accept types | Erlend Tobiassen | 2019-01-22 | 5 | -20/+68 |
| | | | |||||
| * | | Optimistically bail out of where clause loop if not at start of a type or ↵ | Erlend Tobiassen | 2019-01-22 | 2 | -12/+24 |
| | | | | | | | | | | | | lifetime | ||||
| * | | Don't leave a marker hanging without completing it. | Erlend Tobiassen | 2019-01-22 | 1 | -2/+1 |
| | | | |||||
| * | | Allow types to the left of : in where predicates. | Erlend Tobiassen | 2019-01-22 | 1 | -24/+27 |
| |/ | |||||
* / | fold macros | Aleksey Kladov | 2019-01-22 | 1 | -1/+12 |
|/ | |||||
* | :arrow_up: insta | Aleksey Kladov | 2019-01-21 | 3 | -3/+3 |
| | |||||
* | Merge #590 | bors[bot] | 2019-01-21 | 28 | -55/+158 |
|\ | | | | | | | | | | | | | | | 590: Use insta for ty tests r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Use insta for ty tests | Florian Diebold | 2019-01-21 | 28 | -55/+158 |
| | | |||||
* | | Fix .not postfix completion | Florian Diebold | 2019-01-21 | 4 | -9/+9 |
|/ | |||||
* | Fix panic trying to get substs on unknown type | Florian Diebold | 2019-01-21 | 3 | -3/+27 |
| | | | | Fixes #585. | ||||
* | Merge #582 | bors[bot] | 2019-01-21 | 6 | -30/+312 |
|\ | | | | | | | | | | | | | | | 582: Postfix completion r=matklad a=gfreezy resolved #525 Co-authored-by: gfreezy <[email protected]> | ||||
| * | postfix completion | gfreezy | 2019-01-21 | 6 | -30/+312 |
| | | |||||
* | | typos fix | gfreezy | 2019-01-21 | 1 | -4/+4 |
|/ | |||||
* | Merge #574 | bors[bot] | 2019-01-20 | 54 | -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 tests | gfreezy | 2019-01-20 | 8 | -19/+19 |
| | | |||||
| * | workaround for trigger character | gfreezy | 2019-01-20 | 1 | -1/+5 |
| | | |||||
| * | use a combination of `source_change` and `text_edit` for `CompleteItem` | gfreezy | 2019-01-20 | 48 | -295/+305 |
| | | |||||
| * | refactor to use `remove_range` and `replace_range` instead of TextEdit | gfreezy | 2019-01-19 | 47 | -755/+619 |
| | | |||||
| * | ignore unused methods | gfreezy | 2019-01-19 | 1 | -0/+3 |
| | | |||||
| * | refactor completions to use TextEdit instead of InsertText | gfreezy | 2019-01-19 | 54 | -313/+2320 |
| | | |||||
* | | extend selection expands macros and can totally panic | Aleksey Kladov | 2019-01-20 | 3 | -7/+11 |
| | | |||||
* | | somewhat better name | Aleksey Kladov | 2019-01-20 | 2 | -2/+2 |
| | | |||||
* | | make matching brace consistent | Aleksey Kladov | 2019-01-20 | 2 | -4/+4 |
| | | |||||
* | | use with_db consistently | Aleksey Kladov | 2019-01-20 | 1 | -14/+7 |
| | | |||||
* | | Fix panic on inferring field access on an enum | Florian Diebold | 2019-01-20 | 3 | -2/+24 |
| | | |||||
* | | Add an assert | Florian Diebold | 2019-01-19 | 1 | -0/+1 |
| | | |||||
* | | Generics -> GenericParams | Florian Diebold | 2019-01-19 | 7 | -41/+41 |
| | | |||||
* | | Make generics work in struct patterns | Florian Diebold | 2019-01-19 | 3 | -17/+87 |
| | |