Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify CompletionContext by introducing a path CallKind enum | Lukas Wirth | 2021-06-06 | 2 | -6/+10 |
| | |||||
* | Add MethodCall and FieldAccess variants to ImmediateLocation | Lukas Wirth | 2021-06-02 | 1 | -1/+1 |
| | |||||
* | Less strings, more hir::Names | Lukas Wirth | 2021-05-31 | 1 | -3/+3 |
| | |||||
* | Complete `self.` prefixed fields and methods inside methods | Lukas Wirth | 2021-05-31 | 1 | -5/+31 |
| | |||||
* | Use `Name`s instead of Strings in the completion rendering api | Lukas Wirth | 2021-05-31 | 3 | -34/+44 |
| | |||||
* | Don't label derive macros with their banged_name | Lukas Wirth | 2021-05-28 | 1 | -1/+5 |
| | |||||
* | internal: normalize name | Aleksey Kladov | 2021-04-30 | 1 | -1/+1 |
| | | | | All def types in hir are unsubstituted | ||||
* | completion relevance distinguish between exact type match and could unify | Josh Mcguigan | 2021-03-26 | 2 | -4/+4 |
| | |||||
* | implement a temporary workaround for #8058 | Josh Mcguigan | 2021-03-22 | 1 | -3/+20 |
| | |||||
* | Store an `AstId` for procedural macros | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
| | |||||
*-. | Merge #7900 #8000 | bors[bot] | 2021-03-16 | 1 | -2/+37 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7900: show function params in completion detail r=matklad a=JoshMcguigan This resolves #7842 by updating the detail for function completions from `-> T` to `fn(T, U) -> V`. I added an expicit unit test for this, `ide_completion::render::fn_detail_includes_args_and_return_type`, which passes. Lots of other unit tests fail (~60 of them) due to this change, although I believe the failures are purely cosmetic (they were testing the exact format of this output). I'm happy to go update those tests, but before I do that I'd like to make sure this is in fact the format we want for the detail? edit - I realized `UPDATE_EXPECT=1 cargo test` automatically updates `expect!` tests. Big :+1: to whoever worked on that! So I'll go ahead and update all these tests soon. But I still would like to confirm `fn(T, U) -> V` is the desired content in the `detail` field. 8000: Use hir formatter for hover text r=matklad a=oxalica Fix #2765 , (should) fix #4665 Co-authored-by: Josh Mcguigan <[email protected]> Co-authored-by: oxalica <[email protected]> | ||||
| * | | add params_display and ty_display | Josh Mcguigan | 2021-03-12 | 1 | -9/+17 |
| | | | |||||
| * | | show function params in completion detail | Josh Mcguigan | 2021-03-12 | 1 | -2/+29 |
| | | | |||||
* | | | completions: centralize calculation of relevance and ref matches | Josh Mcguigan | 2021-03-16 | 2 | -15/+25 |
| | | | |||||
* | | | Merge #8035 | bors[bot] | 2021-03-15 | 1 | -18/+18 |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 8035: unqualfied_path completions aren't responsible for variant pattern completions r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | unqualfied_path completions aren't responsible for pattern completions | Lukas Wirth | 2021-03-15 | 1 | -18/+18 |
| |/ | |||||
* / | implement function completion scoring | Josh Mcguigan | 2021-03-15 | 1 | -1/+16 |
|/ | |||||
* | Unify naming | Aleksey Kladov | 2021-03-12 | 4 | -26/+22 |
| | |||||
* | use references in CompletionItem's builder | yonip23 | 2021-03-11 | 7 | -39/+49 |
| | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 4 | -22/+12 |
| | |||||
* | rename completion -> ide_completion | Aleksey Kladov | 2021-02-17 | 7 | -0/+1052 |
We don't have completion-related PRs in flight, so lets do it |