Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #9315 | bors[bot] | 2021-06-17 | 1 | -15/+16 |
|\ | | | | | | | | | | | | | | | 9315: Nest all the or-patterns! r=Veykril a=Veykril `cargo +nightly clippy --fix -Z unstable-options --allow-dirty -- -A clippy::all -D clippy::unnested_or_patterns` Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 1 | -15/+16 |
| | | |||||
* | | Correct completions in items tests | Lukas Wirth | 2021-06-17 | 1 | -0/+4 |
|/ | |||||
* | Fix incorrect completions in empty braced use statement | Lukas Wirth | 2021-06-17 | 1 | -4/+0 |
| | |||||
* | Refine `self`, `super` and `crate` completion in use paths | Lukas Wirth | 2021-06-17 | 1 | -10/+16 |
| | |||||
* | Move test_utils into tests module | Lukas Wirth | 2021-06-16 | 1 | -1/+1 |
| | |||||
* | Don't complete paths after attributes | Lukas Wirth | 2021-06-16 | 1 | -1/+4 |
| | |||||
* | Don't show incorrect completions after unsafe or visiblity node | Lukas Wirth | 2021-06-16 | 1 | -7/+10 |
| | |||||
* | Don't complete visibility accessors after existing ones | Lukas Wirth | 2021-06-16 | 1 | -0/+4 |
| | |||||
* | Filter out non-type completions in the respective completions modules instead | Lukas Wirth | 2021-06-16 | 1 | -0/+4 |
| | |||||
* | clippy::redundant_closure | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | |||||
* | Don't complete values in type position | Lukas Wirth | 2021-06-08 | 1 | -13/+29 |
| | |||||
* | simplify | Lukas Wirth | 2021-06-07 | 1 | -7/+3 |
| | |||||
* | Remove unnecessary completion::macro_in_item_position | Lukas Wirth | 2021-06-07 | 1 | -5/+1 |
| | |||||
* | Reorder CompletionContext fields | Lukas Wirth | 2021-06-07 | 1 | -16/+14 |
| | |||||
* | Move more things into PathCompletionContext | Lukas Wirth | 2021-06-07 | 1 | -30/+41 |
| | |||||
* | Simplify CompletionContext by introducing a path CallKind enum | Lukas Wirth | 2021-06-06 | 1 | -22/+33 |
| | |||||
* | NFC: remove redundant clones (clippy::perf) | Matthias Krüger | 2021-06-03 | 1 | -1/+1 |
| | |||||
* | 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]> |