須要安裝插件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