Issue Description
I am experiencing a problem with PSScriptAnlyzer extension setting path. I wrote couple of custom PS script analyzer rules which I am trying to invoke from VSCode. But it does not seems to work after I upgraded to 1.30. It was working fine with the previous version.
ScriptAnalyzer default rules itself not working when I overwrite PS Script Analyzer setting path,
"powershell.scriptAnalysis.settingsPath": "\\foo\bar.psd1"
I have the below values in the settings file.
@{
CustomRulePath = "CustomRules.psm1"
IncludeDefaultRules = $true
}
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
| Name |
Version |
| Operating System |
Windows_NT x64 10.0.17134 |
| VSCode |
1.30.0 |
| PowerShell Extension Version |
1.10.1 |
PowerShell Information
| Name |
Value |
| PSVersion |
5.1.17134.407 |
| PSEdition |
Desktop |
| PSCompatibleVersions |
1.0 2.0 3.0 4.0 5.0 5.1.17134.407 |
| BuildVersion |
10.0.17134.407 |
| CLRVersion |
4.0.30319.42000 |
| WSManStackVersion |
3.0 |
| PSRemotingProtocolVersion |
2.3 |
| SerializationVersion |
1.1.0.1 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
| Extension |
Author |
Version |
| csharp |
ms-vscode |
1.17.1 |
| json-schema-validator |
tberman |
0.1.0 |
| material-icon-theme |
PKief |
3.6.1 |
| material-palenight-theme |
whizkydee |
1.9.4 |
| Material-theme |
zhuangtongfa |
2.18.1 |
| PowerShell |
ms-vscode |
1.10.1 |
| team |
ms-vsts |
1.144.1 |
| Theme-FlatlandMonokai |
gerane |
0.0.4 |
| theme-onedark |
azemoh |
0.5.2 |
| Theme-TomorrowKit |
ms-vscode |
0.1.4 |
| vscode-icons |
robertohuertasm |
8.0.0 |
| vscode-pull-request-github |
GitHub |
0.3.2 |
| vscode-theme-darcula |
rokoroku |
1.1.3 |
| vscode-theme-onedark |
akamud |
2.1.0 |
| vsliveshare |
ms-vsliveshare |
0.3.1071 |
Issue Description
I am experiencing a problem with PSScriptAnlyzer extension setting path. I wrote couple of custom PS script analyzer rules which I am trying to invoke from VSCode. But it does not seems to work after I upgraded to 1.30. It was working fine with the previous version.
ScriptAnalyzer default rules itself not working when I overwrite PS Script Analyzer setting path,
"powershell.scriptAnalysis.settingsPath": "\\foo\bar.psd1"I have the below values in the settings file.
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)