aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #9302bors[bot]2021-06-161-7/+67
|\ | | | | | | | | | | | | | | 9302: internal: Add builtin derives to attribute completion fixtures r=Veykril a=Veykril bors R+ Co-authored-by: Lukas Wirth <[email protected]>
| * Don't complete already used derive attributesLukas Wirth2021-06-161-20/+20
| |
| * Add builtin derives to attribute completion fixturesLukas Wirth2021-06-161-7/+67
| |
* | SimplifyLukas Wirth2021-06-163-66/+34
|/
* Merge #9299bors[bot]2021-06-165-59/+94
|\ | | | | | | | | | | | | | | 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 insteadLukas Wirth2021-06-165-59/+94
| |
* | internal: add deref_mut to minicoreAleksey Kladov2021-06-161-16/+6
| |
* | internal: switch some tests to minicoreAleksey Kladov2021-06-151-8/+4
| |
* | internal: switch some tests to minicoreAleksey Kladov2021-06-151-17/+3
|/
* internal: don't #[ignore] testsAleksey Kladov2021-06-151-43/+6
| | | | See the style.md for motivation
* Add assoc type in trait bound completion testLukas Wirth2021-06-141-0/+18
|
* Merge #9260bors[bot]2021-06-141-1/+1
|\ | | | | | | | | | | | | | | 9260: tree-wide: make rustdoc links spiky so they are clickable r=matklad a=lf- Rustdoc was complaining about these while I was running with --document-private-items and I figure they should be fixed. Co-authored-by: Jade <[email protected]>
| * tree-wide: make rustdoc links spiky so they are clickableJade2021-06-141-1/+1
| |
* | internal: check that coverage marks are always pairedAleksey Kladov2021-06-131-0/+1
| |
* | clippy::redundant_field_namesMaan20032021-06-131-1/+1
| |
* | clippy::redundant_closureMaan20032021-06-132-4/+4
| |
* | clippy::redudant_borrowMaan20032021-06-138-21/+21
| |
* | Fix some typos in flyimport docsKirill Bulatov2021-06-121-9/+9
| |
* | Complete associated types in dyn and impl traitLukas Wirth2021-06-114-10/+64
| |
* | Merge #9219bors[bot]2021-06-111-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_implLukas Wirth2021-06-111-1/+4
| |/
* / Don't allow lookup by self for unprefixed self access completionsLukas Wirth2021-06-112-18/+21
|/
* Merge #9195bors[bot]2021-06-091-208/+178
|\ | | | | | | | | | | | | | | 9195: minor: Simplify r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * SimplifyLukas Wirth2021-06-091-208/+178
| |
* | Implement dummy expansions for builtin attributesLukas Wirth2021-06-092-6/+32
|/
*-. Merge #9181 #9182bors[bot]2021-06-088-58/+198
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-083-4/+81
| |/ |/|
| * Add tests checking no value completion in type posLukas Wirth2021-06-083-0/+55
| |
| * Don't complete values in type positionLukas Wirth2021-06-086-54/+62
|/
* simplifyLukas Wirth2021-06-075-36/+33
|
* Remove unnecessary completion::macro_in_item_positionLukas Wirth2021-06-076-72/+17
|
* Reorder CompletionContext fieldsLukas Wirth2021-06-071-16/+14
|
* Move more things into PathCompletionContextLukas Wirth2021-06-078-46/+62
|
* Simplify CompletionContext by introducing a path CallKind enumLukas Wirth2021-06-066-32/+49
|
* Merge #9140bors[bot]2021-06-053-40/+71
|\ | | | | | | | | | | | | | | | | | | 9140: feat: Render documentation for derive completion r=Veykril a=Veykril ![eEzGiq2wNa](https://user-images.githubusercontent.com/3757771/120847308-9c5a3300-c573-11eb-958d-e0f22f4757ed.gif) Nothing fancy as all the std derives aren't really documented though maybe some 3rd party crates document them equally to their trait counterparts. Co-authored-by: Lukas Wirth <[email protected]>
| * Complete third-party attributesLukas Wirth2021-06-041-0/+19
| |
| * Render documentation for derive completionLukas Wirth2021-06-042-40/+52
| |
* | Fix incorrect list nesting in format_like feature descriptionLukas Wirth2021-06-051-9/+9
|/
* Generate default lint completionsLukas Wirth2021-06-044-6618/+4
|
* Implement hover for lintsLukas Wirth2021-06-043-2821/+2930
|
* NFC: remove redundant clones (clippy::perf)Matthias Krüger2021-06-031-1/+1
|
* Remove obsolete is_new_item field on CompletionContextLukas Wirth2021-06-024-17/+5
|
* Add MethodCall and FieldAccess variants to ImmediateLocationLukas Wirth2021-06-027-49/+81
|
* Implement per-edition preludesJonas Schievink2021-06-011-18/+19
|
* Merge #9079bors[bot]2021-05-311-3/+53
|\ | | | | | | | | | | | | | | | | 9079: Don't take the parent kind of trailing attributes in attr completion r=Veykril a=Veykril bors r+ fixes https://github.com/rust-analyzer/rust-analyzer/issues/9076 Co-authored-by: Lukas Wirth <[email protected]>
| * Don't take the parent kind of trailing attributes in attr completionLukas Wirth2021-05-311-3/+53
| |
* | Add config setting for self-on-the-flyLukas Wirth2021-05-314-2/+4
| |
* | Move unprefixed field/method completion to `dot`Lukas Wirth2021-05-313-93/+101
| |
* | Less strings, more hir::NamesLukas Wirth2021-05-314-13/+13
| |
* | Complete `self.` prefixed fields and methods inside methodsLukas Wirth2021-05-316-54/+165
|/