Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell PSScript Analyzer在我的Visual Studio代码中不工作_Powershell_Visual Studio Code_Psscriptanalyzer - Fatal编程技术网

Powershell PSScript Analyzer在我的Visual Studio代码中不工作

Powershell PSScript Analyzer在我的Visual Studio代码中不工作,powershell,visual-studio-code,psscriptanalyzer,Powershell,Visual Studio Code,Psscriptanalyzer,我在设置中启用了它(脚本分析:启用) 我有ScriptAnalyzerSettings.psd1的设置路径集 我可以在PowerShell中调用Get-ScriptAnalyzer规则或调用ScriptAnalyzer 集成控制台,它可以工作(并根据规则显示警告/错误) 另一方面,在“F1+PowerShell:Select PSScript Analyzer Rules”之后,什么也不会发生。 当然,代码中没有突出显示

我在设置中启用了它(脚本分析:启用)

我有ScriptAnalyzerSettings.psd1的设置路径集

我可以在PowerShell中调用Get-ScriptAnalyzer规则或调用ScriptAnalyzer 集成控制台,它可以工作(并根据规则显示警告/错误)

另一方面,在“F1+PowerShell:Select PSScript Analyzer Rules”之后,什么也不会发生。 当然,代码中没有突出显示