Skip to content

Auto-importing completions query unrelated bodies #14677

Closed
@Veykril

Description

@Veykril

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions