You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In auto importing completions we use the crate_symbols query which runs module_symbols queries which then query for bodies of body definitions for collecting items defined inside of them. This is done for world symbols lookup, but these inner items are irrelevant to auto importing completions as there is no path that can be used to refer to them (except for inner items declared inside of the body we are completing in).
We should separate this somehow.
The text was updated successfully, but these errors were encountered:
We apparently unconditionally parse files in module_symbols already for fetching the name ranges. That's also something we should try to avoid. Fixed in #14715
In auto importing completions we use the
crate_symbols
query which runsmodule_symbols
queries which then query for bodies of body definitions for collecting items defined inside of them. This is done for world symbols lookup, but these inner items are irrelevant to auto importing completions as there is no path that can be used to refer to them (except for inner items declared inside of the body we are completing in).We should separate this somehow.
The text was updated successfully, but these errors were encountered: