Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix incorrect completions in empty braced use statement | Lukas Wirth | 2021-06-17 | 1 | -1/+1 |
| | |||||
* | Refine `self`, `super` and `crate` completion in use paths | Lukas Wirth | 2021-06-17 | 1 | -1/+1 |
| | |||||
* | Move out and rewrite UseTree completion tests | Lukas Wirth | 2021-06-17 | 1 | -32/+0 |
| | |||||
* | Move test_utils into tests module | Lukas Wirth | 2021-06-16 | 1 | -2/+3 |
| | |||||
* | Don't complete paths after attributes | Lukas Wirth | 2021-06-16 | 1 | -48/+0 |
| | |||||
* | Start refactoring ide_completion tests | Lukas Wirth | 2021-06-16 | 1 | -1/+1 |
| | |||||
* | Filter out non-type completions in the respective completions modules instead | Lukas Wirth | 2021-06-16 | 1 | -26/+32 |
| | |||||
* | Add assoc type in trait bound completion test | Lukas Wirth | 2021-06-14 | 1 | -0/+18 |
| | |||||
* | Complete associated types in dyn and impl trait | Lukas Wirth | 2021-06-11 | 1 | -1/+33 |
| | |||||
* | Implement dummy expansions for builtin attributes | Lukas Wirth | 2021-06-09 | 1 | -6/+6 |
| | |||||
*-. | Merge #9181 #9182 | bors[bot] | 2021-06-08 | 1 | -6/+70 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9181: Don't complete values in type position r=jonas-schievink a=Veykril Will add some proper tests in a bit 9182: fix: don't complete derive macros as fn-like macros r=jonas-schievink a=jonas-schievink Part of https://github.com/rust-analyzer/rust-analyzer/issues/8518 bors r+ Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> | ||||
| | * | fix: don't complete derive macros as fn-like macros | Jonas Schievink | 2021-06-08 | 1 | -2/+48 |
| |/ |/| | |||||
| * | Add tests checking no value completion in type pos | Lukas Wirth | 2021-06-08 | 1 | -0/+22 |
| | | |||||
| * | Don't complete values in type position | Lukas Wirth | 2021-06-08 | 1 | -4/+0 |
|/ | |||||
* | Remove unnecessary completion::macro_in_item_position | Lukas Wirth | 2021-06-07 | 1 | -12/+10 |
| | |||||
* | Move more things into PathCompletionContext | Lukas Wirth | 2021-06-07 | 1 | -1/+1 |
| | |||||
* | Implement per-edition preludes | Jonas Schievink | 2021-06-01 | 1 | -18/+19 |
| | |||||
* | Move unprefixed field/method completion to `dot` | Lukas Wirth | 2021-05-31 | 1 | -46/+0 |
| | |||||
* | 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 | -0/+48 |
| | |||||
* | Use `Name`s instead of Strings in the completion rendering api | Lukas Wirth | 2021-05-31 | 1 | -4/+4 |
| | |||||
* | Only complete modules in empty use-statements | Lukas Wirth | 2021-05-28 | 1 | -14/+16 |
| | |||||
* | Complete modules in item lists | Lukas Wirth | 2021-05-27 | 1 | -2/+20 |
| | |||||
* | Complete modules in assoc item lists | Lukas Wirth | 2021-05-27 | 1 | -2/+7 |
| | |||||
* | Don't complete non-macro item paths in impls and modules | Lukas Wirth | 2021-05-27 | 1 | -1/+26 |
| | |||||
* | simplify | Lukas Wirth | 2021-05-27 | 1 | -6/+1 |
| | |||||
* | Collapse more CompletionContext booleans into enums | Lukas Wirth | 2021-05-27 | 1 | -2/+1 |
| | |||||
* | Merge pattern completion related bools into an enum | Lukas Wirth | 2021-05-26 | 1 | -2/+2 |
| | |||||
* | fix: remove undesired completions from trait/impl blocks | Eduardo Canellas | 2021-05-26 | 1 | -0/+2 |
| | |||||
* | simplify | Lukas Tobias Wirth | 2021-05-05 | 1 | -2/+4 |
| | |||||
*-. | Merge #7900 #8000 | bors[bot] | 2021-03-16 | 1 | -25/+25 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -25/+25 |
| |/ | |||||
* / | unqualfied_path completions aren't responsible for pattern completions | Lukas Wirth | 2021-03-15 | 1 | -87/+1 |
|/ | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -7/+5 |
| | |||||
* | rename completion -> ide_completion | Aleksey Kladov | 2021-02-17 | 1 | -0/+755 |
We don't have completion-related PRs in flight, so lets do it |