aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src
Commit message (Collapse)AuthorAgeFilesLines
* Improve completion of cfg attributesJamie Cunliffe2021-06-212-0/+141
| | | | | | | | | | | | The completion of cfg will look at the enabled cfg keys when performing completion. It will also look crate features when completing a feature cfg option. A fixed list of known values for some cfg options are provided. For unknown keys it will look at the enabled values for that cfg key, which means that completion will only show enabled options for those.
* Merge #9356bors[bot]2021-06-2110-677/+557
|\ | | | | | | | | | | | | | | 9356: internal: Move out and regroup more completion tests r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * Various keyword completion fixesLukas Wirth2021-06-214-16/+22
| |
| * Move out completion type position testsLukas Wirth2021-06-215-206/+198
| |
| * Move out completion pattern testsLukas Wirth2021-06-215-467/+349
| |
* | fix: don't add duplicate `&` during completionAleksey Kladov2021-06-202-68/+72
|/
* Merge #9334bors[bot]2021-06-182-1/+2
|\ | | | | | | | | | | | | | | | | | | 9334: feat: Allow to disable import insertion on single path glob imports r=Veykril a=Veykril On by default as I feel like this is something the majority would prefer. Closes #8490 Co-authored-by: Lukas Wirth <[email protected]>
| * Allow to disable import insertion on single path glob importsLukas Wirth2021-06-182-1/+2
| |
* | minor: use minicoreAleksey Kladov2021-06-181-6/+3
| |
* | minor: use minicoreAleksey Kladov2021-06-181-12/+6
| |
* | internal: use minicore deref moreAleksey Kladov2021-06-181-12/+8
| |
* | minor: use minicoreAleksey Kladov2021-06-182-6/+2
| |
* | Lift ast -> hir out of the for_eachrdambrosio2021-06-181-20/+18
| |
* | Remove extra whitespacerdambrosio2021-06-181-2/+2
| |
* | Feat: inline generics in const and func trait completionsrdambrosio2021-06-181-27/+252
| |
* | Merge #9313bors[bot]2021-06-172-2/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 9313: fix: Don't complete keywords in attributes inside expressions r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | Don't complete keywords in attributes inside expressionsLukas Wirth2021-06-172-2/+5
| | |
* | | Complete `repr` attribute parametersLukas Wirth2021-06-172-0/+201
| |/ |/|
* | internal: add default to minicoreAleksey Kladov2021-06-171-21/+7
| |
* | Merge #9315bors[bot]2021-06-174-25/+34
|\ \ | |/ |/| | | | | | | | | | | 9315: Nest all the or-patterns! r=Veykril a=Veykril `cargo +nightly clippy --fix -Z unstable-options --allow-dirty -- -A clippy::all -D clippy::unnested_or_patterns` Co-authored-by: Lukas Wirth <[email protected]>
| * Nest all the or-patterns!Lukas Wirth2021-06-174-25/+34
| |
* | Correct completions in items testsLukas Wirth2021-06-175-24/+57
| |
* | Move item specific completion testsLukas Wirth2021-06-176-71/+111
| |
* | Less filtering in completion testsLukas Wirth2021-06-177-98/+96
|/
* Fix incorrect completions in empty braced use statementLukas Wirth2021-06-173-5/+18
|
* Refine `self`, `super` and `crate` completion in use pathsLukas Wirth2021-06-179-54/+47
|
* Move out and rewrite UseTree completion testsLukas Wirth2021-06-175-224/+262
|
* Move test_utils into tests moduleLukas Wirth2021-06-1626-238/+194
|
* Don't complete paths after attributesLukas Wirth2021-06-167-135/+123
|
* Don't show incorrect completions after unsafe or visiblity nodeLukas Wirth2021-06-164-42/+38
|
* Don't complete visibility accessors after existing onesLukas Wirth2021-06-164-3/+24
|
* Start refactoring ide_completion testsLukas Wirth2021-06-169-247/+302
|
* 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
| |