visual studio code 执行 sp1 文件

须要安装插件PowerShellgit

 

如提示 Unsupported PowerShell version 2.0, language features are disabled  (不支持的PowerShell版本2.0,语言功能被禁用)github

 解决以下shell

Git Clone代码到本地插件

git clone http://www.github.com/PowerShell/vscode-powershellcode

 

另外,有可能执行 .sp1 文件时,有提示 在此系统中禁止执行脚本  ,解决方法it

在powershell中执行 set-ExecutionPolicy RemoteSignedio

相关文章
相关标签/搜索