Skip to content

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

Closed
microsoft/vscode
#186528
@xixixao

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.

Metadata

Metadata

Assignees

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