PowerShell / PowerShell/vscode-powershell
PowerShell extension uses PSScriptAnalyzer settings file - Cannot update rules
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 1.9k
- 派生
- 548
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 描述和附加的日志开始,重点关注 PSScriptAnalyzer 设置文件错误。如果可以,使用所列出的 VS Code、扩展、Windows 和 PowerShell 版本重现报告的规则更新失败;完成的标准是找出并修复原因,使规则能够成功更新。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- vscode
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100