Skip to content

Allow importing types from packages without entry point. #47042

@ashlinchak

Description

@ashlinchak

It seems right now if a package doesn't have an entry point, auto import will not suggest exported entity:

no-auto-import-suggestion

Reproducible example: https://github.com/ashlinchak/vscode-autoimport-issue.
In the reproducible example, @company/common and @company/shared have Foo exported type, but only last one has entry point and will be shown in suggestions.

Would be nice to have possibilities to automatically import entities from packages which don't have entry points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions