Before submitting a bug report:
> Name Value
---- -----
PSVersion 5.1.17134.165
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.165
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
> Diret贸rio: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 1.17.1 PSScriptAnalyzer {Get-ScriptAnalyzerRule, Invoke-ScriptAnalyzer, Invoke-Formatter}
Diret贸rio: C:\Users\vpereira\.vscode\extensions\ms-vscode.powershell-1.8.2\modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 1.17.1 PSScriptAnalyzer {Get-ScriptAnalyzerRule, Invoke-ScriptAnalyzer, Invoke-Formatter}
cc @tylerl0706 This seems to be rather an integration issue of PSES? I haven't checked if I can repro yet.
I can semi repro this
however on opening the second file, also a ps1 file, and then adding GC C:\dell\ to the file there was a delay in ScriptAnalzyer picking this up by at around 5 seconds or so (not accurately timed)
@kilasuit Yes, I have tested like you said and indeed there is a big delay... for me it took a lot more than 10 seconds.
But on the settings.json file even waiting for a long time it doesn't changes:

This looks like a PowerShell extension issue. You might want to reopen this issue here.
Thanks! I will!
Most helpful comment
Thanks! I will!