Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: use minicore deref more | Aleksey Kladov | 2021-06-18 | 1 | -12/+8 |
| | |||||
* | Move test_utils into tests module | Lukas Wirth | 2021-06-16 | 1 | -1/+1 |
| | |||||
* | Simplify | Lukas Wirth | 2021-06-16 | 1 | -51/+27 |
| | |||||
* | Merge #9299 | bors[bot] | 2021-06-16 | 1 | -3/+0 |
|\ | | | | | | | | | | | | | | | 9299: minor: Filter out non-type completions in the respective completions modules instead r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Filter out non-type completions in the respective completions modules instead | Lukas Wirth | 2021-06-16 | 1 | -3/+0 |
| | | |||||
* | | internal: add deref_mut to minicore | Aleksey Kladov | 2021-06-16 | 1 | -16/+6 |
| | | |||||
* | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-15 | 1 | -8/+4 |
|/ | |||||
* | internal: check that coverage marks are always paired | Aleksey Kladov | 2021-06-13 | 1 | -0/+1 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | |||||
* | Merge #9219 | bors[bot] | 2021-06-11 | 1 | -1/+4 |
|\ | | | | | | | | | | | | | | | 9219: minor: Replace some AssocItem::containing_trait calls trait_or_trait_impl r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace some AssocItem::containing_trait calls trait_or_trait_impl | Lukas Wirth | 2021-06-11 | 1 | -1/+4 |
| | | |||||
* | | Don't allow lookup by self for unprefixed self access completions | Lukas Wirth | 2021-06-11 | 1 | -5/+8 |
|/ | |||||
* | Simplify | Lukas Wirth | 2021-06-09 | 1 | -208/+178 |
| | |||||
* | Don't complete values in type position | Lukas Wirth | 2021-06-08 | 1 | -7/+8 |
| | |||||
* | Move more things into PathCompletionContext | Lukas Wirth | 2021-06-07 | 1 | -2/+6 |
| | |||||
* | Add config setting for self-on-the-fly | Lukas Wirth | 2021-05-31 | 1 | -1/+1 |
| | |||||
* | Less strings, more hir::Names | Lukas Wirth | 2021-05-31 | 1 | -4/+4 |
| | |||||
* | Complete `self.` prefixed fields and methods inside methods | Lukas Wirth | 2021-05-31 | 1 | -7/+23 |
| | |||||
* | Use `Name`s instead of Strings in the completion rendering api | Lukas Wirth | 2021-05-31 | 1 | -67/+76 |
| | |||||
* | Set `record_pat_syntax` more precisely in CompletionContext | Lukas Wirth | 2021-05-26 | 1 | -4/+1 |
| | |||||
* | Merge pattern completion related bools into an enum | Lukas Wirth | 2021-05-26 | 1 | -2/+2 |
| | |||||
* | Infer correct expected type for generic struct fields | Florian Diebold | 2021-05-23 | 1 | -0/+7 |
| | |||||
* | Fix compilation of hir and ide crates | Florian Diebold | 2021-05-21 | 1 | -1/+1 |
| | |||||
* | completion relevance distinguish between exact type match and could unify | Josh Mcguigan | 2021-03-26 | 1 | -19/+37 |
| | |||||
* | completion relevance consider if types can be unified | Josh Mcguigan | 2021-03-26 | 1 | -1/+32 |
| | |||||
* | add unit test to demonstrate struct fields/methods do not get ref match ↵ | Josh Mcguigan | 2021-03-23 | 1 | -0/+38 |
| | | | | completions | ||||
* | implement a temporary workaround for #8058 | Josh Mcguigan | 2021-03-22 | 1 | -2/+4 |
| | |||||
* | Add label completion | Lukas Wirth | 2021-03-21 | 1 | -0/+1 |
| | |||||
* | Don't use an untyped String for ActiveParam tracking | Lukas Wirth | 2021-03-20 | 1 | -3/+2 |
| | |||||
* | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
| | |||||
* | minor style fixes per feedback on #8036 | Josh Mcguigan | 2021-03-16 | 1 | -27/+21 |
| | |||||
*-. | Merge #7900 #8000 | bors[bot] | 2021-03-16 | 1 | -8/+46 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]> | ||||
| * | | show function params in completion detail | Josh Mcguigan | 2021-03-12 | 1 | -8/+46 |
| | | | |||||
* | | | completions: centralize calculation of relevance and ref matches | Josh Mcguigan | 2021-03-16 | 1 | -35/+147 |
| |/ |/| | |||||
* | | implement function completion scoring | Josh Mcguigan | 2021-03-15 | 1 | -0/+60 |
| | | |||||
* | | remove expected_name_and_type method on completion context in favor of using ↵ | Josh Mcguigan | 2021-03-15 | 1 | -12/+4 |
| | | | | | | | | fields added in #8008 | ||||
* | | update algorithm for determining expected type of completion | Josh Mcguigan | 2021-03-15 | 1 | -12/+3 |
| | | |||||
* | | increase completion relevance for items in local scope | Josh Mcguigan | 2021-03-14 | 1 | -28/+51 |
| | | |||||
* | | Skip ref_match on same types, remove sorting in tests | ivan770 | 2021-03-14 | 1 | -38/+25 |
| | | |||||
* | | Added both references and original matches to tests | ivan770 | 2021-03-13 | 1 | -34/+42 |
| | | |||||
* | | Fix incorrect DerefMut test reference type | ivan770 | 2021-03-13 | 1 | -1/+1 |
| | | |||||
* | | Make relevance tests display references, suggest derefs only when needed | ivan770 | 2021-03-13 | 1 | -15/+83 |
| | | |||||
* | | Simplify call site and deref completion test | ivan770 | 2021-03-13 | 1 | -85/+16 |
| | | |||||
* | | Count derefs as matched types if possible | ivan770 | 2021-03-13 | 1 | -3/+125 |
|/ | |||||
* | add completion relevance score | Josh Mcguigan | 2021-03-12 | 1 | -10/+12 |
| | |||||
* | Unify naming | Aleksey Kladov | 2021-03-12 | 1 | -8/+7 |
| | |||||
* | use references in CompletionItem's builder | yonip23 | 2021-03-11 | 1 | -31/+31 |
| | |||||
* | Future proof completion scores | Aleksey Kladov | 2021-03-09 | 1 | -58/+41 |
| | |||||
* | Cleanup auto-ref in completion | Aleksey Kladov | 2021-03-09 | 1 | -17/+73 |
| | |||||
* | Cleanup | Aleksey Kladov | 2021-03-09 | 1 | -3/+5 |
| |