close
Skip to content

autoImportSpecifierExcludeRegexes needs a window refresh for changes to take effect #60082

@188599

Description

@188599

🔎 Search Terms

autoImportSpecifierExcludeRegexes

🕗 Version & Regression Information

  • This changed between versions ______ and _______
  • This changed in commit or PR _______
  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
  • I was unable to test this on prior versions because _______

⏯ Playground Link

No response

💻 Code

.vscode/settings.json

{
  "<language>.preferences.autoImportSpecifierExcludeRegexes": ["<regex>"]
}

🙁 Actual behavior

Changes only take effect after a window reload.

🙂 Expected behavior

Changes to take effect immediately, same way that autoImportFileExcludePatterns does.

Additional information about the issue

I mentioned this earlier on another issue (#35395 (comment)) and I initially thought that the update I got fixed the problem, turns out it was just because that forced the window to refresh, as I later encountered the same problem once I tried adding new regexes to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs InvestigationThis issue needs a team member to investigate its status.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions