Skip to content

auto import build-in node module with protocol prefix #55051

Open
@danielwerg

Description

Currently vscode will auto import build-in node module without node: prefix unless there is already another import with prefix.

Example:

No imports or one or more imports without node: prefix:

2023-07-16_05-58-56

One or more import with node: prefix:

2023-07-16_05-59-14

I would like to have a setting to force node: prefix.

Related:

eslint-community/eslint-plugin-n#77
import-js/eslint-plugin-import#2717

Workarounds:

Metadata

Assignees

No one assigned

    Labels

    Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureDomain: Auto-importSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions