mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Show case-insensitive exact matches instead of fuzzy flyimport for short paths
This commit is contained in:
parent
c469f8abcb
commit
143a30aa51
6 changed files with 55 additions and 33 deletions
|
@ -195,7 +195,7 @@ pub fn resolve_completion_edits(
|
|||
let items_with_name = items_locator::items_with_name(
|
||||
&ctx.sema,
|
||||
current_crate,
|
||||
NameToImport::Exact(imported_name),
|
||||
NameToImport::exact_case_sensitive(imported_name),
|
||||
items_locator::AssocItemSearch::Include,
|
||||
Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT.inner()),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue