Skip to content

VSCode does not provide suggestions/auto-complete for NPM package installed as a dependency of another #55594

Closed as not planned
@paul-uz

Description

@paul-uz

I have my own "SDK" package which has a dependency of a popular ORM package.

I can installed my SDK package in a project, and I can import the ORM package and use it, however, autocomplete, and suggestions when i write a method belonging to the ORM hasn't yet been imported, simply do not work, unless I add the ORM package explicitly to my projects package.json, which seems a bit redundant?

Is there anything I can add to my project package.json file to get it working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions