Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unqualfied_path completions aren't responsible for pattern completions | Lukas Wirth | 2021-03-15 | 2 | -102/+102 |
| | |||||
* | some clippy::performance fixes | Matthias Krüger | 2021-03-15 | 1 | -1/+1 |
| | | | | | | | use vec![] instead of Vec::new() + push() avoid redundant clones use chars instead of &str for single char patterns in ends_with() and starts_with() allocate some Vecs with capacity to avoid unneccessary resizing | ||||
* | Unify naming | Aleksey Kladov | 2021-03-12 | 8 | -69/+61 |
| | |||||
* | use references in CompletionItem's builder | yonip23 | 2021-03-11 | 8 | -79/+86 |
| | |||||
* | Merge #7873 #7933 | bors[bot] | 2021-03-09 | 1 | -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 place | Kirill Bulatov | 2021-03-08 | 1 | -3/+8 |
| | | |||||
| * | 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 | 1 | -11/+23 |
| | | |||||
| * | Work towards better import labels | Kirill Bulatov | 2021-03-08 | 1 | -47/+54 |
| | | |||||
| * | 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 | 1 | -5/+60 |
| | | |||||
| * | Return more data about located imports | Kirill Bulatov | 2021-03-08 | 1 | -13/+10 |
| | | |||||
| * | 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 | 5 | -29/+19 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -2/+92 |
| | |||||
* | rename completion -> ide_completion | Aleksey Kladov | 2021-02-17 | 15 | -0/+6816 |
We don't have completion-related PRs in flight, so lets do it |