aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/completions
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #7873 #7933bors[bot]2021-03-091-48/+222
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7873: Consider unresolved qualifiers during flyimport r=matklad a=SomeoneToIgnore Closes https://github.com/rust-analyzer/rust-analyzer/issues/7679 Takes unresolved qualifiers into account, providing better completions (or none, if the path is resolved or do not match). Does not handle cases when both path qualifier and some trait has to be imported: there are many extra issues with those (such as overlapping imports, for instance) that will require large diffs to address. Also does not do a fuzzy search on qualifier, that requires some adjustments in `import_map` for better queries and changes to the default replace range which also seems relatively big to include here. ![qualifier_completion](https://user-images.githubusercontent.com/2690773/110040808-0af8dc00-7d4c-11eb-83db-65af94e843bb.gif) 7933: Improve compilation speed r=matklad a=matklad bors r+ 🤖 Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * Less lifetines: derive SemanticsScope in placeKirill Bulatov2021-03-081-3/+8
| |
| * Restrict fuzzy qualifiers for nowKirill Bulatov2021-03-081-4/+3
| |
| * Test for fuzzy unresolved path maatchKirill Bulatov2021-03-081-0/+22
| |
| * Fix the completion labels and testsKirill Bulatov2021-03-081-11/+23
| |
| * Work towards better import labelsKirill Bulatov2021-03-081-47/+54
| |
| * Update the docsKirill Bulatov2021-03-081-0/+39
| |
| * SimplifyKirill Bulatov2021-03-081-25/+18
| |
| * Refactor the import locationKirill Bulatov2021-03-081-60/+5
| |
| * Do not propose already imported importsKirill Bulatov2021-03-081-16/+7
| |
| * Properly handle turbofishes in qualifiersKirill Bulatov2021-03-081-1/+1
| |
| * Fix some testsKirill Bulatov2021-03-081-5/+60
| |
| * Return more data about located importsKirill Bulatov2021-03-081-13/+10
| |
| * Draft the qualifier import resolutionKirill Bulatov2021-03-081-3/+81
| |
| * Test and initial refactoringKirill Bulatov2021-03-081-3/+34
| |
* | Fix formatDuong Do Minh Chau2021-03-091-9/+2
| |
* | Add trailing commasDuong Do Minh Chau2021-03-091-2/+2
| |
* | Update the test to match the changeDuong Do Minh Chau2021-03-091-0/+4
| |
* | Add completion to turn x.err into Err(x)Duong Do Minh Chau2021-03-091-2/+19
|/
* Use upstream cov-markLaurențiu Nicola2021-03-085-29/+19
|
* Complete `while let`Lukas Wirth2021-03-032-9/+11
|
* Don't complete `super` unless its valid in pathsLukas Wirth2021-03-033-23/+34
|
* Add testJonas Schievink2021-02-231-0/+28
|
* feat(completion): add doc(hidden) completion for attributesBenjamin Coenen2021-02-201-0/+3
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Consider import prefix config settings during flyimportsKirill Bulatov2021-02-201-2/+92
|
* rename completion -> ide_completionAleksey Kladov2021-02-1715-0/+6816
We don't have completion-related PRs in flight, so lets do it