aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/completions/unqualified_path.rs
Commit message (Collapse)AuthorAgeFilesLines
* Correct completions in items testsLukas Wirth2021-06-171-1/+4
|
* Move item specific completion testsLukas Wirth2021-06-171-17/+0
|
* Fix incorrect completions in empty braced use statementLukas Wirth2021-06-171-1/+1
|
* Refine `self`, `super` and `crate` completion in use pathsLukas Wirth2021-06-171-1/+1
|
* Move out and rewrite UseTree completion testsLukas Wirth2021-06-171-32/+0
|
* Move test_utils into tests moduleLukas Wirth2021-06-161-2/+3
|
* Don't complete paths after attributesLukas Wirth2021-06-161-48/+0
|
* Start refactoring ide_completion testsLukas Wirth2021-06-161-1/+1
|
* Filter out non-type completions in the respective completions modules insteadLukas Wirth2021-06-161-26/+32
|
* Add assoc type in trait bound completion testLukas Wirth2021-06-141-0/+18
|
* Complete associated types in dyn and impl traitLukas Wirth2021-06-111-1/+33
|
* Implement dummy expansions for builtin attributesLukas Wirth2021-06-091-6/+6
|
*-. Merge #9181 #9182bors[bot]2021-06-081-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 macrosJonas Schievink2021-06-081-2/+48
| |/ |/|
| * Add tests checking no value completion in type posLukas Wirth2021-06-081-0/+22
| |
| * Don't complete values in type positionLukas Wirth2021-06-081-4/+0
|/
* Remove unnecessary completion::macro_in_item_positionLukas Wirth2021-06-071-12/+10
|
* Move more things into PathCompletionContextLukas Wirth2021-06-071-1/+1
|
* Implement per-edition preludesJonas Schievink2021-06-011-18/+19
|
* Move unprefixed field/method completion to `dot`Lukas Wirth2021-05-311-46/+0
|
* Less strings, more hir::NamesLukas Wirth2021-05-311-3/+3
|
* Complete `self.` prefixed fields and methods inside methodsLukas Wirth2021-05-311-0/+48
|
* Use `Name`s instead of Strings in the completion rendering apiLukas Wirth2021-05-311-4/+4
|
* Only complete modules in empty use-statementsLukas Wirth2021-05-281-14/+16
|
* Complete modules in item listsLukas Wirth2021-05-271-2/+20
|
* Complete modules in assoc item listsLukas Wirth2021-05-271-2/+7
|
* Don't complete non-macro item paths in impls and modulesLukas Wirth2021-05-271-1/+26
|
* simplifyLukas Wirth2021-05-271-6/+1
|
* Collapse more CompletionContext booleans into enumsLukas Wirth2021-05-271-2/+1
|
* Merge pattern completion related bools into an enumLukas Wirth2021-05-261-2/+2
|
* fix: remove undesired completions from trait/impl blocksEduardo Canellas2021-05-261-0/+2
|
* simplifyLukas Tobias Wirth2021-05-051-2/+4
|
*-. Merge #7900 #8000bors[bot]2021-03-161-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 detailJosh Mcguigan2021-03-121-25/+25
| |/
* / unqualfied_path completions aren't responsible for pattern completionsLukas Wirth2021-03-151-87/+1
|/
* Use upstream cov-markLaurențiu Nicola2021-03-081-7/+5
|
* rename completion -> ide_completionAleksey Kladov2021-02-171-0/+755
We don't have completion-related PRs in flight, so lets do it