Releases: PowerShell/vscode-powershell
v1.12.0
Friday, March 29, 2019
Highlights
- Support for PSScriptAnalyzer 1.18 📝
- The ability to debug any runspace in any process 🔎
- Enable attach to process on Linux and macOS 🔎
There are a lot more goodies in this version. Checkout the changelog below!
vscode-powershell
- vscode-PowerShell #1736 -
Enable attach to process on Linux and macOS - vscode-PowerShell #1729 -
Handle Pester Describe block strings with single quotes inside it (Thanks @bergmeister!) - vscode-PowerShell #1743 -
Fix right-click help lookup not always working (Thanks @corbob!) - vscode-PowerShell #1746 -
Add label property to debug config, change pkg name to lowercase (Thanks @rkeithhill!) - vscode-PowerShell #1747 -
ModifypowerShellDefaultVersion
description to make clearer (Thanks @rkeithhill!) - vscode-PowerShell #1755 -
Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) - vscode-PowerShell #1773 -
Change debugger type field back toPowerShell
frompowershell
(Thanks @rkeithhill!) - vscode-PowerShell #1757 -
Match Install-VSCode.ps1 script url with the one from master branch (Thanks @rafaltra!) - vscode-PowerShell #1774 -
Switch toEncodedCommand
for script execution - vscode-PowerShell #1764 -
Added Pester, ShouldProcess and Calculated Property PS Snippets (Thanks @brettmillerb!) - vscode-PowerShell #1776 -
Migrate Pester version detection into an InovkePester stub script (Thanks @rkeithhill!) - vscode-PowerShell #1781 -
Fix initial launch config casing - vscode-PowerShell #1775 -
Support-CustomPipeName
, allowing configuration of custom namedpipes for LSP transport - vscode-PowerShell #1787 -
Added SQL PowerShell Examples (Thanks @SQLvariant!) - vscode-PowerShell #1782 -
Add Debug Runspace command (Thanks @adamdriscoll!) - vscode-PowerShell #1800 -
Include current runspace and runspace ID 1 in the PSHostProcess picker dialog - vscode-PowerShell #1687 -
Add newpowershell.useCorrectCasingsettings
for new rule in PSSA 1.18: PSUseCorrectCasing (Thanks @bergmeister!) - vscode-PowerShell #1668 -
Add newpowershell.codeFormatting
settings for new options in PSSA 1.18: WhitespaceInsideBrace and WhitespaceAroundPipe (Thanks @bergmeister!) - vscode-PowerShell #1669 -
Add newpowershell.codeFormatting
settings for new options in PSSA 1.18: PipelineIndentationStyle (Thanks @bergmeister!) - vscode-PowerShell #1738 -
Set CommandExplorer exclusion filter to be empty array by default (Thanks @adilio!) - vscode-PowerShell #1686 -
Add an exclusion filter to the Command Explorer (Thanks @corbob!) - vscode-PowerShell #1816 -
Workaround PSSA #1187 by defaulting to NoIndentation
PowerShellEditorServices
- PowerShellEditorServices #895 -
Add warning to parameter validation set (Thanks @Benny1007!) - PowerShellEditorServices #896 -
Clean up and pop dead runspaces when using 'attach' debugging - PowerShellEditorServices #888 -
Add new ParseError level to ScriptFileMarkerLevel and filter out PSSA parse errors - PowerShellEditorServices #866 -
Catch NotSupportedException which can be thrown by FileStream constructor (Thanks @rkeithhill!) - PowerShellEditorServices #868 -
Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) - PowerShellEditorServices #869 -
AddedAsNewFile
switch to Out-CurrentFile (Thanks @dfinke!) - PowerShellEditorServices #873 -
Return the start line number for Describe block (Thanks @rkeithhill!) - PowerShellEditorServices #876 -
Temporarily disable deemphasized stack frames to fix VSCode issue 1750 (Thanks @rkeithhill!) - PowerShellEditorServices #871 -
Support -CustomPipeName, allowing configuration of custom namedpipes for LSP transport - PowerShellEditorServices #872 -
Fix unable to open files in problems/peek windows issue (Thanks @rkeithhill!) - PowerShellEditorServices #875 -
Add attach to local runspace. (Thanks @adamdriscoll!) - PowerShellEditorServices #881 -
UseNamedPipeConnectionInfo
to connect to remote runspaces instead of Enter-PSHostProcess - PowerShellEditorServices #845 -
Enable UseCorrectCasing as a default rule (Thanks @bergmeister!) - PowerShellEditorServices #835 -
Map newpowershell.codeformatting
settings WhitespaceInsideBrace and WhitespaceAroundPipe to PSSA settings hashtable (Thanks @bergmeister!) - PowerShellEditorServices #836 -
Add PipelineIndentationStyle configuration mapping (Thanks @bergmeister!) - PowerShellEditorServices #887 -
Cherry pick PR 1750 merge commit to legacy/v1.x, has additional fixes (Thanks @rkeithhill!) - PowerShellEditorServices #862 -
Handle arbitrary exceptions when recursing workspace
v2.0.0-preview.1
v2.0.0-preview.1
Wednesday, January 23, 2019
Preview builds of the PowerShell extension are now available in VSCode
We are excited to announce the PowerShell Preview extension in the VSCode marketplace!
The PowerShell Preview extension allows users on Windows PowerShell 5.1 and PowerShell Core 6 to get and test the latest updates
to the PowerShell extension and comes with some exciting features.
The PowerShell Preview extension is a substitute for the PowerShell extension so
both the PowerShell extension and the PowerShell Preview extension should not be enabled at the same time.
By having a preview channel, in addition to our existing stable channel, we can get new features out faster and get feedback faster from you, the users.
How to Get/Use the PowerShell Preview extension
If you dont already have VSCode, start here.
Once you have VSCode open, click Clt+Shift+X
to open the extensions marketplace.
Next, type PowerShell Preview
in the search bar.
Click Install
on the PowerShell Preview
page.
Finally, click Reload
in order to refresh VSCode.
If you already have the PowerShell extension, please disable it to use the Powershell Preview extension.
To disable the PowerShell extension, find it in the Extensions sidebar view, specifically under the list of Enabled extensions,
Right-click on the PowerShell extension and select Disable
.
Please note that it is important to only have either the PowerShell extension or the PowerShell Preview extension enabled at one time.
What the first preview contains
The v2.0.0-preview.1 version of the extension is built on .NET Standard
(enabling support for both Windows PowerShell and PowerShell Core from one assembly)
It also contains PSReadLine support in the integrated console for Windows behind a feature flag.
PSReadLine provides a consistent and rich interactive experience,
including syntax coloring and multi-line editing and history, in the PowerShell console, in Cloud Shell,
and now in VSCode terminal. For more information on the benefits of PSReadLine,
check out their documentation.
To enable PSReadLine support in the Preview version on Windows, please add the following to your user settings:
"powershell.developer.featureFlags": [ "PSReadLine" ]
HUGE thanks to @SeeminglyScience for all his amazing work getting PSReadLine working in PowerShell Editor Services!
Breaking Changes
As stated above, this version of the PowerShell extension only works with Windows PowerShell versions 5.1 and PowerShell Core 6.
vscode-powershell
- vscode-PowerShell #1587 -
Removed ShowOnlineHelp Command (Thanks @corbob!)
PowerShellEditorServices
- PowerShellEditorServices #792 -
Add Async suffix to async methods (Thanks @dee-see!) - PowerShellEditorServices #775 -
Removed ShowOnlineHelp Message (Thanks @corbob!) - PowerShellEditorServices #769 -
Set Runspaces to use STA when running in Windows PowerShell - PowerShellEditorServices #741 -
Migrate to netstandard2.0 and PSStandard - PowerShellEditorServices #672 -
PSReadLine integration (Thanks @SeeminglyScience!)
v1.11.0
v1.11.0
Wednesday, January 23, 2019
vscode-powershell
- vscode-PowerShell #1714 -
Do not run pester tests when user cancels questions using the x button (Thanks @bergmeister!) - vscode-PowerShell #1701 -
Interpret null Describe TestName to mean value can't be eval'd (Thanks @rkeithhill!) - vscode-PowerShell #1698 -
Add 'Run/Debug Pester tests' command and file tab menu (Thanks @bergmeister!) - vscode-PowerShell #1697 -
Remove Region Block snippet (Thanks @fullenw1!) - vscode-PowerShell #1690 -
Refresh CommandExplorer on visible - vscode-PowerShell #1688 -
Fix spacing of package.json after running Invoke-Build to not end up with local changes (Thanks @bergmeister!) - vscode-PowerShell #1638 -
Add icons and enable setting for Command Explorer (Thanks @corbob!) - vscode-PowerShell #1679 -
Update broken links in README (Thanks @josh-!) - vscode-PowerShell #1670 -
Update recommended NodeJS version to 8.x since 6.x will go out of support in April 2019 (Thanks @bergmeister!)
PowerShellEditorServices
- PowerShellEditorServices #851 -
Fix #827 Pester TestName w/expandable str returns nothing (Thanks @rkeithhill!) - PowerShellEditorServices #842 -
Fix typos (Thanks @alexandair!) - PowerShellEditorServices #838 -
Fix NullRefEx bug when accessing scriptFile.ReferencedFiles (Thanks @rkeithhill!) - PowerShellEditorServices #839 -
Fix FileNotFoundEx crash when Fold happens on untitled: scheme doc (Thanks @rkeithhill!) - PowerShellEditorServices #843 -
Simplify the parameter descriptions and fix typos (Thanks @alexandair!) - PowerShellEditorServices #844 -
Fix an empty verbose message when importing an editor command (Thanks @alexandair!) - PowerShellEditorServices #828 -
Compile against net452 because net451 is not supported any more (Thanks @bergmeister!) - PowerShellEditorServices #848 -
switch an instance of GetFile to TryGetFile to fix #1689 - PowerShellEditorServices #846 -
Workaround "attach to process" hang - PowerShellEditorServices #829 -
Update various NuGet packages (Thanks @bergmeister!) - PowerShellEditorServices #825 -
(GH-824)(GH-812) Improve code folding speed (Thanks @glennsarti!) - PowerShellEditorServices #850 -
Fix VSCODE 1683 - HelpCommentReqHdlr crash on GetFile (Thanks @rkeithhill!) - PowerShellEditorServices #837 -
(maint) Add traits for folding tests (Thanks @glennsarti!)
v1.10.2
v1.10.2
Tuesday, December 18, 2018
vscode-PowerShell
- vscode-PowerShell #1632 -
Started a document for ISE-like configuration of VSCode.
Please help us build it out by contirbuting an edit.
PowerShellEditorServices
- PowerShellEditorServices #811 -
Fix token-based folding (thanks @glennsarti!) - PowerShellEditorServices #823 -
Fix case-sensitivity of Pester CodeLens (thanks @bergmeister!) - PowerShellEditorServices #815 -
Fix crash when untitled files opened as PowerShell - PowerShellEditorServices #826 -
Fix crash when duplicate references are present in the same file
v1.10.1
v1.10.1
Friday, December 7, 2018
PowerShellEditorServices
- PowerShellEditorServices #808 -
Fix startup crash on Windows 7 - PowerShellEditorServices #807 -
Fix deadlock occurring while connecting to named pipes
v1.10.0
v1.10.0
Monday, December 3, 2018
vscode-powershell
- vscode-PowerShell #1610 -
Remove client-side syntax folding provider in favor of server-side provider (thanks @glennsarti!) - vscode-PowerShell #1616 -
MakeRestart Current Session
always available in the session quick pick - vscode-PowerShell #1406 -
Add a Show-Command explorer (thanks @corbob!) - vscode-PowerShell #1615 -
Fix Pester CodeLens not working for running/debugging tests (thanks @rkeithhill!) - vscode-PowerShell #1600 -
Add CodeAction support to show PSSA rule documentation (thanks @rkeithhill!) - vscode-PowerShell #1606 -
Add Ctrl+Alt+J (Cmd+Alt+J on macOS)
keybinding to open up list of available snippets - vscode-PowerShell #1597 -
MakeInstall-VSCode.ps1
work on macOS and Linux. Get the script here - vscode-PowerShell #1580 -
New-EditorFile
works on non-PowerShell untitled files - vscode-PowerShell #1557 -
Default to showing the last line in folded regions. Unset with"powershell.codeFolding.showLastLine": false
(thanks @glennsarti!) - vscode-PowerShell #1567 -
New snippet: Exchange Online connection (thanks @vmsilvamolina!) - vscode-PowerShell #1567 -
New snippet: HTML header (thanks @vmsilvamolina!) - vscode-PowerShell #1555 -
Log when language client not loaded during initialization (thanks @corbob!) - vscode-PowerShell #1554 -
Fix spacing in parameters when starting the extension (thanks @rkeithhill!)
PowerShellEditorServices
- PowerShellEditorServices #786 -
Fix #17: Add go to definition support for dot sourced file paths (Thanks @dee-see!) - PowerShellEditorServices #767 -
Change unhandled messages to warnings instead of errors - PowerShellEditorServices #765 -
Fix PowerShell wildcard escaping in debug paths - PowerShellEditorServices #778 -
Fix multiple occurrences of the same typo (Thanks @dee-see!) - PowerShellEditorServices #782 -
Fix #779: NRE on Dispose in ExecutionTimer (Thanks @dee-see!) - PowerShellEditorServices #772 -
Log build info - PowerShellEditorServices #774 -
New-EditorFile works on non-powershell untitled files - PowerShellEditorServices #787 -
Fix descion/decision typo in visitors (Thanks @dee-see!) - PowerShellEditorServices #784 -
Replace bad StringReader usage with String.Split() - PowerShellEditorServices #768 -
Make pipeline runtime exceptions warnings in log - PowerShellEditorServices #790 -
Add managed thread id to log output to add debugging threading issues (Thanks @rkeithhill!) - PowerShellEditorServices #794 -
Fix Pester CodeLens run/debug by not quoting params/already quoted args (Thanks @rkeithhill!) - PowerShellEditorServices #785 -
Adds ability to use separate pipes for reading and writing (Thanks @ant-druha!) - PowerShellEditorServices #796 -
Code cleanup of the start script and ESHost.cs file (Thanks @rkeithhill!) - PowerShellEditorServices #795 -
Fix file recursion overflow problems - PowerShellEditorServices #697 -
Add functionality to allow a Show-Command like panel in VS Code (Thanks @corbob!) - PowerShellEditorServices #777 -
Add syntax folding (Thanks @glennsarti!) - PowerShellEditorServices #801 -
Fix local remoting - PowerShellEditorServices #797 -
Start of a PSES log file analyzer (Thanks @rkeithhill!) - PowerShellEditorServices #789 -
Add support for a "Show Documentation" quick fix menu entry (Thanks @rkeithhill!) - PowerShellEditorServices #760 -
Fix exception when remoting from Windows to non-Windows (Thanks @SeeminglyScience!)
v1.9.0
v1.9.0
Thursday, September 27, 2018
vscode-powershell
- vscode-PowerShell #1548 -
Explicitly returnundefined
from resolveDbgConfig when session not started (Thanks @rkeithhill!) - vscode-PowerShell #1516 -
Change "Get Online Help" menu item label to "Get Help" (Thanks @corbob!) - vscode-PowerShell #1525 -
Remove duplicate/overlapping folding regions (Thanks @glennsarti!)
PowerShellEditorServices
- PowerShellEditorServices #750 -
Fix issue where # in path causes the path to resolve incorrectly - PowerShellEditorServices #721 -
Change Get-Help behavior to return local help when online help can't be displayed (Thanks @corbob!) - PowerShellEditorServices #748 -
Fix index out-of-range exception when deleting script files - PowerShellEditorServices #749 -
Fix crash for finding symbols on bad paths - PowerShellEditorServices #740 -
Fix inner help completion - PowerShellEditorServices #736 -
Cache the reflection call done for completions - PowerShellEditorServices #737 -
Remove LINQ usage in language service methods - PowerShellEditorServices #743 -
Remove unnecessary LINQ calls from LanguageServer
v1.8.4
v1.8.4
Friday, August 31, 2018
vscode-powershell
- vscode-PowerShell #1489 -
Use asynchronous logic for help completions - vscode-PowerShell #1477 -
Add BitsTransfer & user switch to install latest user profile insiders edition with Install-VSCode.ps1 script (Thanks @tabs-not-spaces!) - vscode-PowerShell #1485 -
Increase connection timeout
PowerShellEditorServices
- PowerShellEditorServices #728 -
Fix formatter crash when script contains parse errors - PowerShellEditorServices #730 -
Fix crash where lines appended to end of script file causes out of bounds exception - PowerShellEditorServices #732 -
Fix CodeLens crash when a file cannot be opened, stop unnecessary file reads in CodeLens - PowerShellEditorServices #729 -
Fix a null dereference when an invalid cast exception has no inner exception - PowerShellEditorServices #719 -
Reduce allocations in the CodeLens providers - PowerShellEditorServices #725 -
Fix null dereference when debugging untitlted filesj - PowerShellEditorServices #726 -
Fix comment-based help snippet
v1.8.3
v1.8.3
Wednesday, August 15, 2018
vscode-powershell
- PowerShell/vscode-powershell #1480 -
Use PowerShell signing script in VSTS builds - PowerShell/vscode-powershell #1460 -
Use newer version for preleases - PowerShell/vscode-powershell #1475 -
Change resourceLangId to editorLangId so right-click works properly with unsaved files (Thanks @corbob!) - PowerShell/vscode-powershell #1467 -
Remove region folding from non-region areas (Thanks @glennsarti!)
PowerShellEditorServices
- PowerShell/PowerShellEditorServices #722 -
Add VSTS signing step - PowerShell/PowerShellEditorServices #717 -
Increment version for prerelease - PowerShell/PowerShellEditorServices #715 -
Reduce allocations when parsing files (Thanks @mattpwhite!)
v1.8.2
Thursday, July 26, 2018
vscode-powershell
- PowerShell/vscode-powershell #1438 -
(GH-1437) Fix detecting contiguous comment blocks and regions (#1438) (Thanks @glennsarti!) - PowerShell/vscode-powershell #1436 -
First approach to fix issue with dbg/run start before PSES running (#1436) (Thanks @rkeithhill!)
PowerShellEditorServices
- PowerShell/PowerShellEditorServices #712 -
workaround to support inmemory:// (#712) - PowerShell/PowerShellEditorServices #706 -
Go To Definition works with different Ast types (#706) - PowerShell/PowerShellEditorServices #707 -
fix stdio passing (#707) - PowerShell/PowerShellEditorServices #709 -
Stop Diagnostic logging from logging to stdio when the communication protocol is set to stdio (#709) - PowerShell/PowerShellEditorServices #710 -
stdio should only launch language service not debug (#710) - PowerShell/PowerShellEditorServices #705 -
Fix load order of PSSA modules (#705) - PowerShell/PowerShellEditorServices #704 -
Do not enable PSAvoidTrailingWhitespace rule by default as it currenly flags whitespace-only lines as well (#704) (Thanks @bergmeister!)