Skip to content

Cannot exclulde 'console' via autoImportFileExcludePatterns in VS Code #54765

Description

@xixixao

Bug Report

🔎 Search Terms

autoImportFileExcludePatterns, console

🕗 Version & Regression Information

At least in 1.79.2

  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about autoImportFileExcludePatterns

⏯ Playground Link

N/A this is a VS Code issue

💻 Code

log

🙁 Actual behavior

When you type log VS Code suggests to import log from console despite it being blocklisted in autoImportFileExcludePatterns. See #54135 (comment)

🙂 Expected behavior

The import is not suggested.

Activity

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

Metadata

Metadata

Labels

DocsThe issue relates to how you learn TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions