We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f572397 commit bef5cf0Copy full SHA for bef5cf0
crates/ra_ide/src/imports_locator.rs
@@ -35,14 +35,14 @@ impl<'a> ImportsLocatorIde<'a> {
35
let project_results = {
36
let mut query = Query::new(name_to_import.to_string());
37
query.exact();
38
- query.limit(10);
+ query.limit(40);
39
symbol_index::world_symbols(db, query)
40
};
41
let lib_results = {
42
43
query.libs();
44
45
46
47
48
@@ -59,6 +59,7 @@ impl<'a> ImportsLocatorIde<'a> {
59
})
60
.filter(|use_path| !use_path.segments.is_empty())
61
.unique()
62
+ .take(20)
63
.collect()
64
}
65
0 commit comments