Skip to content

Settings to prefer local import over external import v2 #56676

Open

Description

Ideally I would have just reopened microsoft/vscode#166924, but I'm restating it here:

image

The auto import in vscode right now seems to prefer the external module over my local one with the same name. i would like to have a settings where we can configure this behaviour

In response, @mjbvz asked

Is this only for quick fixes, or also for auto imports added by IntelliSense?

I can't speak for the original issue author, but from my point of view: Both, but if possible.

Otherwise I'll take what I can get. E.g., just being able to blacklist some imports from ever being suggested would be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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