Last active
September 18, 2018 21:26
-
-
Save bergmeister/eef64622c278b3c4c7f3876e0b92fc9b to your computer and use it in GitHub Desktop.
Install unofficial preview of PSReadline for VSCode (tested in Windows PowerShell 5.1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 | |
Invoke-Webrequest 'https://github.com/PowerShell/vscode-powershell/files/2377341/psvsix.zip' -OutFile 'out.zip'; | |
Add-Type -AssemblyName System.IO.Compression.FileSystem; | |
[IO.Compression.ZipFile]::ExtractToDirectory("$($pwd.path)\out.zip", $pwd.path); | |
code --install-extension ./PowerShell-v2-extremely-alpha.vsix; # works also with code-insiders | |
Remove-Item ./PowerShell-v2-extremely-alpha.vsix; | |
Remove-Item ./out.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment