Skip to content

Completions Rework after Hierarchical Namespaces #1252

@sezna

Description

@sezna

As they're currently implemented, completions make a lot of assumptions. They only check the global scope for whether or not they need to add an open statement, and they take some short cuts with respect to re-triggering completion. Additionally, they don't actually query the resolver for what is in scope at a given point.

Completions will have to be generally re-worked after hierarchical namespaces go in. We will prefer import to open, and completions will have to understand that, e.g., Diagnostics is a sub-namespace of Quantum, which is a sub-namespace of Microsoft.

related: #493

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions