Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove obsolete is_new_item field on CompletionContext | Lukas Wirth | 2021-06-02 | 1 | -13/+1 |
| | |||||
* | Add MethodCall and FieldAccess variants to ImmediateLocation | Lukas Wirth | 2021-06-02 | 1 | -32/+19 |
| | |||||
* | Move more fields to `ImmediateLocation` | Lukas Wirth | 2021-05-30 | 1 | -64/+35 |
| | |||||
* | Implement prev sibling determination for `CompletionContext` | Lukas Wirth | 2021-05-28 | 1 | -28/+12 |
| | |||||
* | simplify | Lukas Wirth | 2021-05-28 | 1 | -3/+6 |
| | |||||
* | Only complete modules in empty use-statements | Lukas Wirth | 2021-05-28 | 1 | -0/+4 |
| | |||||
* | Cleanup `ImmediateLocation` determination | Lukas Wirth | 2021-05-27 | 1 | -36/+8 |
| | |||||
* | Don't complete non-macro item paths in impls and modules | Lukas Wirth | 2021-05-27 | 1 | -10/+11 |
| | |||||
* | simplify | Lukas Wirth | 2021-05-27 | 1 | -3/+10 |
| | |||||
* | simplify | Lukas Wirth | 2021-05-27 | 1 | -6/+5 |
| | |||||
* | Collapse more CompletionContext booleans into enums | Lukas Wirth | 2021-05-27 | 1 | -49/+94 |
| | |||||
* | Set `record_pat_syntax` more precisely in CompletionContext | Lukas Wirth | 2021-05-26 | 1 | -29/+25 |
| | |||||
* | Merge pattern completion related bools into an enum | Lukas Wirth | 2021-05-26 | 1 | -70/+82 |
| | |||||
* | simplify | Lukas Wirth | 2021-05-26 | 1 | -29/+34 |
| | |||||
* | internal: rename hypothetical -> speculative | Aleksey Kladov | 2021-05-24 | 1 | -10/+10 |
| | | | | | Lets steal this good naming from Roslyn before I forget about it yet again. | ||||
* | Get rid of field_type again | Florian Diebold | 2021-05-23 | 1 | -4/+3 |
| | |||||
* | Infer correct expected type in closure | Florian Diebold | 2021-05-23 | 1 | -1/+8 |
| | | | | Sadly currently only works if the closure body isn't completely missing. | ||||
* | Infer correct expected type for generic struct fields | Florian Diebold | 2021-05-23 | 1 | -16/+16 |
| | |||||
* | Record method call substs and use them in call info | Florian Diebold | 2021-05-23 | 1 | -0/+60 |
| | |||||
* | Add `=` to pattern recovery | Lukas Wirth | 2021-05-08 | 1 | -1/+22 |
| | |||||
* | Small macro fix | Kirill Bulatov | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | internal: use API stabilized in 1.52 | Aleksey Kladov | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | Make CompletionContext expected_type smarter | Lukas Tobias Wirth | 2021-05-03 | 1 | -95/+113 |
| | |||||
* | internal: normalize name | Aleksey Kladov | 2021-04-30 | 1 | -2/+2 |
| | | | | All def types in hir are unsubstituted | ||||
* | Add `'` to trigger_characters, allowing more direct lifetime completions | Lukas Wirth | 2021-03-21 | 1 | -1/+5 |
| | |||||
* | Fix incorrect scoping in while expressions | Lukas Wirth | 2021-03-21 | 1 | -13/+11 |
| | |||||
* | Add label completion | Lukas Wirth | 2021-03-21 | 1 | -6/+22 |
| | |||||
* | Merge #8124 | bors[bot] | 2021-03-20 | 1 | -3/+31 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 8124: Add basic lifetime completion r=Veykril a=Veykril This adds basic lifetime completion, basic in the sense that the completions for lifetimes are only shown when the user enters `'` followed by a char. Showing them when nothing is entered is kind of a pain, as we would want them to only show up where they are useful which in turn requires a lot of tree traversal and cursor position checking to verify whether the position is valid for a lifetime. This in itself doesn't seem too bad as usually when you know you want to write a lifetime putting `'` to ask for lifetime completions seems fine. ~~I'll take a look at whether its possible to lift the restriction of having to put a char after `'`.~~ This actually already works so I guess this is the clients responsibility, in which case VSCode doesn't like it. ![TYH9gIlyVo](https://user-images.githubusercontent.com/3757771/111886437-c9b02f80-89cd-11eb-9bee-340f1536b0de.gif) Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Add basic lifetime completion | Lukas Wirth | 2021-03-20 | 1 | -3/+31 |
| | | |||||
* | | Don't use an untyped String for ActiveParam tracking | Lukas Wirth | 2021-03-20 | 1 | -16/+22 |
|/ | |||||
* | Merge #8051 | bors[bot] | 2021-03-16 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | 8051: Fix more unused wariable warnings r=lnicola a=lnicola bors r+ changelog skip Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Fix more unused wariable warnings | Laurențiu Nicola | 2021-03-16 | 1 | -3/+3 |
| | | |||||
* | | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -6/+9 |
|/ | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | Drop non-working mark | Laurențiu Nicola | 2021-03-15 | 1 | -2/+0 |
| | |||||
* | update algorithm for determining expected type of completion | Josh Mcguigan | 2021-03-15 | 1 | -14/+283 |
| | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -2/+2 |
| | |||||
* | rename completion -> ide_completion | Aleksey Kladov | 2021-02-17 | 1 | -0/+537 |
We don't have completion-related PRs in flight, so lets do it |