PowerShell / PowerShell/vscode-powershell
PowerShell extension uses PSScriptAnalyzer settings file - Cannot update rules
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
I had this error when doing: <ctrl>+<shift>+P, PSScript...

After Uninstall and reinstall the Powershell extension ( version 1.3.2, the same as it was before), there's another issue:

System Details
- Operating system name and version: Windows 10.0.14393
- VS Code version: 1.13.1
- PowerShell extension version: 1.3.2
- Output from
$PSVersionTable:
Name Value
PSVersion 5.1.14393.0
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.0
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
PS C:\scripts> code -v
1.13.1
379d2efb5539b09112c793d3d9a413017d736f89
PS C:\scripts> $pseditor.EditorServicesVersion
Major Minor Build Revision
----- ----- ----- --------
1 3 2 0
PS C:\scripts> code --list-extensions --show-versions
ms-mssql.mssql@1.0.0
ms-vscode.PowerShell@1.3.2
Issue Description
I am experiencing a problem with PSScriptAnalyzer: cannot update the rules
Attached Logs
1497967294-c7966750-26b9-4c1a-88bf-382515625aa61497967292400.zip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue description and the attached logs, focusing on the PSScriptAnalyzer settings-file errors. Reproduce the reported rule-update failure with the listed VS Code, extension, Windows, and PowerShell versions if available; done means identifying and fixing the cause so the rules can be updated successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100