diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-29 12:19:31 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-29 12:19:31 +0000 |
commit | ef1177c5b5a7ced9866025a51c10e4375e2a37fd (patch) | |
tree | 347f2a22132be0106d4703526288665b6d33a136 /editors/code/tests | |
parent | 7b246a6a14a8170f99dd5992f7d9dd4347722a69 (diff) | |
parent | 77b4a1c5ef594ddd78c77dd8bb05fba14b99cc9f (diff) |
Merge #7064
7064: Ignore qualifiers when doing autoimport completions lookup r=lnicola a=SomeoneToIgnore
A follow-up of https://github.com/rust-analyzer/rust-analyzer/pull/6918#issuecomment-748511151 and the PR itself.
Tweaks the `import_map` query api to be more flexible with the ways to match against the import path and now fuzzy imports search in names only.
This had improved the completion speed for me locally in ~5 times for `fuzzy_completion` span time, but please recheck me here.
IMO we're fast and presice enough now, so I've added the modules back to the fuzzy search output.
Also tweaks the the expect tests to display functions explicitly, to avoid confusing "duplicate" results.
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'editors/code/tests')
0 files changed, 0 insertions, 0 deletions