Skip to content

PSScriptAnalyzer problems don't refresh after changing the settings file #115988

@revolter

Description

@revolter
  • VSCode Version: 1.53.0
  • OS Version: macOS 11.2 (20D64)

Steps to Reproduce:

  1. Open a PowerShell script with at least one problem.
  2. Open the PSScriptAnalyzerSettings.psd1 file.
  3. Add the name of the rule that's causing the problem under the ExcludeRules key.
  4. Go back to the initial script.

Current behaviour:

The problem doesn't disappear.

Expected behaviour:

The problem should disappear.

Does this issue occur when all extensions are disabled?: Yes/No

Metadata

Metadata

Assignees

No one assigned

    Labels

    *caused-by-extensionIssue identified to be caused by an extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions