Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge #7873 #7933 | bors[bot] | 2021-03-09 | 4 | -92/+268 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 place | Kirill Bulatov | 2021-03-08 | 2 | -4/+9 | |
| | | ||||||
| * | Rebase leftovers | Kirill Bulatov | 2021-03-08 | 1 | -5/+2 | |
| | | ||||||
| * | Cleanup | Kirill Bulatov | 2021-03-08 | 1 | -6/+0 | |
| | | ||||||
| * | Restrict fuzzy qualifiers for now | Kirill Bulatov | 2021-03-08 | 1 | -4/+3 | |
| | | ||||||
| * | Test for fuzzy unresolved path maatch | Kirill Bulatov | 2021-03-08 | 1 | -0/+22 | |
| | | ||||||
| * | Fix the completion labels and tests | Kirill Bulatov | 2021-03-08 | 3 | -34/+48 | |
| | | ||||||
| * | Work towards better import labels | Kirill Bulatov | 2021-03-08 | 4 | -83/+92 | |
| | | ||||||
| * | Update the docs | Kirill Bulatov | 2021-03-08 | 1 | -0/+39 | |
| | | ||||||
| * | Simplify | Kirill Bulatov | 2021-03-08 | 1 | -25/+18 | |
| | | ||||||
| * | Refactor the import location | Kirill Bulatov | 2021-03-08 | 1 | -60/+5 | |
| | | ||||||
| * | Do not propose already imported imports | Kirill Bulatov | 2021-03-08 | 1 | -16/+7 | |
| | | ||||||
| * | Properly handle turbofishes in qualifiers | Kirill Bulatov | 2021-03-08 | 1 | -1/+1 | |
| | | ||||||
| * | Fix some tests | Kirill Bulatov | 2021-03-08 | 2 | -7/+65 | |
| | | ||||||
| * | Return more data about located imports | Kirill Bulatov | 2021-03-08 | 4 | -36/+37 | |
| | | ||||||
| * | Draft the qualifier import resolution | Kirill Bulatov | 2021-03-08 | 1 | -3/+81 | |
| | | ||||||
| * | Test and initial refactoring | Kirill Bulatov | 2021-03-08 | 1 | -3/+34 | |
| | | ||||||
* | | Fix format | Duong Do Minh Chau | 2021-03-09 | 1 | -9/+2 | |
| | | ||||||
* | | Add trailing commas | Duong Do Minh Chau | 2021-03-09 | 1 | -2/+2 | |
| | | ||||||
* | | Update the test to match the change | Duong Do Minh Chau | 2021-03-09 | 1 | -0/+4 | |
| | | ||||||
* | | Add completion to turn x.err into Err(x) | Duong Do Minh Chau | 2021-03-09 | 1 | -2/+19 | |
|/ | ||||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 11 | -63/+41 | |
| | ||||||
* | Make group imports configurable | asv | 2021-03-07 | 3 | -9/+7 | |
| | ||||||
* | Complete `while let` | Lukas Wirth | 2021-03-03 | 2 | -9/+11 | |
| | ||||||
* | Don't complete `super` unless its valid in paths | Lukas Wirth | 2021-03-03 | 3 | -23/+34 | |
| | ||||||
* | Format generated features manually instead of relying on rustfmt | Laurențiu Nicola | 2021-02-27 | 1 | -2/+6377 | |
| | ||||||
* | Add test | Jonas Schievink | 2021-02-23 | 1 | -0/+28 | |
| | ||||||
* | feat(completion): add doc(hidden) completion for attributes | Benjamin Coenen | 2021-02-20 | 1 | -0/+3 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Consider import prefix config settings during flyimports | Kirill Bulatov | 2021-02-20 | 2 | -3/+93 | |
| | ||||||
* | rename completion -> ide_completion | Aleksey Kladov | 2021-02-17 | 31 | -0/+10723 | |
We don't have completion-related PRs in flight, so lets do it |