Open
Description
Issue Description
Whenever I try to format code, either from the context menu or via Ctrl-K Ctrl-F, the extension crashes, even on a file only containing "Import-Module ActiveDirectory". The log contains an entry "Exception: PSScriptAnalyzer cannot be imported, AnalysisService will be disabled", should I be installing that or is it expected to be installed by the extension?
Attached Logs
EditorServices.log
vscode-powershell.log
Environment Information
Visual Studio Code
Name | Version |
---|---|
Operating System | Windows_NT x64 6.3.9600 |
VSCode | 1.35.1 |
PowerShell Extension Version | 2019.5.0 |
PowerShell Information
Name | Value |
---|---|
PSVersion | 4.0 |
WSManStackVersion | 3.0 |
SerializationVersion | 1.1.0.1 |
CLRVersion | 4.0.30319.42000 |
BuildVersion | 6.3.9600.19170 |
PSCompatibleVersions | 1.0 2.0 3.0 4.0 |
PSRemotingProtocolVersion | 2.2 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
Extension | Author | Version |
---|---|---|
gitlens | eamodio | 9.8.2 |
powershell | ms-vscode | 2019.5.0 |