Skip to content

Top level packages are not included in code completions #13623

Closed
@prolativ

Description

@prolativ

Compiler version

3.1.0-RC2

Minimized code

In a REPL session:

import annot

and press TAB (or invoke code completion in IDE)

Output

No completions are suggested

Expectation

Names of top level packages should be included in completions. In the particular case above the code should expand to

import annotation

The problem is not specific to predef or stdlib and also occurs for packages containing code defined by users

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions