From aa1ea1027a5f99be3eec7d65afa0841ce0572b46 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Thu, 31 Oct 2019 12:25:01 -0700 Subject: [PATCH 1/5] Update CHANGELOG for v2019.11.0 --- CHANGELOG.md | 4804 +++++++++++++++++++++++++++----------------------- 1 file changed, 2600 insertions(+), 2204 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa75427a6a..2526c695e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2230 +1,2626 @@ -# PowerShell Preview Extension Release History - -## v2019.9.0 -### Monday, September 23, 2019 +# PowerShell Preview Extension Release History + +## v2019.11.0 +### Thursday, October 31, 2019 #### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) -- ๐Ÿ‘ท [vscode-powershell #1961](https://github.com/PowerShell/vscode-powershell/pull/1961) - +- [vscode-PowerShell #2260](https://github.com/PowerShell/vscode-PowerShell/pull/2260) - + Use list of files for release since build happens first. +- [vscode-PowerShell #2262](https://github.com/PowerShell/vscode-PowerShell/pull/2262) - + Introduce new setting that controls UseLegacyReadLine. +- [vscode-PowerShell #2261](https://github.com/PowerShell/vscode-PowerShell/pull/2261) - + Fix crash when PowerShell selection is changed. +- ๐Ÿ›ซ ๐Ÿ› [vscode-powershell #2217](https://github.com/PowerShell/vscode-PowerShell/pull/2238) - + Discover new PowerShell installations, fix startup issue with Windows PowerShell. +- [vscode-PowerShell #2257](https://github.com/PowerShell/vscode-PowerShell/pull/2257) - + Bump @types/semver from 6.0.2 to 6.2.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2255](https://github.com/PowerShell/vscode-PowerShell/pull/2255) - + Fix tests by using API Key for CI. +- [vscode-PowerShell #2248](https://github.com/PowerShell/vscode-PowerShell/pull/2248) - + Bump vsce from 1.67.1 to 1.68.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2225](https://github.com/PowerShell/vscode-PowerShell/pull/2225) - + Surface Invoke Registered Editor Command. (Thanks @jpogran!) +- [vscode-PowerShell #2224](https://github.com/PowerShell/vscode-PowerShell/pull/2224) - + Provide Run Selection button in Editor Title Menu. (Thanks @jpogran!) +- [vscode-PowerShell #2233](https://github.com/PowerShell/vscode-PowerShell/pull/2233) - + Bump vsce from 1.66.0 to 1.67.1. (Thanks @dependabot-preview[bot]!) +- [vscode-powershell #2229](https://github.com/PowerShell/vscode-PowerShell/pull/2232) - + Fix version check in Install-VSCode.ps1. +- [vscode-PowerShell #2226](https://github.com/PowerShell/vscode-PowerShell/pull/2226) - + Changes needed for Omnisharp migration of PowerShellEditorServices. +- ๐Ÿ” [vscode-powershell #2144](https://github.com/PowerShell/vscode-PowerShell/pull/2223) - + Don't delete the session file to fix restart capability.. +- [vscode-PowerShell #2207](https://github.com/PowerShell/vscode-PowerShell/pull/2207) - + Bump @types/node-fetch from 2.5.0 to 2.5.2. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2186](https://github.com/PowerShell/vscode-PowerShell/pull/2186) - + Rev changelog for v2019.9.0. +- [vscode-PowerShell #2185](https://github.com/PowerShell/vscode-PowerShell/pull/2185) - + Rev version to 2019.9.0. +- [vscode-PowerShell #1961](https://github.com/PowerShell/vscode-PowerShell/pull/1961) - Changelog tools. -- ๐Ÿ› [vscode-powershell #2141](https://github.com/PowerShell/vscode-powershell/pull/2141) - +- [vscode-PowerShell #2181](https://github.com/PowerShell/vscode-PowerShell/pull/2181) - + Bump @types/semver from 6.0.1 to 6.0.2. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2180](https://github.com/PowerShell/vscode-PowerShell/pull/2180) - + Bump tslint from 5.19.0 to 5.20.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2141](https://github.com/PowerShell/vscode-PowerShell/pull/2141) - Null check on activeTerminal to workaround vscode behavior. -- โœจ [vscode-powershell #2105](https://github.com/PowerShell/vscode-powershell/pull/2105) - +- [vscode-PowerShell #2105](https://github.com/PowerShell/vscode-PowerShell/pull/2105) - Prompt to update PowerShell version. -- ๐Ÿ”Ž [vscode-powershell #2165](https://github.com/PowerShell/vscode-powershell/pull/2165) - +- [vscode-PowerShell #2165](https://github.com/PowerShell/vscode-PowerShell/pull/2165) - Add powershell.codeFormatting.autoCorrectAliases setting to add support for optionally correcting aliases as well (added in PSSA 1.18.2). Disabled by default.. (Thanks @bergmeister!) -- โœจ [vscode-powershell #2160](https://github.com/PowerShell/vscode-powershell/pull/2160) - +- [vscode-PowerShell #2160](https://github.com/PowerShell/vscode-PowerShell/pull/2160) - Added functionality to install the User variant of Stable Edition. (Thanks @Lothindir!) -- โœจ [vscode-powershell #2156](https://github.com/PowerShell/vscode-powershell) - - Default to PowerShell Core on Windows if it's installed. (Thanks @SydneyhSmith!) -- โœจ [vscode-powershell #2084](https://github.com/PowerShell/vscode-powershell/pull/2084) - +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell/pull/2156) - + Bump tslint from 5.18.0 to 5.19.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Merge pull request #2094 from SydneyhSmith/master. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update src/platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update src/platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - + Update src/platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2123](https://github.com/PowerShell/vscode-PowerShell/pull/2123) - + Bump vscode from 1.1.35 to 1.1.36. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell/pull/2090) - + Bump typescript from 3.5.2 to 3.5.3. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell/pull/2107) - + Bump vsce from 1.65.0 to 1.66.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - + Update src/platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell/pull/2084) - Implement #1611 - provide dynamic debug config. (Thanks @rkeithhill!) -- โœจ [vscode-powershell #2024](https://github.com/PowerShell/vscode-powershell/pull/2039) - - Add machine scope per VS Code team request. -- โœจ [vscode-powershell #2081](https://github.com/PowerShell/vscode-powershell/pull/2081) - +- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell/pull/2095) - + Bump mocha-junit-reporter from 1.23.0 to 1.23.1. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.test.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update src/platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Merge pull request #1 from SydneyhSmith/WindowsCoreCheck. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update session.ts. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - + Update platform.ts. (Thanks @SydneyhSmith!) +- ๐Ÿ“ โœจ [vscode-powershell #2024](https://github.com/PowerShell/vscode-PowerShell/pull/2039) - + Add machine scope. +- [vscode-PowerShell #2091](https://github.com/PowerShell/vscode-PowerShell/pull/2091) - + Bump vsce from 1.64.0 to 1.65.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2081](https://github.com/PowerShell/vscode-PowerShell/pull/2081) - Add param-block snippet. (Thanks @AspenForester!) -- ๐Ÿงน [vscode-powershell #2062](https://github.com/PowerShell/vscode-powershell/pull/2062) - +- [vscode-PowerShell #2079](https://github.com/PowerShell/vscode-PowerShell/pull/2079) - + [Security] Bump lodash from 4.17.11 to 4.17.14. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2062](https://github.com/PowerShell/vscode-PowerShell/pull/2062) - Remove redundant snippets. (Thanks @travis-c-lagrone!) -- โœจ [vscode-powershell #1974](https://github.com/PowerShell/vscode-powershell/pull/1974) - +- [vscode-PowerShell #1974](https://github.com/PowerShell/vscode-PowerShell/pull/1974) - Add #Requires snippets. (Thanks @travis-c-lagrone!) -- ๐Ÿงน [vscode-powershell #2063](https://github.com/PowerShell/vscode-powershell/pull/2063) - +- [vscode-PowerShell #2063](https://github.com/PowerShell/vscode-PowerShell/pull/2063) - Remove redundant community snippets. (Thanks @travis-c-lagrone!) -- ๐Ÿ‘ท [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell/pull/2065) - +- [vscode-PowerShell #2063](https://github.com/PowerShell/vscode-PowerShell) - + Merge pull request #2075 from PowerShell/ADS-Server-creation. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2063](https://github.com/PowerShell/vscode-PowerShell) - + Update docs/azure_data_studio/Server-Creation-With-Docker-Notebook.ipynb. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2074](https://github.com/PowerShell/vscode-PowerShell/pull/2074) - + Bump vscode-extension-telemetry from 0.1.1 to 0.1.2. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2074](https://github.com/PowerShell/vscode-PowerShell) - + Add files via upload. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell/pull/2065) - Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments'. (Thanks @travis-c-lagrone!) -- ๐Ÿ“” [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell) - - Docs updates. (Thanks @SydneyhSmith!) -- ๐Ÿ‘ท [vscode-powershell #2038](https://github.com/PowerShell/vscode-powershell/pull/2038) - +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Merge pull request #2061 from PowerShell/Doc-Updates. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Update development.md. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Update troubleshooting.md. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Delete ise_compatibility.md. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Delete remoting.md. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Update README_FOR_MARKETPLACE.md. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Merge pull request #2059 from PowerShell/SnippetReq. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Update development.md. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - + Update community_snippets.md. (Thanks @SydneyhSmith!) +- [vscode-PowerShell #2056](https://github.com/PowerShell/vscode-PowerShell/pull/2056) - + Update package lock. +- [vscode-PowerShell #2054](https://github.com/PowerShell/vscode-PowerShell/pull/2054) - + Bump vscode from 1.1.34 to 1.1.35. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2038](https://github.com/PowerShell/vscode-PowerShell/pull/2038) - Add ADS insiders gallery file to update script. -- ๐Ÿ”Ž [vscode-powershell #2037](https://github.com/PowerShell/vscode-powershell/pull/2037) - - Update PSScriptAnalyzer docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) -- ๐Ÿ› [vscode-powershell #2035](https://github.com/PowerShell/vscode-powershell/pull/2035) - - #1019: Get format settings from document editor instead of global. (Thanks @tillig!) -- ๐Ÿ‘ท [vscode-powershell #2025](https://github.com/PowerShell/vscode-powershell/pull/2025) - +- [vscode-PowerShell #2037](https://github.com/PowerShell/vscode-PowerShell/pull/2037) - + Update PSSA docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) +- [vscode-PowerShell #2035](https://github.com/PowerShell/vscode-PowerShell/pull/2035) - + #1019: Get format settings from document editor instead of global.. (Thanks @tillig!) +- [vscode-PowerShell #2025](https://github.com/PowerShell/vscode-PowerShell/pull/2025) - Fix node version detect logic to handle node v10. (Thanks @rkeithhill!) -- โœจ [vscode-powershell #1946](https://github.com/PowerShell/vscode-powershell/pull/1946) - +- [vscode-PowerShell #1946](https://github.com/PowerShell/vscode-PowerShell/pull/1946) - Add ArgumentCompleter snippets. (Thanks @travis-c-lagrone!) -- ๐Ÿงน [vscode-powershell #2015](https://github.com/PowerShell/vscode-powershell/pull/2015) - +- [vscode-PowerShell #2020](https://github.com/PowerShell/vscode-PowerShell/pull/2020) - + Bump mocha-junit-reporter from 1.22.0 to 1.23.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #1999](https://github.com/PowerShell/vscode-PowerShell/pull/1999) - + Bump @types/mocha from 5.2.6 to 5.2.7. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2047](https://github.com/PowerShell/vscode-PowerShell/pull/2047) - + Bump tslint from 5.16.0 to 5.18.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2044](https://github.com/PowerShell/vscode-PowerShell/pull/2044) - + Bump vsce from 1.63.0 to 1.64.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2028](https://github.com/PowerShell/vscode-PowerShell/pull/2028) - + Bump typescript from 3.4.5 to 3.5.2. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2029](https://github.com/PowerShell/vscode-PowerShell/pull/2029) - + Bump vsce from 1.62.0 to 1.63.0. (Thanks @dependabot-preview[bot]!) +- [vscode-PowerShell #2015](https://github.com/PowerShell/vscode-PowerShell/pull/2015) - Fix node types version. - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- ๐Ÿ› [PowerShellEditorServices #1022](https://github.com/PowerShell/PowerShellEditorServices/pull/1022) - - Catch stream exceptions for some Debug Adapter stability. -- ๐Ÿ”Ž [PowerShellEditorServices #1021](https://github.com/PowerShell/PowerShellEditorServices/pull/1021) - - Add AutoCorrectAliases setting (PR to be made in VS-Code repo as well) to add support for optionally correcting aliases as well (added in PSSA 1.18.2). (Thanks @bergmeister!). -- ๐Ÿ› [vscode-powershell #1994](https://github.com/PowerShell/PowerShellEditorServices/pull/1000) - - Fix crash when setBreakpoint from VSCode sends a git:/ URI. -- ๐Ÿงน [PowerShellEditorServices #988](https://github.com/PowerShell/PowerShellEditorServices/pull/988) - - Remove consoleecho lib for PowerShell 7. -- ๐Ÿ“” [PowerShellEditorServices #986](https://github.com/PowerShell/PowerShellEditorServices) - - Documentation updates. (Thanks @SydneyhSmith!) -- โš™๏ธ [PowerShellEditorServices #981](https://github.com/PowerShell/PowerShellEditorServices/pull/981) - - Update NewtonSoft.Json dependency from 10.0.3 to 11.02 since PS 6.0 has been deprecated. (Thanks @bergmeister!) -- ๐Ÿ› [vscode-powershell #2007](https://github.com/PowerShell/PowerShellEditorServices/pull/974) - - Defend against crash when no PSScriptAnalyzer is found. -- ๐Ÿ‘ท [PowerShellEditorServices #978](https://github.com/PowerShell/PowerShellEditorServices/pull/977) - - Delete stale WebSocket code. - -## v2019.5.0 -### Wednesday, May 22, 2019 -#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - -- โœจ [vscode-PowerShell #1880](https://github.com/PowerShell/vscode-powershell/pull/1911) - - Move to date-based versioning -- โœจ [vscode-PowerShell #1954](https://github.com/PowerShell/vscode-PowerShell/pull/1954) - - Allow passing runspace name -- โœจ [vscode-PowerShell #1945](https://github.com/PowerShell/vscode-PowerShell/pull/1945) - - Edit snippets to support $TM_SELECTED_TEXT (Thanks @travis-c-lagrone!) -- ๐Ÿ‘ท [vscode-PowerShell #1942](https://github.com/PowerShell/vscode-PowerShell/pull/1942) - - Stop supporting 6.0 -- โœจ [vscode-PowerShell #1928](https://github.com/PowerShell/vscode-PowerShell/pull/1928) - - Add RunCode command for CodeLens providers -- ๐Ÿ› [vscode-PowerShell #1927](https://github.com/PowerShell/vscode-PowerShell/pull/1927) - - Fix change session by moving to async/await promise -- ๐Ÿ› [vscode-PowerShell #1931](https://github.com/PowerShell/vscode-PowerShell/pull/1931) - - Fix upload bug report -- ๐Ÿ› [vscode-PowerShell #1925](https://github.com/PowerShell/vscode-PowerShell/pull/1925) - - Fix error in HtmlContentView.ShowContent when no JS/CSS provided (Thanks @rkeithhill!) -- ๐Ÿ› [vscode-PowerShell #1919](https://github.com/PowerShell/vscode-PowerShell/pull/1919) - - Fix CustomViews by switching to WebViews -- ๐Ÿ› [vscode-PowerShell #1922](https://github.com/PowerShell/vscode-PowerShell/pull/1922) - - Fix small typo in Function-Inline description (Thanks @V-ed!) -- โœจ [vscode-PowerShell #1908](https://github.com/PowerShell/vscode-PowerShell/pull/1908) - - Add PowerShell version telemetry -- ๐Ÿ“– [vscode-PowerShell #1900](https://github.com/PowerShell/vscode-PowerShell/pull/1900) - - Small update to Azure Data Studio marketplace README (Thanks @SQLvariant!) -- ๐Ÿ’ป [vscode-PowerShell #1871](https://github.com/PowerShell/vscode-PowerShell/pull/1871) - - Change CI to use Azure Pipelines -- ๐Ÿ› [vscode-PowerShell #1867](https://github.com/PowerShell/vscode-PowerShell/pull/1867) - - Change whitespace settings to camelCase -- ๐Ÿ› [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - - Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSScriptAnalyzer issues are fixed (Thanks @bergmeister!) -- ๐Ÿ› [vscode-powershell #1822](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - - Set featureFlag default to null so that it can be resolved by settings -- ๐Ÿ’ป [vscode-PowerShell #1839](https://github.com/PowerShell/vscode-PowerShell/pull/1839) - - Add initial credscan config ymls for CI -- ๐Ÿ› [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - - Don't use -EncodedCommand to start PowerShell on Windows -- ๐Ÿ› [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - - Switch to current lowercase names for powershell and mdlint extensions (Thanks @rkeithhill!) -- ๐Ÿ‘ท [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - - Update to official TSLint extension in extensions.json, old version deprecated (Thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- โœจ [PowerShellEditorServices #951](https://github.com/PowerShell/PowerShellEditorServices/pull/951) - - Allow passing RunspaceName -- ๐Ÿšจ [PowerShellEditorServices #944](https://github.com/PowerShell/PowerShellEditorServices/pull/944) - - Add integration testing module with simple tests to verify PSES starts and stops -- ๐Ÿ› [PowerShellEditorServices #954](https://github.com/PowerShell/PowerShellEditorServices/pull/955) - - Ensure NamedPipeServerStream is assigned in Windows PowerShell -- โœจ [PowerShellEditorServices #952](https://github.com/PowerShell/PowerShellEditorServices/pull/952) - - Update to PSReadLine 2.0.0-beta4 -- โœจ [PowerShellEditorServices #877](https://github.com/PowerShell/PowerShellEditorServices/pull/877) - - Add filtering for CodeLens and References (Thanks @glennsarti!) -- ๐Ÿ› [vscode-powershell #1933](https://github.com/PowerShell/PowerShellEditorServices/pull/949) - - Stop crash when workspace doesn't exist -- ๐Ÿ‘ท [PowerShellEditorServices #878](https://github.com/PowerShell/PowerShellEditorServices/pull/878) - - Remove native named pipes implementation -- ๐Ÿ› [PowerShellEditorServices #947](https://github.com/PowerShell/PowerShellEditorServices/pull/947) - - Fix silent failure in VSCode WebViews by using Id for dictionary since multiple pages could have the same title -- ๐Ÿ› [PowerShellEditorServices #946](https://github.com/PowerShell/PowerShellEditorServices/pull/946) - - Rename to use async -- ๐Ÿ‘ท [PowerShellEditorServices #943](https://github.com/PowerShell/PowerShellEditorServices/pull/943) - - Improvements to the log parsing module (Thanks @rkeithhill!) -- ๐Ÿ’ป [PowerShellEditorServices #921](https://github.com/PowerShell/PowerShellEditorServices/pull/921) - - Set up CI with Azure Pipelines -- ๐Ÿ› [PowerShellEditorServices #908](https://github.com/PowerShell/PowerShellEditorServices/pull/908) - - Fix issue with reference code lens not working with UNC paths (Thanks @rkeithhill!) -- ๐Ÿ› [vscode-powershell #1571](https://github.com/PowerShell/PowerShellEditorServices/pull/911) - - Fix faulty netfx check -- ๐Ÿ› [PowerShellEditorServices #906](https://github.com/PowerShell/PowerShellEditorServices/pull/906) - - Fix New-EditorFile with no folder or no files open -- โœจ [vscode-powershell #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - - Improve path auto-completion (Thanks @rkeithhill!) -- ๐Ÿ› [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - - Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) -- ๐Ÿ‘ท [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - - Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) -- ๐Ÿ‘ท [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - - Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) -- ๐Ÿ’ป [PowerShellEditorServices #904](https://github.com/PowerShell/PowerShellEditorServices/pull/904) - - Add initial credscan configuation ymls for CI -- ๐Ÿ› [PowerShellEditorServices #901](https://github.com/PowerShell/PowerShellEditorServices/pull/901) - - Switch to current lowercase names for powershell and mdlint exts (Thanks @rkeithhill!) - -## v2.0.0-preview.3 -### Wednesday, April 10, 2019 -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1865](https://github.com/PowerShell/vscode-powershell/pull/1867) - - Change casing of `powershell.codeformatting` settings for consistency: - - `powershell.codeformatting.WhitespaceInsideBrace` is now `powershell.codeformatting.whitespaceInsideBrace` - - `powershell.codeformatting.WhitespaceAroundPipe` is now `powershell.codeformatting.whitespaceAroundPipe` +- [vscode-PowerShell #1982](https://github.com/PowerShell/vscode-PowerShell/pull/1982) - + Fix README edit by using name instead of version. +- [vscode-PowerShell #1978](https://github.com/PowerShell/vscode-PowerShell/pull/1978) - + Update CHANGELOG for v2019.5.0. +- [vscode-PowerShell #1954](https://github.com/PowerShell/vscode-PowerShell/pull/1954) - + Allow passing runspace name. +- [vscode-PowerShell #1959](https://github.com/PowerShell/vscode-PowerShell/pull/1959) - + Add rich nav. +- [vscode-PowerShell #1932](https://github.com/PowerShell/vscode-PowerShell/pull/1932) - + Add scripts for automatically updating the version of the PowerShell extension. +- [vscode-PowerShell #1945](https://github.com/PowerShell/vscode-PowerShell/pull/1945) - + Edit snippets to support $TM_SELECTED_TEXT. (Thanks @travis-c-lagrone!) +- [vscode-PowerShell #1942](https://github.com/PowerShell/vscode-PowerShell/pull/1942) - + Stop supporting 6.0. +- [vscode-PowerShell #1928](https://github.com/PowerShell/vscode-PowerShell/pull/1928) - + Add RunCode command for CodeLens providers. +- [vscode-PowerShell #1927](https://github.com/PowerShell/vscode-PowerShell/pull/1927) - + Fix change session by moving to async/await promise. +- [vscode-PowerShell #1931](https://github.com/PowerShell/vscode-PowerShell/pull/1931) - + Fix upload bug report. +- [vscode-PowerShell #1925](https://github.com/PowerShell/vscode-PowerShell/pull/1925) - + Fix error in HtmlContentView.ShowContent when no JS/CSS provided. (Thanks @rkeithhill!) +- [vscode-PowerShell #1919](https://github.com/PowerShell/vscode-PowerShell/pull/1919) - + Fix CustomViews by switching to WebViews. +- [vscode-PowerShell #1922](https://github.com/PowerShell/vscode-PowerShell/pull/1922) - + Fix small typo in Function-Inline description. (Thanks @V-ed!) +- [vscode-PowerShell #1908](https://github.com/PowerShell/vscode-PowerShell/pull/1908) - + Add powershell version telemetry. +- [vscode-PowerShell #1900](https://github.com/PowerShell/vscode-PowerShell/pull/1900) - + Small update to Azure Data Studio MP README. (Thanks @SQLvariant!) +- [vscode-PowerShell #1871](https://github.com/PowerShell/vscode-PowerShell/pull/1871) - + Azure pipelines. +- [vscode-PowerShell #1867](https://github.com/PowerShell/vscode-PowerShell/pull/1867) - + Change Whitespace settings to camelCase. - [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - - Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSSA issues are fixed (Thanks @bergmeister!) -- [vscode-PowerShell #1838](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - - Set PSReadLine featureFlag default to null so that it can be resolved by settings + Turn powershell.codeformatting.useCorrectCasing setting off by default until PSSA issues are fixed. (Thanks @bergmeister!) +- ๐Ÿ› [vscode-powershell #1822](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - + Set featureFlag default to null so that it can be resolved by settings. +- [vscode-PowerShell #1839](https://github.com/PowerShell/vscode-PowerShell/pull/1839) - + Add initial credscan ymls. - [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - - Do not use -EncodedCommand on Windows + Not -EncodedCommand on Windows. - [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - - Switch to current lowercase names for powershell and mdlint recommended extensions (Thanks @rkeithhill!) + Switch to current lowercase names for powershell and mdlint exts. (Thanks @rkeithhill!) - [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - - Update to official TSLint ext in extensions.json, old version deprecated (Thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #902](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - - Improve path auto-completion (Thanks @rkeithhill!) -- [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - - Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) -- [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - - Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) -- [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - - Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) - -## v2.0.0-preview.2 -### Friday, March 29, 2019 - -### Highlights - -* `Write-Progress` work in the integrated console โฐ -* Support for [PSScriptAnalyzer 1.18](https://github.com/PowerShell/PSScriptAnalyzer/releases/tag/1.18.0) ๐Ÿ“ -* The ability to debug any runspace in any process ๐Ÿ”Ž -* PSReadLine enabled by default on Windows ๐ŸŽจ -* (Bug fix!) You can open untitled workspaces/folders again! ๐Ÿ›โ˜ ๏ธ - -There are a lot more goodies in this version. Checkout the changelog below! - -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - + Update to official TSLint ext in extensions.json, old version deprecated. (Thanks @rkeithhill!) +- [vscode-PowerShell #1816](https://github.com/PowerShell/vscode-PowerShell/pull/1816) - + Workaround PSSA #1187 by defaulting to NoIndentation. +- [vscode-PowerShell #1809](https://github.com/PowerShell/vscode-PowerShell/pull/1809) - + Fix typos, add context to CHANGELOG. +- [vscode-PowerShell #1808](https://github.com/PowerShell/vscode-PowerShell/pull/1808) - + Prep for 2.0.0-preview.2 release. - [vscode-PowerShell #1794](https://github.com/PowerShell/vscode-PowerShell/pull/1794) - - Make PSReadLine default on Windows -- [vscode-PowerShell #1736](https://github.com/PowerShell/vscode-PowerShell/pull/1736) - - Enable attach to process on Linux and macOS -- [vscode-PowerShell #1729](https://github.com/PowerShell/vscode-PowerShell/pull/1729) - - Handle Pester Describe block strings with single quotes inside it (Thanks @bergmeister!) -- [vscode-PowerShell #1741](https://github.com/PowerShell/vscode-PowerShell/pull/1741) - - Update build to clear node modules directory (Thanks @corbob!) -- [vscode-PowerShell #1743](https://github.com/PowerShell/vscode-PowerShell/pull/1743) - - Fix right-click help lookup not always working (Thanks @corbob!) -- [vscode-PowerShell #1746](https://github.com/PowerShell/vscode-PowerShell/pull/1746) - - Add label property to debug config, change pkg name to lowercase (Thanks @rkeithhill!) -- [vscode-PowerShell #1749](https://github.com/PowerShell/vscode-PowerShell/pull/1749) - - Add the Install-VSCode.ps1 script to signing -- [vscode-PowerShell #1747](https://github.com/PowerShell/vscode-PowerShell/pull/1747) - - Modify `powerShellDefaultVersion` description to make clearer (Thanks @rkeithhill!) -- [vscode-PowerShell #1755](https://github.com/PowerShell/vscode-PowerShell/pull/1755) - - Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) -- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell/pull/1773) - - Change debugger type field back to `PowerShell` from `powershell` (Thanks @rkeithhill!) -- [vscode-PowerShell #1757](https://github.com/PowerShell/vscode-PowerShell/pull/1757) - - Match Install-VSCode.ps1 script url with the one from master branch (Thanks @rafaltra!) -- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell/pull/1774) - - Switch to `EncodedCommand` for script execution -- [vscode-PowerShell #1764](https://github.com/PowerShell/vscode-PowerShell/pull/1764) - - Added Pester, ShouldProcess and Calculated Property PS Snippets (Thanks @brettmillerb!) -- [vscode-PowerShell #1776](https://github.com/PowerShell/vscode-PowerShell/pull/1776) - - Migrate Pester version detection into an InovkePester stub script (Thanks @rkeithhill!) -- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell/pull/1781) - - Fix initial launch config casing -- [vscode-PowerShell #1775](https://github.com/PowerShell/vscode-PowerShell/pull/1775) - - Support `-CustomPipeName`, allowing configuration of custom namedpipes for LSP transport -- [vscode-PowerShell #1787](https://github.com/PowerShell/vscode-PowerShell/pull/1787) - - Added SQL PowerShell Examples (Thanks @SQLvariant!) -- [vscode-PowerShell #1782](https://github.com/PowerShell/vscode-PowerShell/pull/1782) - - Add Debug Runspace command (Thanks @adamdriscoll!) -- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell/pull/1800) - - Include current runspace and runspace ID 1 in the PSHostProcess picker dialog -- [vscode-PowerShell #1687](https://github.com/PowerShell/vscode-PowerShell/pull/1687) - - Add new `powershell.useCorrectCasingsettings` for new rule in PSSA 1.18: PSUseCorrectCasing (Thanks @bergmeister!) -- [vscode-PowerShell #1668](https://github.com/PowerShell/vscode-PowerShell/pull/1668) - - Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: WhitespaceInsideBrace and WhitespaceAroundPipe (Thanks @bergmeister!) + Make PSReadLine default on Windows. - [vscode-PowerShell #1669](https://github.com/PowerShell/vscode-PowerShell/pull/1669) - - Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: PipelineIndentationStyle (Thanks @bergmeister!) -- [vscode-PowerShell #1738](https://github.com/PowerShell/vscode-PowerShell/pull/1738) - - Set CommandExplorer exclusion filter to be empty array by default (Thanks @adilio!) + Add new powershell.codeFormatting settings for new options in PSSA 1.18: PipelineIndentationStyle. (Thanks @bergmeister!) +- [vscode-PowerShell #1668](https://github.com/PowerShell/vscode-PowerShell/pull/1668) - + Add new powershell.codeFormatting settings for new options in PSSA 1.18: WhitespaceInsideBrace and WhitespaceAroundPipe. +- [vscode-PowerShell #1687](https://github.com/PowerShell/vscode-PowerShell/pull/1687) - + Add new powershell.useCorrectCasingsettings for new rule in PSSA 1.18: PSUseCorrectCasing. (Thanks @bergmeister!) +- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell/pull/1800) - + Include current runspace and runspace 1 if should. +- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell) - + Tslint. +- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell) - + Make PSReadLine default on Windows. +- [vscode-PowerShell #1782](https://github.com/PowerShell/vscode-PowerShell/pull/1782) - + Add Debug Runspace command. (Thanks @adamdriscoll!) +- [vscode-PowerShell #1787](https://github.com/PowerShell/vscode-PowerShell/pull/1787) - + Added SQL PowerShell Examples. (Thanks @SQLvariant!) +- [vscode-PowerShell #1775](https://github.com/PowerShell/vscode-PowerShell/pull/1775) - + Support -CustomPipeName. +- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell/pull/1781) - + Fix initial launch config casing. +- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell) - + Apply suggestions from code review. (Thanks @bergmeister!) +- [vscode-PowerShell #1776](https://github.com/PowerShell/vscode-PowerShell/pull/1776) - + Migrate Pester version detection into an InovkePester stub script. (Thanks @rkeithhill!) +- [vscode-PowerShell #1764](https://github.com/PowerShell/vscode-PowerShell/pull/1764) - + Added Pester, ShouldProcess and Calculated Property PS Snippets. (Thanks @brettmillerb!) +- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell/pull/1774) - + Switch to EncodedCommand. +- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell) - + Match Install-VSCode.ps1 script url with the one from master branch. +- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell) - + Powershell instead of bash. +- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell/pull/1773) - + Change debugger type field back to "PowerShell" from powershell. (Thanks @rkeithhill!) +- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell) - + Update link to install script to gh master branch. +- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell) - + Match script url with the one below. +- [vscode-PowerShell #1755](https://github.com/PowerShell/vscode-PowerShell/pull/1755) - + Speed up travis builds by skipping the .net core initialisation. (Thanks @bergmeister!) +- [vscode-PowerShell #1747](https://github.com/PowerShell/vscode-PowerShell/pull/1747) - + Modify powerShellDefaultVersion desc to make clearer. (Thanks @rkeithhill!) +- [vscode-PowerShell #1749](https://github.com/PowerShell/vscode-PowerShell/pull/1749) - + Adds the Install-VSCode.ps1 script to signing. +- [vscode-PowerShell #1746](https://github.com/PowerShell/vscode-PowerShell/pull/1746) - + Add label property to debug config, change pkg name to lowercase. (Thanks @rkeithhill!) +- [vscode-PowerShell #1743](https://github.com/PowerShell/vscode-PowerShell/pull/1743) - + Fix Right Click Help lookup not always working.. (Thanks @corbob!) +- [vscode-PowerShell #1741](https://github.com/PowerShell/vscode-PowerShell/pull/1741) - + Update build to clear node modules directory. (Thanks @corbob!) +- [vscode-PowerShell #1729](https://github.com/PowerShell/vscode-PowerShell/pull/1729) - + Handle Pester Describe block strings with single quotes inside it. (Thanks @bergmeister!) +- [vscode-PowerShell #1619](https://github.com/PowerShell/vscode-PowerShell/pull/1619) - + Fix conflicts. +- ๐Ÿ› [vscode-powershell #1721](https://github.com/PowerShell/vscode-PowerShell/pull/1728) - + Handle name better. +- [vscode-PowerShell #1736](https://github.com/PowerShell/vscode-PowerShell/pull/1736) - + Turn off non-windows gate for attach to process. +- [vscode-powershell #1737](https://github.com/PowerShell/vscode-PowerShell/pull/1738) - + Setting CommandExp ExcludeFilter to be empty array. (Thanks @adilio!) - [vscode-PowerShell #1686](https://github.com/PowerShell/vscode-PowerShell/pull/1686) - - Add an exclusion filter to the Command Explorer (Thanks @corbob!) -- [vscode-PowerShell #1816](https://github.com/PowerShell/vscode-PowerShell/pull/1816) - - Workaround PSSA #1187 by defaulting to NoIndentation - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #895](https://github.com/PowerShell/PowerShellEditorServices/pull/895) - - Add warning to parameter validation set (Thanks @Benny1007!) -- [PowerShellEditorServices #897](https://github.com/PowerShell/PowerShellEditorServices/pull/897) - - Clean up and pop dead runspaces when using 'attach' debugging -- [PowerShellEditorServices #888](https://github.com/PowerShell/PowerShellEditorServices/pull/888) - - Add new ParseError level to ScriptFileMarkerLevel and filter out PSSA parse errors -- [PowerShellEditorServices #858](https://github.com/PowerShell/PowerShellEditorServices/pull/858) - - Fix XUnit warnings that better assertion operators should be used. (Thanks @bergmeister!) -- [PowerShellEditorServices #854](https://github.com/PowerShell/PowerShellEditorServices/pull/854) - - Reinstate test filtering (Thanks @glennsarti!) -- [PowerShellEditorServices #866](https://github.com/PowerShell/PowerShellEditorServices/pull/866) - - Catch NotSupportedException which can be thrown by FileStream constructor (Thanks @rkeithhill!) -- [PowerShellEditorServices #868](https://github.com/PowerShell/PowerShellEditorServices/pull/868) - - Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) -- [PowerShellEditorServices #869](https://github.com/PowerShell/PowerShellEditorServices/pull/869) - - Added `AsNewFile` switch to Out-CurrentFile (Thanks @dfinke!) -- [PowerShellEditorServices #873](https://github.com/PowerShell/PowerShellEditorServices/pull/873) - - Return the start line number for Describe block (Thanks @rkeithhill!) -- [PowerShellEditorServices #876](https://github.com/PowerShell/PowerShellEditorServices/pull/876) - - Temporarily disable deemphasized stack frames to fix VSCode issue 1750 (Thanks @rkeithhill!) -- [PowerShellEditorServices #871](https://github.com/PowerShell/PowerShellEditorServices/pull/871) - - Support -CustomPipeName, allowing configuration of custom namedpipes for LSP transport -- [PowerShellEditorServices #872](https://github.com/PowerShell/PowerShellEditorServices/pull/872) - - Fix unable to open files in problems/peek windows issue (Thanks @rkeithhill!) -- [PowerShellEditorServices #875](https://github.com/PowerShell/PowerShellEditorServices/pull/875) - - Add attach to local runspace. (Thanks @adamdriscoll!) -- [PowerShellEditorServices #881](https://github.com/PowerShell/PowerShellEditorServices/pull/881) - - Use `NamedPipeConnectionInfo` to connect to remote runspaces instead of Enter-PSHostProcess -- [PowerShellEditorServices #845](https://github.com/PowerShell/PowerShellEditorServices/pull/845) - - Enable UseCorrectCasing as a default rule (Thanks @bergmeister!) -- [PowerShellEditorServices #835](https://github.com/PowerShell/PowerShellEditorServices/pull/835) - - Map new `powershell.codeformatting` settings WhitespaceInsideBrace and WhitespaceAroundPipe to PSSA settings hashtable (Thanks @bergmeister!) -- [PowerShellEditorServices #836](https://github.com/PowerShell/PowerShellEditorServices/pull/836) - - Add PipelineIndentationStyle configuration mapping (Thanks @bergmeister!) -- [PowerShellEditorServices #887](https://github.com/PowerShell/PowerShellEditorServices/pull/887) - - Cherry pick PR 1750 merge commit to legacy/v1.x, has additional fixes (Thanks @rkeithhill!) -- [PowerShellEditorServices #874](https://github.com/PowerShell/PowerShellEditorServices/pull/874) - - Use public `InternalHost` from origin runspace (Thanks @SeeminglyScience!) -- [PowerShellEditorServices #889](https://github.com/PowerShell/PowerShellEditorServices/pull/889) - - Enhance Get-PsesRpcNotificationMessage/MessageResponseTimes to allow filtering by message name (Thanks @rkeithhill!) -- [PowerShellEditorServices #859](https://github.com/PowerShell/PowerShellEditorServices/pull/859) - - Upgrade PowerShellStandard.Library, PowerShell.SDK, NET.Test.SDK and Serilog NuGet packages to latest released version and enable AppVeyor build on any branch (Thanks @bergmeister!) -- [PowerShellEditorServices #862](https://github.com/PowerShell/PowerShellEditorServices/pull/862) - - Handle arbitrary exceptions when recursing workspace - -## 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](https://code.visualstudio.com/Docs/setup/setup-overview). - -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. -![How to Disable](https://github.com/PowerShell/powershell.github.io/blob/master/PowerShell-Blog/Images/disable-extension.jpg) - -#### 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](https://docs.microsoft.com/en-us/powershell/module/psreadline/about/about_psreadline?view=powershell-6). - -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](https://github.com/powershell/vscode-powershell) - + Add an Exclusion filter to the Command Explorer.. (Thanks @corbob!) +- [vscode-PowerShell #1714](https://github.com/PowerShell/vscode-PowerShell/pull/1714) - + Do not run pester tests when user cancels questions using the x button. (Thanks @bergmeister!) +- [vscode-PowerShell #1707](https://github.com/PowerShell/vscode-PowerShell/pull/1707) - + Support Preview mechanism. +- [vscode-PowerShell #1707](https://github.com/PowerShell/vscode-PowerShell) - + Merge pull request #1706 from PowerShell/2.0.0. - [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell/pull/1587) - - Removed ShowOnlineHelp Command (Thanks @corbob!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #792](https://github.com/PowerShell/PowerShellEditorServices/pull/792) - - Add Async suffix to async methods (Thanks @dee-see!) -- [PowerShellEditorServices #775](https://github.com/PowerShell/PowerShellEditorServices/pull/775) - - Removed ShowOnlineHelp Message (Thanks @corbob!) -- [PowerShellEditorServices #769](https://github.com/PowerShell/PowerShellEditorServices/pull/769) - - Set Runspaces to use STA when running in Windows PowerShell -- [PowerShellEditorServices #741](https://github.com/PowerShell/PowerShellEditorServices/pull/741) - - Migrate to netstandard2.0 and PSStandard -- [PowerShellEditorServices #672](https://github.com/PowerShell/PowerShellEditorServices/pull/672) - - PSReadLine integration (Thanks @SeeminglyScience!) - -## v1.10.2 -### Tuesday, December 18, 2018 - -#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - -- [vscode-PowerShell #1632](https://github.com/PowerShell/vscode-powershell/pull/1632) - - Started [a document for ISE-like configuration of VSCode](https://github.com/PowerShell/vscode-powershell/blob/master/docs/ise_compatibility.md). - Please help us build it out by [contirbuting an edit](https://github.com/PowerShell/vscode-powershell/edit/master/docs/ise_compatibility.md). - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- [PowerShellEditorServices #811](https://github.com/PowerShell/PowerShellEditorServices/pull/805) - - Fix token-based folding (thanks @glennsarti!) -- [PowerShellEditorServices #823](https://github.com/PowerShell/PowerShellEditorServices/pull/823) - - Fix case-sensitivity of Pester CodeLens (thanks @bergmeister!) -- [PowerShellEditorServices #815](https://github.com/PowerShell/PowerShellEditorServices/pull/815) - - Fix crash when untitled files opened as PowerShell -- [PowerShellEditorServices #826](https://github.com/PowerShell/PowerShellEditorServices/pull/826) - - Fix crash when duplicate references are present in the same file - -## v1.10.1 -### Friday, December 7, 2018 - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- [PowerShellEditorServices #808](https://github.com/PowerShell/PowerShellEditorServices/pull/808) - - Fix startup crash on Windows 7 -- [PowerShellEditorServices #807](https://github.com/PowerShell/PowerShellEditorServices/pull/807) - - Fix deadlock occurring while connecting to named pipes - -## v1.10.0 -### Monday, December 3, 2018 -#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell) - -- [vscode-PowerShell #1610](https://github.com/PowerShell/vscode-powershell/pull/1610) - - Remove client-side syntax folding provider in favor of server-side provider (thanks @glennsarti!) -- [vscode-PowerShell #1616](https://github.com/PowerShell/vscode-powershell/pull/1616) - - Make `Restart Current Session` always available in the session quick pick -- [vscode-PowerShell #1406](https://github.com/PowerShell/vscode-powershell/pull/1406) - - Add a Show-Command explorer (thanks @corbob!) -- [vscode-PowerShell #1615](https://github.com/PowerShell/vscode-powershell/pull/1615) - - Fix Pester CodeLens not working for running/debugging tests (thanks @rkeithhill!) -- [vscode-PowerShell #1600](https://github.com/PowerShell/vscode-powershell/pull/1608) - - Add CodeAction support to show PSSA rule documentation (thanks @rkeithhill!) -- [vscode-PowerShell #1606](https://github.com/PowerShell/vscode-powershell/pull/1606) - - Add Ctrl+Alt+J (Cmd+Alt+J on macOS) - keybinding to open up list of available snippets -- [vscode-PowerShell #1597](https://github.com/PowerShell/vscode-powershell/pull/1597) - - Make `Install-VSCode.ps1` work on macOS and Linux. Get the script [here](https://github.com/PowerShell/vscode-powershell/blob/master/scripts/Install-VSCode.ps1) -- [vscode-PowerShell #1580](https://github.com/PowerShell/vscode-powershell/pull/1580) - - `New-EditorFile` works on non-PowerShell untitled files -- [vscode-PowerShell #1557](https://github.com/PowerShell/vscode-powershell/pull/1557) - - Default to showing the last line in folded regions. Unset with `"powershell.codeFolding.showLastLine": false` - (thanks @glennsarti!) -- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - - New snippet: Exchange Online connection (thanks @vmsilvamolina!) -- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - - New snippet: HTML header (thanks @vmsilvamolina!) -- [vscode-PowerShell #1555](https://github.com/PowerShell/vscode-powershell/pull/1555) - - Log when language client not loaded during initialization (thanks @corbob!) -- [vscode-PowerShell #1554](https://github.com/PowerShell/vscode-powershell/pull/1554) - - Fix spacing in parameters when starting the extension (thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- [PowerShellEditorServices #786](https://github.com/PowerShell/PowerShellEditorServices/pull/786) - - Fix #17: Add go to definition support for dot sourced file paths (Thanks @dee-see!) -- [PowerShellEditorServices #767](https://github.com/PowerShell/PowerShellEditorServices/pull/767) - - Change unhandled messages to warnings instead of errors -- [PowerShellEditorServices #765](https://github.com/PowerShell/PowerShellEditorServices/pull/765) - - Fix PowerShell wildcard escaping in debug paths -- [PowerShellEditorServices #778](https://github.com/PowerShell/PowerShellEditorServices/pull/778) - - Fix multiple occurrences of the same typo (Thanks @dee-see!) -- [PowerShellEditorServices #782](https://github.com/PowerShell/PowerShellEditorServices/pull/782) - - Fix #779: NRE on Dispose in ExecutionTimer (Thanks @dee-see!) -- [PowerShellEditorServices #772](https://github.com/PowerShell/PowerShellEditorServices/pull/772) - - Log build info -- [PowerShellEditorServices #774](https://github.com/PowerShell/PowerShellEditorServices/pull/774) - - New-EditorFile works on non-powershell untitled files -- [PowerShellEditorServices #787](https://github.com/PowerShell/PowerShellEditorServices/pull/787) - - Fix descion/decision typo in visitors (Thanks @dee-see!) -- [PowerShellEditorServices #784](https://github.com/PowerShell/PowerShellEditorServices/pull/784) - - Replace bad StringReader usage with String.Split() -- [PowerShellEditorServices #768](https://github.com/PowerShell/PowerShellEditorServices/pull/768) - - Make pipeline runtime exceptions warnings in log -- [PowerShellEditorServices #790](https://github.com/PowerShell/PowerShellEditorServices/pull/790) - - Add managed thread id to log output to add debugging threading issues (Thanks @rkeithhill!) -- [PowerShellEditorServices #794](https://github.com/PowerShell/PowerShellEditorServices/pull/794) - - Fix Pester CodeLens run/debug by not quoting params/already quoted args (Thanks @rkeithhill!) -- [PowerShellEditorServices #785](https://github.com/PowerShell/PowerShellEditorServices/pull/785) - - Adds ability to use separate pipes for reading and writing (Thanks @ant-druha!) -- [PowerShellEditorServices #796](https://github.com/PowerShell/PowerShellEditorServices/pull/796) - - Code cleanup of the start script and ESHost.cs file (Thanks @rkeithhill!) -- [PowerShellEditorServices #795](https://github.com/PowerShell/PowerShellEditorServices/pull/795) - - Fix file recursion overflow problems -- [PowerShellEditorServices #697](https://github.com/PowerShell/PowerShellEditorServices/pull/697) - - Add functionality to allow a Show-Command like panel in VS Code (Thanks @corbob!) -- [PowerShellEditorServices #777](https://github.com/PowerShell/PowerShellEditorServices/pull/777) - - Add syntax folding (Thanks @glennsarti!) -- [PowerShellEditorServices #801](https://github.com/PowerShell/PowerShellEditorServices/pull/801) - - Fix local remoting -- [PowerShellEditorServices #797](https://github.com/PowerShell/PowerShellEditorServices/pull/797) - - Start of a PSES log file analyzer (Thanks @rkeithhill!) -- [PowerShellEditorServices #789](https://github.com/PowerShell/PowerShellEditorServices/pull/789) - - Add support for a "Show Documentation" quick fix menu entry (Thanks @rkeithhill!) -- [PowerShellEditorServices #760](https://github.com/PowerShell/PowerShellEditorServices/pull/760) - - Fix exception when remoting from Windows to non-Windows (Thanks @SeeminglyScience!) - -## v1.9.0 -### Thursday, September 27, 2018 -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1548](https://github.com/PowerShell/vscode-PowerShell/pull/1548) - - Explicitly return `undefined` from resolveDbgConfig when session not started (Thanks @rkeithhill!) -- [vscode-PowerShell #1516](https://github.com/PowerShell/vscode-PowerShell/pull/1516) - - Change "Get Online Help" menu item label to "Get Help" (Thanks @corbob!) -- [vscode-PowerShell #1525](https://github.com/PowerShell/vscode-PowerShell/pull/1525) - - Remove duplicate/overlapping folding regions (Thanks @glennsarti!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #750](https://github.com/PowerShell/PowerShellEditorServices/pull/750) - - Fix issue where # in path causes the path to resolve incorrectly -- [PowerShellEditorServices #721](https://github.com/PowerShell/PowerShellEditorServices/pull/721) - - Change Get-Help behavior to return local help when online help can't be displayed (Thanks @corbob!) -- [PowerShellEditorServices #748](https://github.com/PowerShell/PowerShellEditorServices/pull/748) - - Fix index out-of-range exception when deleting script files -- [PowerShellEditorServices #749](https://github.com/PowerShell/PowerShellEditorServices/pull/749) - - Fix crash for finding symbols on bad paths -- [PowerShellEditorServices #740](https://github.com/PowerShell/PowerShellEditorServices/pull/740) - - Fix inner help completion -- [PowerShellEditorServices #736](https://github.com/PowerShell/PowerShellEditorServices/pull/736) - - Cache the reflection call done for completions -- [PowerShellEditorServices #737](https://github.com/PowerShell/PowerShellEditorServices/pull/737) - - Remove LINQ usage in language service methods -- [PowerShellEditorServices #743](https://github.com/PowerShell/PowerShellEditorServices/pull/743) - - Remove unnecessary LINQ calls from LanguageServer - -## v1.8.4 -### Friday, August 31, 2018 -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1489](https://github.com/PowerShell/vscode-PowerShell/pull/1489) - - Use asynchronous logic for help completions -- [vscode-PowerShell #1477](https://github.com/PowerShell/vscode-PowerShell/pull/1477) - - Add BitsTransfer & user switch to install latest user profile insiders edition with Install-VSCode.ps1 script (Thanks @tabs-not-spaces!) -- [vscode-PowerShell #1485](https://github.com/PowerShell/vscode-PowerShell/pull/1485) - - Increase connection timeout - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #728](https://github.com/PowerShell/PowerShellEditorServices/pull/728) - - Fix formatter crash when script contains parse errors -- [PowerShellEditorServices #730](https://github.com/PowerShell/PowerShellEditorServices/pull/730) - - Fix crash where lines appended to end of script file causes out of bounds exception -- [PowerShellEditorServices #732](https://github.com/PowerShell/PowerShellEditorServices/pull/732) - - Fix CodeLens crash when a file cannot be opened, stop unnecessary file reads in CodeLens -- [PowerShellEditorServices #729](https://github.com/PowerShell/PowerShellEditorServices/pull/729) - - Fix a null dereference when an invalid cast exception has no inner exception -- [PowerShellEditorServices #719](https://github.com/PowerShell/PowerShellEditorServices/pull/719) - - Reduce allocations in the CodeLens providers -- [PowerShellEditorServices #725](https://github.com/PowerShell/PowerShellEditorServices/pull/725) - - Fix null dereference when debugging untitlted filesj -- [PowerShellEditorServices #726](https://github.com/PowerShell/PowerShellEditorServices/pull/726) - - Fix comment-based help snippet - - -## v1.8.3 -### Wednesday, August 15, 2018 - -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [PowerShell/vscode-powershell #1480](https://github.com/PowerShell/vscode-powershell/pull/1480) - - Use PowerShell signing script in VSTS builds -- [PowerShell/vscode-powershell #1460](https://github.com/PowerShell/vscode-powershell/pull/1460) - - Use newer version for preleases -- [PowerShell/vscode-powershell #1475](https://github.com/PowerShell/vscode-powershell/pull/1475) - - Change resourceLangId to editorLangId so right-click works properly with unsaved files (Thanks @corbob!) -- [PowerShell/vscode-powershell #1467](https://github.com/PowerShell/vscode-powershell/pull/1467) - - Remove region folding from non-region areas (Thanks @glennsarti!) - - #### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShell/PowerShellEditorServices #722](https://github.com/PowerShell/PowerShellEditorServices/pull/722) - - Add VSTS signing step -- [PowerShell/PowerShellEditorServices #717](https://github.com/PowerShell/PowerShellEditorServices/pull/717) - - Increment version for prerelease -- [PowerShell/PowerShellEditorServices #715](https://github.com/PowerShell/PowerShellEditorServices/pull/715) - - Reduce allocations when parsing files (Thanks @mattpwhite!) - -## v1.8.2 -### Thursday, July 26, 2018 - -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [PowerShell/vscode-powershell #1438](https://github.com/PowerShell/vscode-powershell/pull/1438) - - Fix detecting contiguous comment blocks and regions (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1436](https://github.com/PowerShell/vscode-powershell/pull/1436) - - First approach to fix issue with dbg/run start before PSES running (Thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShell/PowerShellEditorServices #712](https://github.com/PowerShell/PowerShellEditorServices/pull/712) - - workaround to support inmemory:// -- [PowerShell/PowerShellEditorServices #706](https://github.com/PowerShell/PowerShellEditorServices/pull/706) - - Go To Definition works with different Ast types -- [PowerShell/PowerShellEditorServices #707](https://github.com/PowerShell/PowerShellEditorServices/pull/707) - - fix stdio passing -- [PowerShell/PowerShellEditorServices #709](https://github.com/PowerShell/PowerShellEditorServices/pull/709) - - Stop Diagnostic logging from logging to stdio when the communication protocol is set to stdio -- [PowerShell/PowerShellEditorServices #710](https://github.com/PowerShell/PowerShellEditorServices/pull/710) - - stdio should only launch language service not debug -- [PowerShell/PowerShellEditorServices #705](https://github.com/PowerShell/PowerShellEditorServices/pull/705) - - Fix load order of PSSA modules -- [PowerShell/PowerShellEditorServices #704](https://github.com/PowerShell/PowerShellEditorServices/pull/704) - - Do not enable PSAvoidTrailingWhitespace rule by default as it currenly flags whitespace-only lines as well (Thanks @bergmeister!) - -## v1.8.1 -### Wednesday, July 11, 2018 - -- [PowerShell/vscode-powershell #1418](https://github.com/PowerShell/vscode-powershell/pull/1418) - - Fix code folding in documents using CRLF newlines. (Thanks @glennsarti!) - -## v1.8.0 -### Tuesday, July 10, 2018 - -- [PowerShell/vscode-powershell #1238](https://github.com/PowerShell/vscode-powershell/pull/1238) - - Added functionality to install the VSCode context menus. (Thanks @detlefs!) -- [PowerShell/vscode-powershell #1354](https://github.com/PowerShell/vscode-powershell/pull/1354) - - Edit snippet to fix issue #1353 (Thanks @kilasuit!) -- [PowerShell/vscode-powershell #1362](https://github.com/PowerShell/vscode-powershell/pull/1362) - - Updated Pester Problem Matcher (Thanks @awickham10!) -- [PowerShell/vscode-powershell #1359](https://github.com/PowerShell/vscode-powershell/pull/1359) - - (maint) Add visual ruler for line length (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1344](https://github.com/PowerShell/vscode-powershell/pull/1344) - - Update to TypeScript 2.9.x (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1323](https://github.com/PowerShell/vscode-powershell/pull/1323) - - SpecProcId - interactive var replacement supports only string type (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1327](https://github.com/PowerShell/vscode-powershell/pull/1327) - - Switch to named pipes -- [PowerShell/vscode-powershell #1321](https://github.com/PowerShell/vscode-powershell/pull/1321) - - GitHub issue template tweaks and add PSSA template (Thanks @bergmeister!) -- [PowerShell/vscode-powershell #1320](https://github.com/PowerShell/vscode-powershell/pull/1320) - - Take advantage of multiple issue templates (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1317](https://github.com/PowerShell/vscode-powershell/pull/1317) - - Change SpecifyScriptArgs command to only return string - not string[] (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1318](https://github.com/PowerShell/vscode-powershell/pull/1318) - - Update package veresion in lock file, format package.json file. (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1312](https://github.com/PowerShell/vscode-powershell/pull/1312) - - Updates to Examples PSSA settings file to include more rule config (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1305](https://github.com/PowerShell/vscode-powershell/pull/1305) - - Make SaveAs work for untitled files -- [PowerShell/vscode-powershell #1307](https://github.com/PowerShell/vscode-powershell/pull/1307) - - Added Columns, Improved readability for ToC. (Thanks @st0le!) -- [PowerShell/vscode-powershell #1368](https://github.com/PowerShell/vscode-powershell/pull/1368) - - Add new snippet for #region (#1368) (Thanks @lipkau!) -- [PowerShell/vscode-powershell #1416](https://github.com/PowerShell/vscode-powershell/pull/1416) - - (GH-1413) Resolve promise correctly in Folding feature (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1412](https://github.com/PowerShell/vscode-powershell/pull/1412) - - Set the extension's log level based on settings value (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1411](https://github.com/PowerShell/vscode-powershell/pull/1411) - - Escape paths w/single quotes before passing to powershell in single-quoted strings (#1411) (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1409](https://github.com/PowerShell/vscode-powershell/pull/1409) - - Rename file to match type name (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1408](https://github.com/PowerShell/vscode-powershell/pull/1408) - - Restore ability to start debug session when script run in PSIC hits breakpoint (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1407](https://github.com/PowerShell/vscode-powershell/pull/1407) - - Scroll the terminal to bottom for F8 executionPartial fix #1257 (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1414](https://github.com/PowerShell/vscode-powershell/pull/1414) - - Update grammar parsing for vscode-textmate v4 module (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1397](https://github.com/PowerShell/vscode-powershell/pull/1397) - - Allow debugging in interactive session with no dir change (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1402](https://github.com/PowerShell/vscode-powershell/pull/1402) - - Move lint directive after the file-header to fix lint error (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1366](https://github.com/PowerShell/vscode-powershell/pull/1366) - - Add support for side-by-side PS Core preview on Linux/macOS (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1391](https://github.com/PowerShell/vscode-powershell/pull/1391) - - Add PowerShell Online Help lookup to context menu (Thanks @corbob!) -- [PowerShell/vscode-powershell #1396](https://github.com/PowerShell/vscode-powershell/pull/1396) - - Add tslint rule file-header to enforce copyright in TS files (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1355](https://github.com/PowerShell/vscode-powershell/pull/1355) - - Add syntax aware folding provider (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1395](https://github.com/PowerShell/vscode-powershell/pull/1395) - - Update community_snippets.md (Thanks @fullenw1!) -- [PowerShell/vscode-powershell #1382](https://github.com/PowerShell/vscode-powershell/pull/1382) - - Fix markdown syntax (Thanks @lipkau!) -- [PowerShell/vscode-powershell #1369](https://github.com/PowerShell/vscode-powershell/pull/1369) - - Update README.md with kbds and what to do if you find a vulnerability -- [PowerShell/vscode-powershell #1297](https://github.com/PowerShell/vscode-powershell/pull/1297) - - Added some snippets (#1297) (Thanks @SQLDBAWithABeard!) - -## 1.7.0 -### Wednesday, April 25, 2018 - -- [PowerShell/vscode-powershell #1285](https://github.com/PowerShell/vscode-powershell/pull/1285) - - Add a community snippet for date-annotated `Write-Verbose` messages. - -- [PowerShell/vscode-powershell #1228](https://github.com/PowerShell/vscode-powershell/issues/1228) - - Make comment-based help trigger always be `##` with a new setting `powershell.helpCompletion` to - allow you to select between help comment styles: `BlockComment` (default) or `LineComment`. - You can also specify Disabled to disable this functionality. - -- [PowerShell/vscode-powershell #603](https://github.com/PowerShell/vscode-powershell/issues/603) - - Fix PowerShell crashing on machines with IPv6 disabled. - -- [PowerShell/vscode-powershell #1243](https://github.com/PowerShell/vscode-powershell/issues/1243) - - Support custom PowerShell executable paths in user configuration which can be selected (via name) - in either user or workspace configuration. - -- [PowerShell/vscode-powershell #1264](https://github.com/PowerShell/vscode-powershell/pull/1264) - - Add support for [Visual Studio Live Share](https://code.visualstudio.com/visual-studio-live-share). - -- [PowerShell/vscode-powershell #1261](https://github.com/PowerShell/vscode-powershell/pull/1261) - - Add support for `$psEditor.GetEditorContext.CurrentFile.SaveAs("NewFileName.ps1")`. - -- [PowerShell/vscode-powershell #1252](https://github.com/PowerShell/vscode-powershell/pull/1252) - - Change the way the extension builds and runs, so that PowerShellEditorServices is self-contained. - -- [PowerShell/vscode-powershell #1248](https://github.com/PowerShell/vscode-powershell/pull/1248) - - Replace `$global:IsOSX` with `$global:IsMacOS`. - -- [PowerShell/vscode-powershell #1246](https://github.com/PowerShell/vscode-powershell/pull/1246) - - Create [community_snippets.md](./docs/community_snippets.md) for user created snippets. - -- [PowerShell/vscode-powershell #1155](https://github.com/PowerShell/vscode-powershell/issues/1155) - - Fix PSES crashes caused by running "Set PSScriptAnalyzer Rules" on an untitled file. - -- [PowerShell/vscode-powershell #1236](https://github.com/PowerShell/vscode-powershell/pull/1236) - - Stop an error occurring when VSCode trims trailing whitespace and sends document update messages. - -- [PowerShell/vscode-powershell #996](https://github.com/PowerShell/vscode-powershell/issues/996) - - Fix `Install-PSCode.ps1` crashing due to `$IsLinux` variable in older PowerShell versions. - -- [PowerShell/vscode-powershell #1234](https://github.com/PowerShell/vscode-powershell/pull/1234) - - Add snippets for Hashtable and PSCustomObject. - -- [PowerShell/vscode-powershell #1233](https://github.com/PowerShell/vscode-powershell/pull/1233) - - Add a keybinding for Show Addtional Commands to Shift-Alt-S. - -- [PowerShell/vscode-powershell #1227](https://github.com/PowerShell/vscode-powershell/pull/1227) - - Add an indicator for when PowerShell is running in the status bar. - -- [PowerShell/vscode-powershell #1225](https://github.com/PowerShell/vscode-powershell/pull/1225) - - Fix launch config not using temporary integrated console setting. - -- [PowerShell/vscode-powershell #1208](https://github.com/PowerShell/vscode-powershell/issues/1208) - - Stop configured temporary windows closing after running Pester tests. - -## 1.6.0 -### Thursday, February 22, 2018 - -#### Fixes and Improvements - -- [PowerShell/vscode-powershell #907](https://github.com/PowerShell/vscode-powershell/issues/907) - - Persist temp console debug session. - -- [PowerShell/vscode-powershell #1198](https://github.com/PowerShell/vscode-powershell/pull/1198) - - Enhance Start-EditorServices.ps1 for better logging and fix bugs. - -- [PowerShell/PowerShellEditorServices #413](https://github.com/PowerShell/PowerShellEditorServices/issues/413) - - Allow opening files as not previews to allow Open-EditorFile to open multiple files passed in. - -- [PowerShell/vscode-powershell #1177](https://github.com/PowerShell/vscode-powershell/issues/1177) - - Add function-advanced snippet. Thanks to [Benny1007](https://github.com/Benny1007)! - -- [PowerShell/vscode-powershell #1179](https://github.com/PowerShell/vscode-powershell/issues/1179) - - Switch onDebug to onDebugResolve:type for better debugging perf. - -- [PowerShell/vscode-powershell #1086](https://github.com/PowerShell/vscode-powershell/issues/1086) - - Add tslint to vscode-powershell and address all issues. - -- [PowerShell/vscode-powershell #1153](https://github.com/PowerShell/vscode-powershell/issues/1153) - - Add docs for ps remoting in vscode. - -- [PowerShell/vscode-powershell #1161](https://github.com/PowerShell/vscode-powershell/pull/1161) - - Check for the expected version of the PowerShell Editor Services module fails because of the wrong function parameters. Thanks to [ant-druha](https://github.com/ant-druha)! - -- [PowerShell/vscode-powershell #1141](https://github.com/PowerShell/vscode-powershell/pull/1141) - - Updated install script minified URL. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! - -- [PowerShell/PowerShellEditorServices #258](https://github.com/PowerShell/PowerShellEditorServices/issues/258) - - add .Save() to FileContext API. - -- [PowerShell/vscode-powershell #1137](https://github.com/PowerShell/vscode-powershell/pull/1137) - - Added 64bit support & vscode-insiders install support. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! - -- [PowerShell/vscode-powershell #1115](https://github.com/PowerShell/vscode-powershell/issues/1115) - - Fixed "Open in ISE" keyboard shortcut from overwriting basic editing keyboard shortcut. - -- [PowerShell/vscode-powershell #1111](https://github.com/PowerShell/vscode-powershell/issues/1111) - - Update examples tasks.json for 2.0.0 schema. - -## 1.5.1 -### Tuesday, November 14, 2017 - -- [PowerShell/vscode-powershell #1100](https://github.com/PowerShell/vscode-powershell/issues/1100) - - Fixed CodeLens on Pester test invocation fails with "Error: command 'vscode.startDebug' not found". - -- [PowerShell/vscode-powershell #1091](https://github.com/PowerShell/vscode-powershell/issues/1091) - - Fixed crash when editing remote file using psedit. - -- [PowerShell/vscode-powershell #1084](https://github.com/PowerShell/vscode-powershell/issues/1084) - - Fixed authenticode signature 'HashMismatch' on Start-EditorServices.ps1. - -- [PowerShell/vscode-powershell #1078](https://github.com/PowerShell/vscode-powershell/issues/1078) - - Fixed debug adapter process terminating when setting breakpoint in an Untitled file or in a Git diff window. - -- Update download.sh to remove macOS OpenSSL check since PowerShell Core Beta and higher no longer depend on OpenSSL. Thanks to [elovelan](https://github.com/elovelan)! - -- Get-Help -ShowWindow will no longer error in the PowerShell Integrated Console. The help window will appear but at the moment, it will appear behind VSCode. - -- Fix language server crash when processing a deep directory structure that exceeds max path. - -## 1.5.0 -### Friday, October 27, 2017 - -#### Fixes and Improvements - -- [PowerShell/vscode-powershell #820](https://github.com/PowerShell/vscode-powershell/issues/820) - - Added new "Upload Bug Report to GitHub" command to make it easy to post an issue to the vscode-powershell GitHub repo. Thanks to [Mark Schill](https://github.com/PowerSchill)! - -- [PowerShell/vscode-powershell #910](https://github.com/PowerShell/vscode-powershell/issues/910) - - Set-VSCodeHtmlContentView cmdlet now exposes `JavaScriptPaths` and `StyleSheetPaths` parameters to allow using JavaScript code and CSS stylesheets in VS Code HTML preview views. - -- [PowerShell/vscode-powershell #909](https://github.com/PowerShell/vscode-powershell/issues/909) - - Write-VSCodeHtmlContentView's AppendBodyContent now accepts input from the pipeline - -- [PowerShell/vscode-powershell #1071](https://github.com/PowerShell/vscode-powershell/pull/1071) - - Updated session menu to find PowerShell Core installs with the new pwsh.exe path - -- [PowerShell/vscode-powershell #842](https://github.com/PowerShell/vscode-powershell/issues/842) - - psedit can now open empty files in remote sessions - -- [PowerShell/vscode-powershell #1040](https://github.com/PowerShell/vscode-powershell/issues/1040) - - Non-PowerShell files opened in remote sessions using psedit can now be saved back to the remote server - -- [PowerShell/vscode-powershell #660](https://github.com/PowerShell/vscode-powershell/issues/660) - - Set/Enable/Disable/Remove-PSBreakpoint commands now cause the VS Code breakpoint UI to be updated while the debugger is active - -- [PowerShell/vscode-powershell #625](https://github.com/PowerShell/vscode-powershell/issues/625) - - Breakpoints are now cleared from the session when the debugger starts so that stale breakpoints from previous sessions are not hit - -- [PowerShell/vscode-powershell #1004](https://github.com/PowerShell/vscode-powershell/issues/1004) - - Handle exception case when finding references of a symbol - -- [PowerShell/vscode-powershell #942](https://github.com/PowerShell/vscode-powershell/issues/942) - - Temporary debugging session now does not hang when running "PowerShell Interactive Session" debugging configuration - -- [PowerShell/vscode-powershell #917](https://github.com/PowerShell/vscode-powershell/issues/917) - - Added PowerShell.InvokeRegisteredEditorCommand command to be used from HTML preview views for invoking editor commands registered in PowerShell. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! - -- [PowerShell/vscode-powershell #872](https://github.com/PowerShell/vscode-powershell/issues/872) - - Watch variables with children are now expandable - -- [PowerShell/vscode-powershell #1060](https://github.com/PowerShell/vscode-powershell/issues/1060) - - $psEditor.Workspace.NewFile() now works again in VSC 1.18.0 Insiders builds - -- [PowerShell/vscode-powershell #1046](https://github.com/PowerShell/vscode-powershell/issues/1046) - - Debugging now works again in VSC 1.18.0 Insiders builds - -- [PowerShell/PowerShellEditorServices #342](https://github.com/PowerShell/PowerShellEditorServices/issues/342) - - Unexpected file URI schemes are now handled more reliably - -- [PowerShell/PowerShellEditorServices #396](https://github.com/PowerShell/PowerShellEditorServices/issues/396) - - Resolved errors being written to Integrated Console when running native applications while transcription is turned on - -- [PowerShell/PowerShellEditorServices #529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - - Fixed an issue with loading the PowerShellEditorServices module in PowerShell Core 6.0.0-beta3 - -- [PowerShell/PowerShellEditorServices #533](https://github.com/PowerShell/PowerShellEditorServices/pull/533) - - Added new $psEditor.GetCommand() method for getting all registered editor commands. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! - -- [PowerShell/PowerShellEditorServices #535](https://github.com/PowerShell/PowerShellEditorServices/pull/535) - - Type information is now exposed on hover for variables in the Variables view - -## 1.4.3 -### Wednesday, September 13, 2017 - -- [#1016](https://github.com/PowerShell/vscode-powershell/issues/1016) - - Fixed a conflict with the "Azure Resource Manager for Visual Studio - Code" extension which prevented the PowerShell extension from loading - successfully. - -## 1.4.2 -### Tuesday, September 5, 2017 - -- [#993](https://github.com/PowerShell/vscode-powershell/issues/993) - - `powershell.powerShellExePath` using Sysnative path should be automatically - corrected when using 64-bit Visual Studio Code -- [#1008](https://github.com/PowerShell/vscode-powershell/issues/1008) - - Windows PowerShell versions (x64 and x86) are not enumerated correctly - when using 64-bit Visual Studio Code -- [#1009](https://github.com/PowerShell/vscode-powershell/issues/1009) - - PowerShell version indicator in status bar is missing tooltip -- [#1020](https://github.com/PowerShell/vscode-powershell/issues/1020) - - "Show Session Menu", "Show Integrated Console", and "Restart Current Session" - commands should cause PowerShell extension to be activated - -## 1.4.1 -### Thursday, June 22, 2017 - -- [PowerShell/PowerShellEditorServices#529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - - Fixed an issue with loading the extension with in PowerShell Core 6.0.0-beta3 - -## 1.4.0 -### Wednesday, June 21, 2017 - -#### New HTML content view commands enabling custom UI tabs - -You can now show editor tabs with custom HTML-based UI by using the -new HTML content view commands! This is the first step toward UI -extensions for VS Code written in PowerShell. - -Here's an example: - -```powershell -$view = New-VSCodeHtmlContentView -Title "My Custom View" -ShowInColumn One -Set-VSCodeHtmlContentView -View $view -Content "

Hello world!

" -Write-VSCodeHtmlContentView $view -Content "I'm adding new content!
" -``` - -And here's the result: - -![HTML view demo](https://user-images.githubusercontent.com/79405/27394133-f96c38cc-565f-11e7-8102-a3727014ea5a.GIF) - -Check out the cmdlet help for the following commands to learn more: - -- `New-VSCodeHtmlContentView` -- `Show-VSCodeHtmlContentView` -- `Close-VSCodeHtmlContentView` -- `Set-VSCodeHtmlContentView` -- `Write-VSCodeHtmlContentView` - -Since this is a first release, we've restricted the use of JavaScript -inside of the HTML. We will add this capability in a future release! - -#### Code formatting setting presets for common styles - -We've now added code formatting presets for the most common code style -conventions used in the PowerShell community: - -- **[OTBS](https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS_.28OTBS.29)** - - Known as the "One True Brace Style". Causes `else`, `catch`, and other - keywords to be "cuddled", keeping them on the same line as the previous - closing brace: - - ```powershell - if ($var -eq $true) { - # Do the thing - } else { - # Do something else - } - ``` - -- **[Stroustrup](https://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup)** - - Causes beginning curly braces to be placed on the same line as the statement: - - ```powershell - if ($var -eq $true) { - # Do the thing - } - else { - # Do something else - } - ``` - -- **[Allman](https://en.wikipedia.org/wiki/Indent_style#Allman_style)** - All curly braces are preceded by a newline: - - ```powershell - if ($var -eq $true) - { - # Do the thing - } - else - { - # Do something else - } - ``` - -- **Custom** - Allows full customization of the code formatting settings. - -In addition, code formatting now respects your `editor.insertSpaces` and -`editor.tabSize` settings! - -#### Debugging in a temporary PowerShell Integrated Console - -We've added the ability to debug your PowerShell code in a temporary -PowerShell Integrated Console so that you have a fresh runspace and -PowerShell process each time you hit F5! - -This setting is necessary if you are developing with PowerShell 5 -classes or modules using .NET assemblies because .NET types cannot -be reloaded inside of the same PowerShell process. This new setting -saves you from reloading your PowerShell session each time you debug -your code! - -You can configure this behavior in two ways: - -- Use the `launch.json` configuration parameter `createTemporaryIntegratedConsole`: - - ```json - { - "type": "PowerShell", - "request": "launch", - "name": "PowerShell Launch Current File in Temporary Console", - "script": "${file}", - "args": [], - "cwd": "${file}", - "createTemporaryIntegratedConsole": true - }, - ``` - -- Configure the setting `powershell.debugging.createTemporaryIntegratedConsole`: - - ```json - "powershell.debugging.createTemporaryIntegratedConsole": true, - ``` - -The default value for these settings is `false`, meaning that the temporary -console behavior is **opt-in**. - -Configuring the user or workspace setting will cause all debugging sessions -to be run in a temporary Integrated Console so it's useful if you would prefer -this to be the default behavior. The `launch.json` setting overrides the user -setting so you can always customize the behavior for a specific launch -configuration. - -#### NewFile() API and Out-CurrentFile command - -You can now create a new untitled file from within the Integrated Console -by using the `$psEditor.Workspace.NewFile()` command! Also, you can send -the formatted output of any PowerShell command to the current file by using -the `Out-CurrentFile` command: - -```powershell -Get-Process | Out-CurrentFile -``` - -Special thanks to [Doug Finke](https://github.com/dfinke) for the contribution! - -#### Other fixes and improvements - -- [#881](https://github.com/PowerShell/vscode-powershell/pull/881) - - When you select a different PowerShell version in the session menu, your choice - is persisted to the `powershell.powerShellExePath` setting. - -- [#891](https://github.com/PowerShell/vscode-powershell/issues/891) - - Pester CodeLenses now run tests without string interpolation of test names - -## 1.3.2 -### Monday, June 12, 2017 - -- [PowerShell/vscode-powershell#864](https://github.com/PowerShell/vscode-powershell/issues/864) - Improved the visibility of hyphen characters on the currently edited line in the PowerShell ISE theme (thanks [Stefan Stranger](https://github.com/stefanstranger)!) - -- [PowerShell/vscode-powershell#857](https://github.com/PowerShell/vscode-powershell/issues/855) - Typing a new function into a file no longer causes the language server to crash - -- [PowerShell/vscode-powershell#855](https://github.com/PowerShell/vscode-powershell/issues/855) - "Format Document" no longer hangs indefinitely - -- [PowerShell/vscode-powershell#859](https://github.com/PowerShell/vscode-powershell/issues/859) - Language server no longer hangs when opening a Pester test file containing dot-sourced script references - -- [PowerShell/vscode-powershell#856](https://github.com/PowerShell/vscode-powershell/issues/856) - CodeLenses for function definitions no longer count the definition itself as a reference and shows "0 references" when there are no uses of that function - -- [PowerShell/vscode-powershell#838](https://github.com/PowerShell/vscode-powershell/issues/838) - Right-clicking a debugger variable and selecting "Add to Watch" now has the desired result - -- [PowerShell/vscode-powershell#837](https://github.com/PowerShell/vscode-powershell/issues/837) - Debugger call stack now navigates correctly to the user's selected stack frame - -- [PowerShell/vscode-powershell#862](https://github.com/PowerShell/vscode-powershell/issues/862) - Terminating errors in the language server now close the Integrated Console immediately and prompt the user to restart the session - -- [PowerShell/PowerShellEditorServices#505](https://github.com/PowerShell/PowerShellEditorServices/issues/505) - Added improved cmdlet help in the PowerShellEditorServices.Commands module - -- [PowerShell/PowerShellEditorServices#509](https://github.com/PowerShell/PowerShellEditorServices/issues/509) - Importing the PowerShellEditorServices.Commands module no longer causes errors to be written about missing help languages - -## 1.3.1 -### Friday, June 9, 2017 - -#### Fixes and improvements - -- [#850](https://github.com/PowerShell/vscode-powershell/issues/850) - - Fixed an issue where lower-cased "describe" blocks were not identified by - the CodeLens feature. - -- [#851](https://github.com/PowerShell/vscode-powershell/issues/851) - - Fixed an issue where the language server would hang when typing out a describe - block. - -- [#852](https://github.com/PowerShell/vscode-powershell/issues/852) - - Fixed an issue where Pester test names would not be detected correctly when - other arguments like -Tags were being used on a Describe block. - -## 1.3.0 -### Friday, June 9, 2017 - -#### CodeLens for running and debugging Pester tests - -We've added two new CodeLens actions that show up above Describe blocks in -your Pester tests, "Run tests" and "Debug tests". By clicking one of these -CodeLenses, your tests will be executed in the Integrated Console with -the debugger attached. You can now set breakpoints and quickly debug a portion -of your test script: - -![Pester CodeLens](https://user-images.githubusercontent.com/79405/26988706-3c054ed0-4d05-11e7-87f0-5bbf16ee73ef.GIF) - -#### CodeLens support for finding references of a function or cmdlet - -We've also added CodeLenses for showing the number of references for a function or -cmdlet that is defined in a script. If you click this CodeLens, the references -pane will appear so that you can navigate through all of the references: - -![References CodeLens](https://user-images.githubusercontent.com/79405/26989245-384a4866-4d07-11e7-9c1e-076dbd7d6eb4.GIF) - -We will add CodeLens support for PowerShell 5+ classes and class methods in a future -update! - -#### Document symbol support for Pester tests - -We've also added document symbol support for Pester tests so that you can easily -navigate among the Describe, Context, and It blocks in large Pester script files: - -![Pester symbols](https://user-images.githubusercontent.com/79405/26989077-91e7a306-4d06-11e7-8e26-916bb78720f8.GIF) - -#### New PowerShell ISE theme - -We now include a new color theme that tries to provide a faithful interpretation -of the PowerShell ISE's style, including a blue console background! To use this -theme open the Command Palette (Ctrl+Shift+P), run the "Preferences: Color Theme" -command, then select "PowerShell ISE". - -![ISE theme](https://user-images.githubusercontent.com/79405/26988805-9769aea6-4d05-11e7-81fc-da79bf1ec3cb.png) - -This is a first attempt at making this happen so [give us feedback](https://git.io/v9jnL) -if you think that the colors can be improved! Super huge thanks to -[Matt McNabb](https://twitter.com/mcnabbmh) for putting this together! - -#### New cmdlets inside the Integrated Console - -Thanks to new PowerShell Editor Services co-maintainer [Patrick Meinecke](https://github.com/SeeminglyScience), -we've gained a new set of useful commands for interacting with the $psEditor APIs -within the Integrated Console: - -- [Find-Ast](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Find-Ast.md) -- [Get-Token](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Get-Token.md) -- [ConvertFrom-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertFrom-ScriptExtent.md) -- [ConvertTo-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertTo-ScriptExtent.md) -- [Set-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Set-ScriptExtent.md) -- [Join-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Join-ScriptExtent.md) -- [Test-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Test-ScriptExtent.md) -- [Import-EditorCommand](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Import-EditorCommand.md) - -This should also resolve the issues some people were seeing when we tried -to load the unsigned temporary script containing `Register-EditorCommand` -on machines with an AllSigned execution policy ([#784]([https://github.com/PowerShell/vscode-powershell/issues/784])). - -#### Fixes and improvements - -- [#827](https://github.com/PowerShell/vscode-powershell/issues/827) - - Fixed an issue where an Output panel will appear with an error when you close - the PowerShell Integrated Terminal - -## 1.2.1 -### Thursday, June 1, 2017 - -#### Fixes and improvements - -- [PowerShell/PowerShellEditorServices#478](https://github.com/PowerShell/PowerShellEditorServices/issues/478) - - Dynamic comment help snippets now generate parameter fields correctly - when `<#` is typed above a `param()` block. - -- [#808](https://github.com/PowerShell/vscode-powershell/issues/808) - - An extra `PS>` is no longer being written to the Integrated Console for - some users who have custom prompt functions. - -- [#813](https://github.com/PowerShell/vscode-powershell/issues/813) - - Finding references of symbols across the workspace now properly handles - inaccessible folders and file paths - -- [#810](https://github.com/PowerShell/vscode-powershell/issues/810) - - `$psEditor.GetEditorContext()` now doesn't throw exceptions when in an - untitled file - -- [#807](https://github.com/PowerShell/vscode-powershell/issues/807) - - The users's previously selected PowerShell session type is now retained - when running the "PowerShell: Restart Current Session" command. - -- [#821](https://github.com/PowerShell/vscode-powershell/issues/821) - - Note properties on PSObjects are now visible in the debugger's Variables - view - -## 1.2.0 -### Wednesday, May 31, 2017 - -#### Dynamic comment-based help snippets now work inside functions ([#763](https://github.com/PowerShell/vscode-powershell/issues/748)) - -You asked for it, you got it! Dynamic comment-based help snippets now work -inside function definitions, both above the `param()` block and at the end -of the function body: - -![Comment help GIF](https://cloud.githubusercontent.com/assets/79405/26637844/6e76cfa6-45d5-11e7-89b8-a2d6a559536b.GIF) - -*NOTE: There is an issue where parameter sections don't get generated inside of a function -with a `[CmdletBinding()]` attribute. This is being tracked at [PowerShell/PSScriptAnalyzer#768](https://github.com/PowerShell/PSScriptAnalyzer/issues/768).* - -#### Session menu now contains entries for PowerShell Core installations on Windows ([#794](https://github.com/PowerShell/vscode-powershell/issues/794)) - -It's now much easier to switch between Windows PowerShell and PowerShell Core installs -on Windows. When you run the "PowerShell: Show Session Menu" command or click the -PowerShell version indication in the status bar you'll now see PowerShell Core entries -in the menu: - -![Session menu](https://cloud.githubusercontent.com/assets/79405/26637984/d177f5f8-45d5-11e7-9def-705b3fa68953.png) - -#### Improved PSScriptAnalyzer marker display and suppression snippets ([#781](https://github.com/PowerShell/vscode-powershell/issues/781)) and ([#783](https://github.com/PowerShell/vscode-powershell/issues/783)) - -The green squiggle markers you receive from PSScriptAnalyzer now include the -name of the corresponding rule in their description: - -![Rule name](https://cloud.githubusercontent.com/assets/79405/26638073/15aaaaae-45d6-11e7-93a0-cf6d5397553e.png) - -This is really helpful with the new rule suppression snippets contributed by -[Jos Verlinde](https://github.com/Josverl)! You can access them by typing -`suppress-` and selecting one of the suppression snippet options: - -![Suppress rule](https://cloud.githubusercontent.com/assets/79405/26638390/d8c42164-45d6-11e7-8844-a34a314654a5.GIF) - -#### New built-in Pester problem matcher ([#798](https://github.com/PowerShell/vscode-powershell/issues/798)) - -We now include a built-in [problem matcher](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher) -for Pester test output so that you don't need to define one in your `tasks.json` -file any longer! You can reference the built-in problem matcher in your test -tasks by using the name `$pester`: - -```json - { - "taskName": "Test", - "suppressTaskName": true, - "isTestCommand": true, - "showOutput": "always", - "args": [ "Invoke-Pester -PesterOption @{IncludeVSCodeMarker=$true}" ], - "problemMatcher": "$pester" - } -``` - -*NOTE: There is an issue with problem matchers when using the new `2.0.0` -version of VS Code's task runner. Pester errors may show up multiple -times in the Problems panel. This issue is being tracked at -[#797](https://github.com/PowerShell/vscode-powershell/issues/797).* - -#### Other fixes and improvements - -- [#710](https://github.com/PowerShell/vscode-powershell/issues/710) - - Variable definitions can now be found across the workspace - -- [#771](https://github.com/PowerShell/vscode-powershell/issues/771) - - Improved dynamic comment help snippet performance in scripts with many functions - -- [#786](https://github.com/PowerShell/vscode-powershell/issues/786) - - Running the "Show Integrated Console" command will now start the extension - if it isn't already started - -- [#774](https://github.com/PowerShell/vscode-powershell/issues/774) - - Pressing Enter now causes custom prompt functions to be fully evaluated - -- [#770](https://github.com/PowerShell/vscode-powershell/issues/770) - - Fixed issue where custom prompt function might be written twice when - starting the integrated console - -- [#767](https://github.com/PowerShell/vscode-powershell/issues/767) - - Fixed placeholder navigation for many built-in snippets - -- [#782](https://github.com/PowerShell/vscode-powershell/issues/782) - - Fixed extension host crash when restarting the PowerShell session - -- [#737](https://github.com/PowerShell/vscode-powershell/issues/737) - - Fixed hangs and high CPU when restarting or switching between PowerShell sessions - -- [#777](https://github.com/PowerShell/vscode-powershell/issues/777) - - Changed "Starting PowerShell" message to clearly indicate that we're in the - PowerShell Integrated Console - -## 1.1.0 -### Thursday, May 18, 2017 - -#### New dynamic snippet for adding comment-based help ([#748](https://github.com/PowerShell/vscode-powershell/issues/748)) - -We've added a really cool new feature that enables you to create comment-based -help blocks with ease! When you've defined a function in a PowerShell script -file, you can now start typing a comment block above the function definition -and it will be completed for you: - -![Help Comment GIF](https://cloud.githubusercontent.com/assets/79405/26216440/f31a47c8-3bb8-11e7-9fbc-7e3fb596c0ea.GIF) - -This comment block works like a snippet, allowing you to tab through the fields -to quickly add documentation for the parts you care about. - -This is a first pass for this feature and we plan to do more with it in the future. -Please feel free to [file feature requests](https://git.io/v9jnL) for anything else -you'd like to see! - -#### Breakpoints hit in the Integrated Console now activate the debugger UI ([#619](https://github.com/PowerShell/vscode-powershell/issues/619)) - -In previous releases it was necessary to start the "PowerShell Interactive Session" -debugging configuration before you could run a command or script from the Integrated -Console and hit breakpoints in the editor UI. We've just removed this limitation! - -Now when you set a breakpoint using `Set-PSBreakpoint` and run a script or command in the -Integrated Console, the debugger UI now gets activated: - -![Debugger Activate GIF](https://cloud.githubusercontent.com/assets/79405/26217019/d17708f2-3bba-11e7-982f-4d481c2cf533.GIF) - -Note that breakpoints set in the Integrated Console [still do not show up](https://github.com/PowerShell/vscode-powershell/issues/660) -in the editor UI; this requires [changes to VS Code](https://github.com/Microsoft/vscode/issues/8642) -that we'll be contributing for their next feature release. - -#### Improved output when loading profile scripts ([#663](https://github.com/PowerShell/vscode-powershell/issues/663) and [#689](https://github.com/PowerShell/vscode-powershell/issues/689)) - -We now write the errors and Write-Output calls that occur while loading profile -scripts so that it's easier to diagnose issues with your profile scripts. This -fix will help us identify the things missing from the Integrated Console which -cause your profile scripts to fail (like the current lack of a [PrivateData object for setting console colors](https://github.com/PowerShell/vscode-powershell/issues/571)). - -Please feel free to [file issues](https://git.io/v9jnL) for anything that causes -your profile scripts to throw errors when they get loaded! - -#### Other fixes and improvements - -- [#751](https://github.com/PowerShell/vscode-powershell/issues/751) - - Removed keybinding for the "Find PowerShell Modules from the Gallery" command - because it conflicts with VS Code's default "Format Selection" keybinding. - -- [#739](https://github.com/PowerShell/vscode-powershell/issues/739) - - Fixed wording of PowerShell extension commands to have consistent capitalization. - Thanks to [@AndySchneiderDev](https://github.com/AndySchneiderDev) for the - contribution! - -## 1.0.0 -### Wednesday, May 10, 2017 - -We are excited to announce that we've reached version 1.0! For more information, -please see the [official announcement](https://blogs.msdn.microsoft.com/powershell/2017/05/10/announcing-powershell-for-visual-studio-code-1-0/) -on the PowerShell Team Blog. - -#### New script argument UI when debugging ([#705](https://github.com/PowerShell/vscode-powershell/issues/705)) - -You can now set PowerShell debugger configurations to prompt for arguments to be -passed to your script when it is executed. This is configured using the new -`${command:SpecifyScriptArgs}` configuration variable in `launch.json`: - -```json - { - "type": "PowerShell", - "request": "launch", - "name": "PowerShell Launch DebugTest.ps1 w/Args Prompt", - "script": "${workspaceRoot}/DebugTest.ps1", - "args": [ "${command:SpecifyScriptArgs}" ], - "cwd": "${file}" - } -``` - -When you launch this configuration you will see a UI popup asking for arguments: - - -![image](https://cloud.githubusercontent.com/assets/5177512/25560503/e60e9822-2d12-11e7-9837-29464d077082.png) - -You can type your arguments to the script as you would in PowerShell: - -``` --Count 5 -``` - -In future executions of this configuration, you will be presented with the arguments -you typed the last time you ran it so that you can easily edit them and test variations! - -#### New hash table alignment formatting rule ([#672](https://github.com/PowerShell/vscode-powershell/issues/672)) - -We've added a new code formatting rule that automatically aligns the equal sign -in assignments of keys in hash tables or DSC configurations. It also works with -nested hash tables! Here's a simple example: - -**Before** - -```powershell -$formatTest = @{ - Apple = 4 - Tangerine = @{ - Orange = 2 - CornflowerBlue = 6 - } - Banana = 3 -} -``` - -**After** - -```powershell - -$formatTest = @{ - Apple = 4 - Tangerine = @{ - Orange = 2 - CornflowerBlue = 6 - } - Banana = 3 -} -``` - -This formatting rule is enabled by default but can be disabled with the following -setting: - -``` -"powershell.codeFormatting.alignPropertyValuePairs": false -``` - -#### Added basic module-wide function references support - -In the past, finding the references or definition of a function in `FileA.ps1` only -worked if `FileA.ps1` had an explicit dot-source invocation of `FileB.ps1`. We have -removed this limitation so that you can now find definitions and references of any -function across all the script files in your project folder! This is especially -useful if you write PowerShell modules where all of the source files are dot-sourced -inside of the .psm1 file. - -This new implementation is very basic and may give unexpected results, so please [file -an issue on GitHub](https://github.com/PowerShell/vscode-powershell/issues) if you get -a result you did not expect! - -#### Other integrated console and debugger improvements - -- Fixed [#698](https://github.com/PowerShell/vscode-powershell/issues/698) - - When debugging scripts in the integrated console, the cursor position should now - be stable after stepping through your code! Please let us know if you see any - other cases where this issue appears. - -- Fixed [#626](https://github.com/PowerShell/vscode-powershell/issues/626) - - Fixed an issue where debugging a script in one VS Code window would cause that script's - output to be written to a different VS Code window in the same process. - -- Fixed [#618](https://github.com/PowerShell/vscode-powershell/issues/618) - - Pressing enter on an empty command line in the Integrated Console no longer adds the - empty line to the command history. - -- Fixed [#617](https://github.com/PowerShell/vscode-powershell/issues/617) - - Stopping the debugger during a prompt for a mandatory script parameter no - longer crashes the language server. - -- Fixed [PowerShellEditorServices #428](https://github.com/PowerShell/PowerShellEditorServices/issues/428) - - Debugger no longer hangs when you stop debugging while an input or choice prompt is - active in the integrated console. - -## 0.12.2 -### Friday, April 7, 2017 - -- Fixed [#662](https://github.com/PowerShell/vscode-powershell/issues/662) - - Changed usage of `$env:PSMODULEPATH` to `$env:PSModulePath` to conform to - a recent change in PowerShell 6 ([PowerShell/PowerShell#3255](https://github.com/PowerShell/PowerShell/pull/3255)) - which makes the casing of `PSModulePath` consistent between Windows and - the *NIX platforms. - - **NOTE: This is a breaking change for PowerShell extension users on Linux and macOS** - - If you are using PowerShell 6.0.0-alpha.17 or lower you **will** need to upgrade - to 6.0.0-alpha.18. - -- Fixed [#645](https://github.com/PowerShell/vscode-powershell/issues/645) - - "Go to Definition" or "Find References" now work in untitled scripts without - crashing the session -- Fixed [#632](https://github.com/PowerShell/vscode-powershell/issues/632) - - Debugger no longer hangs when launched while PowerShell session is still - initializing -- Fixed [#655](https://github.com/PowerShell/vscode-powershell/issues/655) - - Fixed an issue with current working directory being set incorrectly when - debugging untitled script files -- Fixed [PowerShellEditorServices #430](https://github.com/PowerShell/PowerShellEditorServices/issues/430) - - Resolved occasional IntelliSense slowness by preventing the implicit loading - of the PowerShellGet and PackageManagement modules. This change will be reverted - once a bug in PackageManagement is fixed. -- Fixed [PowerShellEditorServices #427](https://github.com/PowerShell/PowerShellEditorServices/issues/427) - - Fixed an occasional crash when requesting editor IntelliSense while running - a script in the debugger -- Fixed [PowerShellEditorServices #416](https://github.com/PowerShell/PowerShellEditorServices/issues/416) - - Cleaned up errors that would appear in the `$Errors` variable from the use - of `Get-Command` and `Get-Help` in IntelliSense results - -## 0.12.1 -### Tuesday, April 4, 2017 - -- Fixed [#648](https://github.com/PowerShell/vscode-powershell/issues/648) - - Resolved an error when launching an untitled script file in a workspace - with no launch.json or in a window without a workspace path - -## 0.12.0 -### Tuesday, April 4, 2017 - -#### Debugging untitled files ([#555](https://github.com/PowerShell/vscode-powershell/issues/555)) - -You can now debug untitled files that are set to the PowerShell language mode. When you -create a new untitled file, use the "Change Language Mode" command (Ctrl+K M) -and choose "PowerShell" from the menu that appears. You can now press F5 to start -debugging the script file without saving it. - -In the upcoming 1.11.0 release of Visual Studio Code (or in the current VS Code Insiders -release), you can configure the new `files.defaultLanguage` setting to `powershell` in either -your User or Workspace settings to cause all untitled files to be created with the PowerShell -mode by default. This will allow you to create new PowerShell scripts and debug them -immediately without saving first! - -#### New right-click context menu for Run Selection ([#581](https://github.com/PowerShell/vscode-powershell/issues/581)) - -By user request, we've also added a new "Run Selection" item in the right-click context menu -for PowerShell script files: - -![image](https://cloud.githubusercontent.com/assets/79405/24670885/a18513fe-1924-11e7-91d3-dc14c6cbfad9.png) - -#### Debugging improvements - -- Fixed [#620](https://github.com/PowerShell/vscode-powershell/issues/620) - - PowerShell session now does not crash when a breakpoint is hit outside of - debug mode - -- Fixed [#614](https://github.com/PowerShell/vscode-powershell/issues/614) - - Auto variables are now populating correctly in the debugger. **NOTE**: There is - a known issue where all of a script's variables begin to show up in the - Auto list after running a script for the first time. This is caused by - a change in 0.11.0 where we now dot-source all debugged scripts. We will - provide an option for this behavior in the future. - -- Fixed [#641](https://github.com/PowerShell/vscode-powershell/issues/641) - - PowerShell script files with capitalized extensions (.PS1, .PSM1) can now - be launched in the debugger - -- Fixed [#616](https://github.com/PowerShell/vscode-powershell/issues/616) - - Debugger now shows column position indicators when debugging pipelines or - nested expressions: - - ![image](https://cloud.githubusercontent.com/assets/79405/24316990/2157480e-10b0-11e7-8a61-19fde63edfb7.png) - -#### Integrated console improvements - -- Fixed [PowerShell/PowerShellEditorServices#411](https://github.com/PowerShell/PowerShellEditorServices/issues/411) - - Commands run outside of the integrated console prompt now interrupt the prompt - correctly. This resolves a class of issues that appear when running commands - in the extension like "New Project from Plaster Template" or any `$psEditor` - commands added with the "Register-EditorCommand" function. Running any of - these commands will now cause the current input prompt to be cancelled so that - the command's output will be written correctly. - -#### Code formatting improvements - -- Fixed [#595](https://github.com/PowerShell/vscode-powershell/issues/595) - - High CPU usage when using formatOnType has now been resolve - -- Fixed [#559](https://github.com/PowerShell/vscode-powershell/issues/559) - - The `newLineAfterCloseBrace` behavior has been improved to respect common syntax - usages - -- Fixed[PowerShell/PowerShellEditorServices#380](https://github.com/PowerShell/PowerShellEditorServices/issues/380) - - The `whitespaceBeforeOpenBrace` behavior now leaves "magic" functions with the - correct formatting. For example: `(0 .. 10).foreach{$_}` now does not have a - whitespace inserted before the `{`. - -#### New Project with Plaster improvements - -- Fixed [#643](https://github.com/PowerShell/vscode-powershell/issues/643) - - Running Plaster using the New Project command now interrupts the command prompt - correctly - -- Fixed [#504](https://github.com/PowerShell/vscode-powershell/issues/504) - - Confirming default values in Plaster input prompts by pressing Enter now works - correctly - -#### Other fixes and improvements - -- Added [#639](https://github.com/PowerShell/vscode-powershell/pull/639) and - [#640](https://github.com/PowerShell/vscode-powershell/pull/640) - - Our configuration setting descriptions have been edited for superior clarity - thanks to [June Blender](https://github.com/juneb)! - -- Fixed [#611](https://github.com/PowerShell/vscode-powershell/pull/640) - - Example-* snippets are now displaying correctly in IntelliSense results - -- Added [#624](https://github.com/PowerShell/vscode-powershell/pull/624) - - When you update the PowerShell extension after this release, you will now see - version update indicators which offer to display the changelog in a preview - tab - -## 0.11.0 -### Wednesday, March 22, 2017 - -#### Remotely edited files can now be saved - -- Added [#583](https://github.com/PowerShell/vscode-powershell/issues/583) - - When you open files in a remote PowerShell session with the `psedit` command, - their updated contents are now saved back to the remote machine when you save - them in the editor. - -#### Integrated console improvements - -- Fixed [#533](https://github.com/PowerShell/vscode-powershell/issues/533) - - The backspace key now works in the integrated console on Linux and macOS. This - fix also resolves a few usability problems with the integrated console on all - supported OSes. - -- Fixed [542](https://github.com/PowerShell/vscode-powershell/issues/542) - - Get-Credential now hides keystrokes correctly on Linux and macOS. - -We also added some new settings ([#580](https://github.com/PowerShell/vscode-powershell/issues/580), -[#588](https://github.com/PowerShell/vscode-powershell/issues/588)) to allow fine-tuning -of the integrated console experience: - -- `powershell.startAutomatically` (default: `true`) - If true, causes PowerShell extension - features to start automatically when a PowerShell file is opened. If false, the user must - initiate startup using the 'PowerShell: Restart Current Session' command. IntelliSense, - code navigation, integrated console, code formatting, and other features will not be - enabled until the extension has been started. Most users will want to leave this - setting to `true`, though it was added to save CPU cycles if you often use new VS Code - instances to quickly view PowerShell files. - -- `powershell.integratedConsole.showOnStartup` (default: `true`) - If true, causes the - integrated console to be shown automatically when the PowerShell extension is initialized. - -- `powershell.integratedConsole.focusConsoleOnExecute` (default: `true`) - If `true`, - causes the integrated console to be focused when a script selection is run or a - script file is debugged. - -#### Interactive debugging improvements - -- Added [#540](https://github.com/PowerShell/vscode-powershell/issues/540) - - The scripts that you debug are now dot-sourced into the integrated console's - session, allowing you to experiment with the results of your last execution. - -- Added [#600](https://github.com/PowerShell/vscode-powershell/issues/600) - - Debugger commands like `stepInto`, `continue`, and `quit` are now available - in the integrated console while debugging a script. - -- Fixed [#596](https://github.com/PowerShell/vscode-powershell/issues/596) - - VS Code's Debug Console now warns the user when it is used while debugging - a script. All command evaluation now happens through the integrated console - so this message should help alleviate confusion. - -#### Other fixes and improvements - -- Fixed [#579](https://github.com/PowerShell/vscode-powershell/issues/579) - - Sorting of IntelliSense results is now consistent with the PowerShell ISE -- Fixed [#591](https://github.com/PowerShell/vscode-powershell/issues/591) - - "Editor commands" registered with the `Register-EditorCommand` function are - now sorted alphabetically by their `Name` field, causing commands to be grouped - based on their source module. -- Fixed [#575](https://github.com/PowerShell/vscode-powershell/issues/575) - - The interactive console no longer starts up with errors in the `$Error` variable. -- Fixed [#599](https://github.com/PowerShell/vscode-powershell/issues/599) - - The [SSASCMDLETS module](https://msdn.microsoft.com/en-us/library/hh213141.aspx?f=255&MSPPError=-2147217396) - from SQL Server Analytics Service should now load correctly in the integrated - console. - -## 0.10.1 -### Thursday, March 16, 2017 - -#### Fixes and improvements - -- Fixed [#566](https://github.com/PowerShell/vscode-powershell/issues/566) - - Enable editor IntelliSense while stopped at a breakpoint -- Fixed [#556](https://github.com/PowerShell/vscode-powershell/issues/556) - - Running and debugging scripts in the integrated console should not steal focus from the editor -- Fixed [#543](https://github.com/PowerShell/vscode-powershell/issues/543) - - Keyboard input using AltGr Ctrl+Alt modifiers does not work -- Fixed [#421](https://github.com/PowerShell/vscode-powershell/issues/421) - - Session startup should give a helpful error message if ConstrainedLanguage mode is turned on -- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401) - - Session startup should indicate if current PowerShell version is unsupported (PSv1 and v2) -- Fixed [#454](https://github.com/PowerShell/vscode-powershell/issues/454) - - ExecutionPolicy set via group policy or registry key should not cause language server to crash -- Fixed [#532](https://github.com/PowerShell/vscode-powershell/issues/532) - - DEVPATH environment variable not being set for interactive console session -- Fixed [PowerShellEditorServices #387](https://github.com/PowerShell/PowerShellEditorServices/issues/387) - - Write-(Warning, Verbose, Debug) are missing message prefixes and foreground colors -- Fixed [PowerShellEditorServices #382](https://github.com/PowerShell/PowerShellEditorServices/issues/382) - - PSHostUserInterface implementation should set SupportsVirtualTerminal to true - -## 0.10.0 -### Tuesday, March 14, 2017 - -#### New interactive console experience - -We are excited to provide you with the first release of our new interactive -console experience! When you open up a PowerShell script file, you will -be greeted with a new VS Code integrated terminal window called -"PowerShell Integrated Console" - -![integrated console screenshot](https://cloud.githubusercontent.com/assets/79405/23910661/b599f2ee-0897-11e7-9426-00af794c10b5.png) - -In this console you will have an experience that falls somewhere between -the PowerShell ISE and the PowerShell console host: - -- Tab completion of commands and their parameters -- Basic command history, accessed using the up/down arrow keys -- The `psedit` command opens existing files in an editor pane -- Pressing F8 in an editor pane runs the current line or selection in the console -- Native applications like `git` are fully supported -- Script debugging shares the same console session with the editor for - a true ISE-like debugging experience - -It even works with your fancy prompt function if configured in your -VS Code profile (`$HOME\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1`): - -![custom prompt screenshot](https://cloud.githubusercontent.com/assets/79405/23910654/b1bca66c-0897-11e7-81b1-70eff5b97c21.png) - -The integrated console is supported on PowerShell v3 through v6 and works -on Linux and macOS with PowerShell Core. By default you don't have to -configure which PowerShell to run, we will pick an appropriate default -based on your platform. If you'd like to choose a different install -of PowerShell you can always change the `powershell.developer.powerShellExePath` -setting. - -Keep in mind that this is the first release for this feature and there are -bound to be issues and missing functionality. Please feel free to file -GitHub issues for any bugs or feature requests! - -##### Known Issues and Limitations - -- [#535](https://github.com/PowerShell/vscode-powershell/issues/535) PSReadline - is currently **not** supported in the integrated console. We will enable this - in a future release. -- [#534](https://github.com/PowerShell/vscode-powershell/issues/534) Integrated console - prompt is not restarted when you stop the debugging of a local runspace in another - process. This will be addressed soon in a patch update. -- [#533](https://github.com/PowerShell/vscode-powershell/issues/533) Backspace key - does not work in the integrated console on Linux and macOS. The workaround for now - is to use Ctrl+H instead of the Backspace key. This will be addressed - soon in a patch update. -- [#536](https://github.com/PowerShell/vscode-powershell/issues/536) Integrated console - sometimes does not have a scrollbar at startup. The workaround is to resize the width - of the VS Code window slightly and the scrollbar will appear. This will be addressed - soon in a patch update. - -#### Get-Credential and PSCredential support - -Now that we have the integrated console, we have added support for the `Get-Credential` -cmdlet, `Read-Host -AsSecureString`, and any input prompt of type `SecureString` or `PSCredential`. -When you run any of these cmdlets you will be prompted inside the integrated console: - -![credential screenshot](https://cloud.githubusercontent.com/assets/79405/23910668/bac9019c-0897-11e7-80e2-eaf1b9e507f8.png) - -#### Code formatting improvements - -We now support VS Code's `editor.formatOnType` setting so that your code gets formatted -as you type! Formatting will be triggered when you press Enter or the closing curly -brace character `}`. - -Based on your feedback, we've also added new code formatting options, all of which -are turned on by default: - -- `powershell.codeFormatting.newLineAfterCloseBrace` - Causes a newline to be inserted - after a closing brace in multi-line expressions like if/else -- `powershell.codeFormatting.whitespaceBeforeOpenBrace` - Causes whitespace to be - inserted before an open brace like `Foreach-Object {` -- `powershell.codeFormatting.whitespaceBeforeOpenParen` - Causes whitespace to be - inserted before an open parentheses like `if (` -- `powershell.codeFormatting.whitespaceAroundOperator` - Causes whitespace to be - inserted around operators like `=` or `+` -- `powershell.codeFormatting.whitespaceAfterSeparator` - Causes whitespace to be - inserted around separator characters like `;` and `,` -- `powershell.codeFormatting.ignoreOneLineBlock` - Single-line expressions, like - small if/else statements, will not be expanded to multiple lines. - -We've also made many improvements to the performance and stability of the formatter. - -#### Debugging improvements - -We've added a new configuration for debugging your Pester tests. By default it -merely runs `Invoke-Pester` at the workspace path, but you can also edit the -configuation to add additional arguments to be passed through. - -We've also added support for column breakpoints. Now you can set a breakpoint -directly within a pipeline by placing your cursor at any column on a line and -running the `Debug: Column Breakpoint` command: - -![column breakpoint screenshot](https://cloud.githubusercontent.com/assets/79405/23910649/aaef70e4-0897-11e7-93b7-0d729969a1e2.png) - -For the latest PowerShell Core release ([6.0.0-alpha.17](https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-alpha.17)), -we have also added the ability to step into ScriptBlocks that are executed on another -machine using `Invoke-Command -Computer`. - -Set a breakpoint on an `Invoke-Command` line and then once it's hit: - -![Invoke-Command screenshot](https://cloud.githubusercontent.com/assets/79405/23911032/c01b8ff6-0898-11e7-89e3-02a31d419fc5.png) - -Press `F11` and you will step into the ScriptBlock. You can now continue to use -"step in" and trace the ScriptBlock's execution on the remote machine: - -![remote script listing screenshot](https://cloud.githubusercontent.com/assets/79405/23918844/ca86cf28-08b1-11e7-8014-c689cdcccf87.png) - -Note that you cannot currently set breakpoints in the script listing file as -this code is being executed without an actual script file on the remote machine. - -#### Other fixes and improvements - -- Fixed [#427](https://github.com/PowerShell/vscode-powershell/issues/427) - - The keybinding for "Expand Alias" command has been changed to Shift+Alt+E -- Fixed [#519](https://github.com/PowerShell/vscode-powershell/issues/519) - - Debugger hangs after continuing when watch expressions are set -- Fixed [#448](https://github.com/PowerShell/vscode-powershell/issues/448) - - Code formatter should keep indentation for multi-line pipelines -- Fixed [#518](https://github.com/PowerShell/vscode-powershell/issues/518) - - Code formatter fails when dollar-paren `$()` expressions are used -- Fixed [#447](https://github.com/PowerShell/vscode-powershell/issues/447) - - Code formatter crashes when run on untitled documents - -## 0.9.0 -### Thursday, January 19, 2017 - -#### New PowerShell code formatter - -We've added a formatter for PowerShell code which allows you to format an -entire file or a selection within a file. You can access this formatter by -running VS Code's `Format Document` and `Format Selection` commands inside -of a PowerShell file. - -You can configure code formatting with the following settings: - -- `powershell.codeFormatting.openBraceOnSameLine` - Places open brace on the - same line as its associated statement. Default is `true`. -- `powershell.codeFormatting.newLineAfterOpenBrace` - Ensures that a new line - occurs after an open brace (unless in a pipeline statement on the same line). - Default is `true` -- `editor.tabSize` - Specifies the indentation width for code blocks. This - is a VS Code setting but it is respected by the code formatter. -- `editor.formatOnSave` - If true, automatically formats when they are saved. - This is a VS Code setting and may also affect non-PowerShell files. - -Please note that this is only a first pass at PowerShell code formatting, it -may not format your code perfectly in all cases. If you run into any issues, -please [file an issue](https://github.com/PowerShell/vscode-powershell/issues/new) -and give us your feedback! - -#### Streamlined debugging experience - launch.json is now optional! - -**NOTE: This improvement depends on VS Code 1.9.0 which is due for release -early February!** However, you can try it out right now with the [VS Code Insiders](https://code.visualstudio.com/insiders) -release. - -Thanks to a new improvement in VS Code's debugging APIs, we are now able to -launch the PowerShell debugger on a script file without the need for a `launch.json` -file. You can even debug individual PowerShell scripts without opening a -workspace folder! Don't worry, you can still use a `launch.json` file to configure -specific debugging scenarios. - -We've also made debugger startup much more reliable. You will no longer see the -dreaded "Debug adapter terminated unexpectedly" message when you try to launch -the debugger while the language server is still starting up. - -#### Support for debugging remote and attached runspaces - -We now support remote PowerShell sessions via the [`Enter-PSSession`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pssession) -cmdlet. This cmdlet allows you to create a PowerShell session on another machine -so that you can run commands or debug scripts there. The full debugging -experience works with these remote sessions on PowerShell 4 and above, allowing -you to set breakpoints and see remote files be opened locally when those breakpoints -are hit. - -For PowerShell 5 and above, we also support attaching to local and remote PowerShell -host processes using the [`Enter-PSHostProcess`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pshostprocess) -and [`Debug-Runspace`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.utility/debug-runspace) -cmdlets. This allows you to jump into another process and then debug a script that -is already running in one of the runspaces in that process. The debugger will break -execution of the running script and then the associated script file will be opened -in the editor so that you can set breakpoints and step through its execution. - -We've also added a new `launch.json` configuration for debugging PowerShell host processes: - -![Process launch configuration screenshot](https://cloud.githubusercontent.com/assets/79405/22089468/391e8120-dda0-11e6-950c-64f81b364c35.png) - -When launched, the default "attach" configuration will prompt you with a list of -PowerShell host processes on the local machine so that you can easily select one -to be debugged: - -![Process selection UI screenshot](https://cloud.githubusercontent.com/assets/79405/22081037/c205e516-dd76-11e6-834a-66f4c38e181d.png) - -You can also edit the launch configuration to hardcode the launch parameters, even -setting a remote machine to connect to before attaching to the remote process: - -```json - { - "type": "PowerShell", - "request": "attach", - "name": "PowerShell Attach to Host Process", - "computerName": "my-remote-machine", - "processId": "12345", - "runspaceId": 1 - } -``` - -Please note that we currently do not yet support initiating remote sessions from Linux -or macOS. This will be supported in an upcoming release. - -#### Initial support for remote file opening using `psedit` - -Another nice improvement is that we now support the `psedit` command in remote and -attached sessions. This command allows you to open a file in a local or remote session -so that you can set breakpoints in it using the UI before launching it. For now these -remotely-opened files will not be saved back to the remote session when you edit and -save them. We plan to add this capability in the next feature update. - -#### New "interactive session" debugging mode - -You can now create a new launch configuration which drops you directly into the -debug console so that you can debug your scripts and modules however you wish. -You can call Set-PSBreakpoint to set any type of breakpoint and then invoke your -code through the console to see those breakpoints get hit. This mode can also be -useful for debugging remote sessions. - -![Interactive session config screenshot](https://cloud.githubusercontent.com/assets/79405/22089502/5e56b4c6-dda0-11e6-8a51-f24e29ce7988.png) - -Please note that this is NOT a replacement for a true interactive console experience. -We've added this debugging configuration to enable a few other debugging scenarios, like -debugging PowerShell modules, while we work on a true interactive console experience using -VS Code's Terminal interface. - -#### New document symbol support for PSD1 files - -We've extended our document symbol support to `.psd1` files to make it really easy to -navigate through them. When you have a `.psd1` file open, run the `Go to Symbol in File...` -command (Ctrl + Shift + O) and you'll see this popup: - -![psd1 symbol screenshot](https://cloud.githubusercontent.com/assets/79405/22094872/85c7d9a2-ddc5-11e6-9bee-5fc8c3dae097.png) - -You can type a symbol name or navigate using your arrow keys. Once you select one of the -symbol names, the editor pane will jump directly to that line. - -#### Other fixes and improvements - -- Added a new `Open Examples Folder` command to easily open the extension's - example script folder. -- Added a new setting `powershell.developer.powerShellExeIsWindowsDevBuild` - which, when true, indicates that the `powerShellExePath` points to a Windows - PowerShell development build. -- Fixed [#395](https://github.com/PowerShell/vscode-powershell/issues/395): - Quick Fix for PSAvoidUsingAliases rule replaces the entire command -- Fixed [#396](https://github.com/PowerShell/vscode-powershell/issues/396): - Extension commands loaded in PowerShell profile are not being registered -- Fixed [#391](https://github.com/PowerShell/vscode-powershell/issues/391): - DSC IntelliSense can cause the language server to crash -- Fixed [#400](https://github.com/PowerShell/vscode-powershell/issues/400): - Language server can crash when selecting PSScriptAnalyzer rules -- Fixed [#408](https://github.com/PowerShell/vscode-powershell/issues/408): - Quick fix requests meant for other extensions crash the language server -- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401): - Extension startup should indicate if the current PowerShell version is unsupported -- Fixed [#314](https://github.com/PowerShell/vscode-powershell/issues/314): - Errors/Warnings still show up in Problems window when file is closed -- Fixed [#388](https://github.com/PowerShell/vscode-powershell/issues/388): - Syntax errors are not reported when powershell.scriptAnalysis.enable is set to false - -## 0.8.0 -### Friday, December 16, 2016 - -#### Improved PowerShell session management - -It's now much easier to manage the active PowerShell session. We've added a -new item to the status bar to indicate the state of the session and the version -of PowerShell you're using: - -![Screenshot of status indicator](https://cloud.githubusercontent.com/assets/79405/21247551/fcf2777c-c2e4-11e6-9659-7349c35adbcd.png) - -When this status item is clicked, a new menu appears to give you some session -management options: - -![Screenshot of session menu](https://cloud.githubusercontent.com/assets/79405/21247555/009fa64c-c2e5-11e6-8171-76914d3366a0.png) - -You can restart the active session, switch between 32-bit and 64-bit PowerShell on -Windows or switch to another PowerShell process (like a 6.0 alpha build) that -you've configured with the `powershell.developer.powerShellExePath`. - -We've also improved the overall experience of loading and using the extension: - -- It will prompt to restart the PowerShell session if it crashes for any reason -- It will also prompt to restart the session if you change any relevant PowerShell - configuration setting like the aforementioned `powershell.developer.powerShellExePath`. -- You can easily access the logs of the current session by running the command - `Open PowerShell Extension Logs Folder`. - -#### Create new modules with Plaster - -In this release we've added integration with the [Plaster](https://github.com/PowerShell/Plaster) -module to provide a `Create New Project from Plaster Template` command. This command will -walk you through the experience of selecting a template and filling in all of -the project details: - -![Screenshot of Plaster template selection](https://cloud.githubusercontent.com/assets/79405/21247560/087b47a4-c2e5-11e6-86e7-ba3727b5e36d.png) - -![Screenshot of Plaster input](https://cloud.githubusercontent.com/assets/79405/21247562/0a79b130-c2e5-11e6-97e9-cfd672803f75.png) - -We include one basic project template by default and will add more in the very -near future. However, you won't need to update the PowerShell extension to get these -new templates, they will appear when you install an update to the Plaster module from -the [PowerShell Gallery](https://www.powershellgallery.com/). - -Check out [Plaster's documentation](https://github.com/PowerShell/Plaster/tree/master/docs/en-US) -for more details on how it can be used and how you can create your own templates. - -#### New "quick fix" actions for PSScriptAnalyzer rules - -The PowerShell extension now uses any "suggested corrections" which are returned with -a rule violation in your script file to provide a "quick fix" option for the affected -section of code. For example, when the `PSAvoidUsingCmdletAliases` rule finds the use -of a non-whitelisted alias, you will see a light bulb icon that gives the option to -change to the full name (right click or Ctrl+. on the marker): - -![Screenshot of PSScriptAnalyzer quick fix](https://cloud.githubusercontent.com/assets/79405/21247558/05887e86-c2e5-11e6-9c67-e4558a7e2dba.png) - -If you'd like to see more quick fixes for PowerShell code, head over to the -[PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) GitHub page and -get involved! - -#### Easily enable and disable PSScriptAnalyzer rules - -Another improvement related to PSScriptAnalyzer is the ability to change the active -PSScriptAnalyzer rules in the current editing session using a helpful selection menu: - -![Screenshot of PSScriptAnalyzer rule selection](https://cloud.githubusercontent.com/assets/79405/21247557/037888b6-c2e5-11e6-816f-6732e13cddb7.png) - -You can enable and disable active rules by running the `Select PSScriptAnalyzer Rules` -command. For now this only changes the active session but in a future release we will -modify your PSScriptAnalyzer settings file so that the changes are persisted to future -editing sessions. - -#### New "hit count" breakpoints in the debugger - -When debugging PowerShell scripts you can now set "hit count" breakpoints which -cause the debugger to stop only after the breakpoint has been encountered a specified -number of times. - -![Screenshot of a hit count breakpoint](https://cloud.githubusercontent.com/assets/79405/21247563/0c159202-c2e5-11e6-8c91-36791c4fa804.png) - -#### Other fixes and improvements - -- We now provide snippets for the `launch.json` configuration file which make it easier - to add new PowerShell debugging configurations for your project. -- In PowerShell `launch.json` configurations, the `program` parameter has now been - renamed to `script`. Configurations still using `program` will continue to work. -- Fixed #353: Cannot start PowerShell debugger on Windows when offline -- Fixed #217: PowerShell output window should be shown when F8 is pressed -- Fixed #292: Check for Homebrew's OpenSSL libraries correctly on macOS -- Fixed #384: PowerShell snippets broken in VS Code 1.8.0 - -## 0.7.2 -### Friday, September 2, 2016 - -- Fixed #243: Debug adapter process has terminated unexpectedly -- Fixed #264: Add check for OpenSSL on OS X before starting the language service -- Fixed #271: PSScriptAnalyzer settings path isn't being passed along -- Fixed #273: Debugger crashes after multiple runs -- Fixed #274: Extension crashes on Ctrl+Hover - -## 0.7.1 -### Tuesday, August 23, 2016 - -- "Auto" variable scope in debugger UI now expands by default -- Fixed #244: Extension fails to load if username contains spaces -- Fixed #246: Restore default PSScriptAnalyzer ruleset -- Fixed #248: Extension fails to load on Windows 7 with PowerShell v3 - -## 0.7.0 -### Thursday, August 18, 2016 - -#### Introducing support for Linux and macOS! - -This release marks the beginning of our support for Linux and macOS via -the new [cross-platform release of PowerShell](https://github.com/PowerShell/PowerShell). -You can find installation and usage instructions at the [PowerShell GitHub repository](https://github.com/PowerShell/PowerShell). - -## 0.6.2 -### Friday, August 12, 2016 - -- Fixed #231: In VS Code 1.4.0, IntelliSense has stopped working -- Fixed #193: Typing "n" breaks intellisense -- Fixed #187: Language server sometimes crashes then $ErrorActionPreference = "Stop" - -## 0.6.1 -### Monday, May 16, 2016 - -- Fixed #180: Profile loading should be enabled by default -- Fixed #183: Language server sometimes fails to initialize preventing IntelliSense, etc from working -- Fixed #182: Using 'Run Selection' on a line without a selection only runs to the cursor position -- Fixed #184: When running a script in the debugger, $host.Version reports wrong extension version - -## 0.6.0 -### Thursday, May 12, 2016 - -#### Added a new cross-editor extensibility model - -- We've added a new extensibility model which allows you to write PowerShell - code to add new functionality to Visual Studio Code and other editors with - a single API. If you've used `$psISE` in the PowerShell ISE, you'll feel - right at home with `$psEditor`. Check out the [documentation](https://powershell.github.io/PowerShellEditorServices/guide/extensions.html) - for more details! - -#### Support for user and system-wide profiles - -- We've now introduced the `$profile` variable which contains the expected - properties that you normally see in `powershell.exe` and `powershell_ise.exe`: - - `AllUsersAllHosts` - - `AllUsersCurrentHost` - - `CurrentUserAllHosts` - - `CurrentUserCurrentHost` -- In Visual Studio Code the profile name is `Microsoft.VSCode_profile.ps1`. -- `$host.Name` now returns "Visual Studio Code Host" and `$host.Version` returns - the version of the PowerShell extension that is being used. - -#### Other improvements - -- IntelliSense for static methods and properties now works correctly. If you - type `::` after a type such as `[System.Guid]` you will now get the correct - completion results. This also works if you press `Ctrl+Space` after the `::` - characters. -- `$env` variables now have IntelliSense complete correctly. -- Added support for new VSCode command `Debug: Start Without Debugging`. Shortcut - for this command is Ctrl+F5. -- Changed the keyboard shortcut for `PowerShell: Expand Alias` from Ctrl+F5 to Ctrl+Alt+e. -- Added support for specifying a PSScriptAnalyzer settings file by - providing a full path in your User Settings for the key `powershell.scriptAnalysis.settingsPath`. - You can also configure the same setting in your project's `.vscode\settings.json` - file to contain a workspace-relative path. If present, this workspace-level setting - overrides the one in your User Settings file. See the extension's `examples\.vscode\settings.json` - file for an example. -- The debug adapter now does not crash when you attempt to add breakpoints - for files that have been moved or don't exist. -- Fixed an issue preventing output from being written in the debugger if you - don't set a breakpoint before running a script. - -#### New configuration settings - -- `powershell.scriptAnalysis.settingsPath`: Specifies the path to a PowerShell Script Analyzer settings file. Use either an absolute path (to override the default settings for all projects) or use a path relative to your workspace. - -## 0.5.0 -### Thursday, March 10, 2016 - -#### Support for PowerShell v3 and v4 - -- Support for PowerShell v3 and v4 is now complete! Note that for this release, - Script Analyzer support has been disabled for PS v3 and v4 until we implement - a better strategy for integrating it as a module dependency - -#### Debugging improvements - -- Added support for command breakpoints. - - Hover over the Debug workspace's 'Breakpoints' list header and click the 'Add' - button then type a command name (like `Write-Output`) in the new text box that - appears in the list. - -- Added support for conditional breakpoints. - - Right click in the breakpoint margin to the left of the code editor and click - 'Add conditional breakpoint' then enter a PowerShell expression in the text box - that appears in the editor. - -#### Other improvements - -- Added a preview of a possible project template for PowerShell Gallery modules in - the `examples` folder. Includes a PSake build script with Pester test, clean, - build, and publish tasks. See the `examples\README.md` file for instructions. - Check it out and give your feedback on GitHub! -- `using 'module'` now resolves relative paths correctly, removing a syntax error that - previously appeared when relative paths were used -- Calling `Read-Host -AsSecureString` or `Get-Credential` from the console now shows an - appropriate "not supported" error message instead of crashing the language service. - Support for these commands will be added in a later release. - -#### New configuration settings - -- `powershell.useX86Host`: If true, causes the 32-bit language service to be used on 64-bit Windows. On 32-bit Windows this setting has no effect. - -## 0.4.1 -### Wednesday, February 17, 2016 - -- Updated PSScriptAnalyzer 1.4.0 for improved rule marker extents -- Added example Pester task for running tests in the examples folder -- Fixed #94: Scripts fail to launch in the debugger if the working directory path contains spaces - -## 0.4.0 -### Tuesday, February 9, 2016 - -#### Debugging improvements - -[@rkeithhill](https://github.com/rkeithhill) spent a lot of time polishing the script debugging experience for this release: - -- You can now pass arguments to scripts in the debugger with the `args` parameter in launch.json -- You can also run your script with the 32-bit debugger by changing the `type` parameter in launch.json to "PowerShell x86" (also thanks to [@adamdriscoll](https://github.com/adamdriscoll)!) -- The new default PowerShell debugger configuration now launches the active file in the editor -- You can also set the working directory where the script is run by setting the `cwd` parameter in launch.json to an absolute path. If you need a workspace relative path, use ${workspaceRoot} to create an absolute path e.g. `"${workspaceRoot}/modules/foo.psm1"`. - -We recommend deleting any existing `launch.json` file you're using so that a new one will -be generated with the new defaults. - -#### Console improvements - -- Improved PowerShell console output formatting and performance - - The console prompt is now displayed after a command is executed - - Command execution errors are now displayed correctly in more cases - - Console output now wraps at 120 characters instead of 80 characters - -- Added choice and input prompt support - - When executing code using the 'Run Selection' command, choice and input prompts appear as VS Code UI popups - - When executing code in the debugger, choice and input prompts appear in the Debug Console - -#### New commands - -- "Find/Install PowerShell modules from the gallery" (`Ctrl+K Ctrl+F`): Enables you to find and install modules from the PowerShell Gallery (thanks [@dfinke](https://github.com/dfinke)!) -- "Open current file in PowerShell ISE" (`Ctrl+Shift+i`): Opens the current file in the PowerShell ISE (thanks [@janegilring](https://github.com/janegilring)!) - -#### Editor improvements - -- Path auto-completion lists show just the current directory's contents instead of the full path (which had resulted in clipped text) -- Parameter auto-completion lists are now sorted in the same order as they are in PowerShell ISE where command-specific parameters preceed the common parameters -- Parameter auto-completion lists show the parameter type -- Command auto-completion lists show the resolved command for aliases and the path for executables -- Many improvements to the PowerShell snippets, more clearly separating functional and example snippets (all of the latter are prefixed with `ex-`) -- Added some additional example script files in the `examples` folder - -#### New configuration settings - -- `powershell.developer.editorServicesLogLevel`: configures the logging verbosity for PowerShell Editor Services. The default log level will now write less logs, improving overall performance - -## 0.3.1 -### Thursday, December 17, 2015 - -- Fix issue #49, Debug Console does not receive script output - -## 0.3.0 -### Tuesday, December 15, 2015 - -- Major improvements in variables retrieved from the debugging service: - - Global and script scope variables are now accessible - - New "Auto" scope which shows only the variables defined within the current scope - - Greatly improved representation of variable values, especially for dictionaries and - objects that implement the ToString() method -- Added new "Expand Alias" command which resolves command aliases used in a file or - selection and updates the source text with the resolved command names -- Reduced default Script Analyzer rules to a minimal list -- Fixed a wide array of completion text replacement bugs -- Improved extension upgrade experience - -## 0.2.0 -### Monday, November 23, 2015 - -- (Experimental) Added a new "Run selection" (F8) command which executes the current code selection and displays the output -- Added a new online help command! Press Ctrl+F1 to get help for the symbol under the cursor. -- Enabled PowerShell language features for untitled and in-memory (e.g. in Git diff viewer) PowerShell files -- Added `powershell.scriptAnalysis.enable` configuration variable to allow disabling script analysis for performance (issue #11) -- Fixed issue where user's custom PowerShell snippets did not show up -- Fixed high CPU usage when completing or hovering over an application path - -## 0.1.0 -### Wednesday, November 18, 2015 - -Initial release with the following features: - -- Syntax highlighting -- Code snippets -- IntelliSense for cmdlets and more -- Rule-based analysis provided by PowerShell Script Analyzer -- Go to Definition of cmdlets and variables -- Find References of cmdlets and variables -- Document and workspace symbol discovery + Removed ShowOnlineHelp Command. (Thanks @corbob!) +- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell) - + Fix whitespace. (Thanks @bergmeister!) +- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell) - + Merge branch 'master' of https://github.com/PowerShell/vscode-powershell into PSSA_CheckInnerBraceAndPipe. (Thanks @bergmeister!) +- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell) - + Add new settings: powershell.codeFormatting.WhitespaceInsideBrace and powershell.codeFormatting.WhitespaceAroundPipe. (Thanks @bergmeister!) + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- [PowerShellEditorServices #1080](https://github.com/PowerShell/PowerShellEditorServices/pull/1080) - + Remove extra newline in GetComment feature. +- [PowerShellEditorServices #1079](https://github.com/PowerShell/PowerShellEditorServices/pull/1079) - + Fix duplicate diagnostics caused by DidChange handler. +- [PowerShellEditorServices #1076](https://github.com/PowerShell/PowerShellEditorServices/pull/1076) - + Graduate PSReadLine feature and add UseLegacyReadLine. +- [PowerShellEditorServices #1075](https://github.com/PowerShell/PowerShellEditorServices/pull/1075) - + Lock OmniSharp dependencies to v0.14.0. (Thanks @mholo65!) +- [PowerShellEditorServices #1064](https://github.com/PowerShell/PowerShellEditorServices/pull/1064) - + New colors supported by PS7. +- [PowerShellEditorServices #1062](https://github.com/PowerShell/PowerShellEditorServices/pull/1062) - + Bump Serilog.Extensions.Logging from 2.0.4 to 3.0.1. (Thanks @dependabot-preview[bot]!) +- [PowerShellEditorServices #1073](https://github.com/PowerShell/PowerShellEditorServices/pull/1073) - + Fix prerelease version discovery and fix omnisharp change. +- [PowerShellEditorServices #1070](https://github.com/PowerShell/PowerShellEditorServices/pull/1070) - + Bump Serilog.Sinks.File from 4.0.0 to 4.1.0. (Thanks @dependabot-preview[bot]!) +- [PowerShellEditorServices #1065](https://github.com/PowerShell/PowerShellEditorServices/pull/1065) - + Fix TEMP debugging. +- ๐Ÿ› [vscode-powershell #1753](https://github.com/PowerShell/PowerShellEditorServices/pull/1072) - + Override PSRL ReadKey on Windows as well. +- [PowerShellEditorServices #1068](https://github.com/PowerShell/PowerShellEditorServices/pull/1068) - + Forwardport 1044 fixing UNC path completions. +- [PowerShellEditorServices #1066](https://github.com/PowerShell/PowerShellEditorServices/pull/1066) - + Rework log builder to support logging to files. +- [PowerShellEditorServices #1061](https://github.com/PowerShell/PowerShellEditorServices/pull/1061) - + Bump Microsoft.Extensions.FileSystemGlobbing from 2.2.0 to 3.0.0. (Thanks @dependabot-preview[bot]!) +- [PowerShellEditorServices #1060](https://github.com/PowerShell/PowerShellEditorServices/pull/1060) - + Bump System.Security.Principal.Windows from 4.5.1 to 4.6.0. (Thanks @dependabot-preview[bot]!) +- [PowerShellEditorServices #1063](https://github.com/PowerShell/PowerShellEditorServices/pull/1063) - + Bump Microsoft.Extensions.Logging from 3.0.0-preview8.19405.4 to 3.0.0. (Thanks @dependabot-preview[bot]!) +- [PowerShellEditorServices #1055](https://github.com/PowerShell/PowerShellEditorServices/pull/1055) - + Update .Net Core SDK from 2.1.801 to 2.1.802 (latest patch). (Thanks @bergmeister!) +- [PowerShellEditorServices #1056](https://github.com/PowerShell/PowerShellEditorServices/pull/1056) - + Move the Omnisharp work into master. +- ๐Ÿ› [vscode-powershell #2116](https://github.com/PowerShell/PowerShellEditorServices/pull/1044) - + Fix UNC intellisense backslash. +- [PowerShellEditorServices #1042](https://github.com/PowerShell/PowerShellEditorServices/pull/1042) - + Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.3.0. (Thanks @dependabot-preview[bot]!) +- [PowerShellEditorServices #1041](https://github.com/PowerShell/PowerShellEditorServices/pull/1041) - + Bump Microsoft.Extensions.FileSystemGlobbing from 2.2.0 to 3.0.0. (Thanks @dependabot-preview[bot]!) +- [PowerShellEditorServices #1040](https://github.com/PowerShell/PowerShellEditorServices/pull/1040) - + Bump Microsoft.CSharp from 4.5.0 to 4.6.0. (Thanks @dependabot-preview[bot]!) + +## v2019.9.0 +### Monday, September 23, 2019 +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- ๐Ÿ‘ท [vscode-powershell #1961](https://github.com/PowerShell/vscode-powershell/pull/1961) - + Changelog tools. +- ๐Ÿ› [vscode-powershell #2141](https://github.com/PowerShell/vscode-powershell/pull/2141) - + Null check on activeTerminal to workaround vscode behavior. +- โœจ [vscode-powershell #2105](https://github.com/PowerShell/vscode-powershell/pull/2105) - + Prompt to update PowerShell version. +- ๐Ÿ”Ž [vscode-powershell #2165](https://github.com/PowerShell/vscode-powershell/pull/2165) - + Add powershell.codeFormatting.autoCorrectAliases setting to add support for optionally correcting aliases as well (added in PSSA 1.18.2). Disabled by default.. (Thanks @bergmeister!) +- โœจ [vscode-powershell #2160](https://github.com/PowerShell/vscode-powershell/pull/2160) - + Added functionality to install the User variant of Stable Edition. (Thanks @Lothindir!) +- โœจ [vscode-powershell #2156](https://github.com/PowerShell/vscode-powershell) - + Default to PowerShell Core on Windows if it's installed. (Thanks @SydneyhSmith!) +- โœจ [vscode-powershell #2084](https://github.com/PowerShell/vscode-powershell/pull/2084) - + Implement #1611 - provide dynamic debug config. (Thanks @rkeithhill!) +- โœจ [vscode-powershell #2024](https://github.com/PowerShell/vscode-powershell/pull/2039) - + Add machine scope per VS Code team request. +- โœจ [vscode-powershell #2081](https://github.com/PowerShell/vscode-powershell/pull/2081) - + Add param-block snippet. (Thanks @AspenForester!) +- ๐Ÿงน [vscode-powershell #2062](https://github.com/PowerShell/vscode-powershell/pull/2062) - + Remove redundant snippets. (Thanks @travis-c-lagrone!) +- โœจ [vscode-powershell #1974](https://github.com/PowerShell/vscode-powershell/pull/1974) - + Add #Requires snippets. (Thanks @travis-c-lagrone!) +- ๐Ÿงน [vscode-powershell #2063](https://github.com/PowerShell/vscode-powershell/pull/2063) - + Remove redundant community snippets. (Thanks @travis-c-lagrone!) +- ๐Ÿ‘ท [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell/pull/2065) - + Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments'. (Thanks @travis-c-lagrone!) +- ๐Ÿ“” [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell) - + Docs updates. (Thanks @SydneyhSmith!) +- ๐Ÿ‘ท [vscode-powershell #2038](https://github.com/PowerShell/vscode-powershell/pull/2038) - + Add ADS insiders gallery file to update script. +- ๐Ÿ”Ž [vscode-powershell #2037](https://github.com/PowerShell/vscode-powershell/pull/2037) - + Update PSScriptAnalyzer docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) +- ๐Ÿ› [vscode-powershell #2035](https://github.com/PowerShell/vscode-powershell/pull/2035) - + #1019: Get format settings from document editor instead of global. (Thanks @tillig!) +- ๐Ÿ‘ท [vscode-powershell #2025](https://github.com/PowerShell/vscode-powershell/pull/2025) - + Fix node version detect logic to handle node v10. (Thanks @rkeithhill!) +- โœจ [vscode-powershell #1946](https://github.com/PowerShell/vscode-powershell/pull/1946) - + Add ArgumentCompleter snippets. (Thanks @travis-c-lagrone!) +- ๐Ÿงน [vscode-powershell #2015](https://github.com/PowerShell/vscode-powershell/pull/2015) - + Fix node types version. + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- ๐Ÿ› [PowerShellEditorServices #1022](https://github.com/PowerShell/PowerShellEditorServices/pull/1022) - + Catch stream exceptions for some Debug Adapter stability. +- ๐Ÿ”Ž [PowerShellEditorServices #1021](https://github.com/PowerShell/PowerShellEditorServices/pull/1021) - + Add AutoCorrectAliases setting (PR to be made in VS-Code repo as well) to add support for optionally correcting aliases as well (added in PSSA 1.18.2). (Thanks @bergmeister!). +- ๐Ÿ› [vscode-powershell #1994](https://github.com/PowerShell/PowerShellEditorServices/pull/1000) - + Fix crash when setBreakpoint from VSCode sends a git:/ URI. +- ๐Ÿงน [PowerShellEditorServices #988](https://github.com/PowerShell/PowerShellEditorServices/pull/988) - + Remove consoleecho lib for PowerShell 7. +- ๐Ÿ“” [PowerShellEditorServices #986](https://github.com/PowerShell/PowerShellEditorServices) - + Documentation updates. (Thanks @SydneyhSmith!) +- โš™๏ธ [PowerShellEditorServices #981](https://github.com/PowerShell/PowerShellEditorServices/pull/981) - + Update NewtonSoft.Json dependency from 10.0.3 to 11.02 since PS 6.0 has been deprecated. (Thanks @bergmeister!) +- ๐Ÿ› [vscode-powershell #2007](https://github.com/PowerShell/PowerShellEditorServices/pull/974) - + Defend against crash when no PSScriptAnalyzer is found. +- ๐Ÿ‘ท [PowerShellEditorServices #978](https://github.com/PowerShell/PowerShellEditorServices/pull/977) - + Delete stale WebSocket code. + +## v2019.5.0 +### Wednesday, May 22, 2019 +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- โœจ [vscode-PowerShell #1880](https://github.com/PowerShell/vscode-powershell/pull/1911) - + Move to date-based versioning +- โœจ [vscode-PowerShell #1954](https://github.com/PowerShell/vscode-PowerShell/pull/1954) - + Allow passing runspace name +- โœจ [vscode-PowerShell #1945](https://github.com/PowerShell/vscode-PowerShell/pull/1945) - + Edit snippets to support $TM_SELECTED_TEXT (Thanks @travis-c-lagrone!) +- ๐Ÿ‘ท [vscode-PowerShell #1942](https://github.com/PowerShell/vscode-PowerShell/pull/1942) - + Stop supporting 6.0 +- โœจ [vscode-PowerShell #1928](https://github.com/PowerShell/vscode-PowerShell/pull/1928) - + Add RunCode command for CodeLens providers +- ๐Ÿ› [vscode-PowerShell #1927](https://github.com/PowerShell/vscode-PowerShell/pull/1927) - + Fix change session by moving to async/await promise +- ๐Ÿ› [vscode-PowerShell #1931](https://github.com/PowerShell/vscode-PowerShell/pull/1931) - + Fix upload bug report +- ๐Ÿ› [vscode-PowerShell #1925](https://github.com/PowerShell/vscode-PowerShell/pull/1925) - + Fix error in HtmlContentView.ShowContent when no JS/CSS provided (Thanks @rkeithhill!) +- ๐Ÿ› [vscode-PowerShell #1919](https://github.com/PowerShell/vscode-PowerShell/pull/1919) - + Fix CustomViews by switching to WebViews +- ๐Ÿ› [vscode-PowerShell #1922](https://github.com/PowerShell/vscode-PowerShell/pull/1922) - + Fix small typo in Function-Inline description (Thanks @V-ed!) +- โœจ [vscode-PowerShell #1908](https://github.com/PowerShell/vscode-PowerShell/pull/1908) - + Add PowerShell version telemetry +- ๐Ÿ“– [vscode-PowerShell #1900](https://github.com/PowerShell/vscode-PowerShell/pull/1900) - + Small update to Azure Data Studio marketplace README (Thanks @SQLvariant!) +- ๐Ÿ’ป [vscode-PowerShell #1871](https://github.com/PowerShell/vscode-PowerShell/pull/1871) - + Change CI to use Azure Pipelines +- ๐Ÿ› [vscode-PowerShell #1867](https://github.com/PowerShell/vscode-PowerShell/pull/1867) - + Change whitespace settings to camelCase +- ๐Ÿ› [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - + Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSScriptAnalyzer issues are fixed (Thanks @bergmeister!) +- ๐Ÿ› [vscode-powershell #1822](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - + Set featureFlag default to null so that it can be resolved by settings +- ๐Ÿ’ป [vscode-PowerShell #1839](https://github.com/PowerShell/vscode-PowerShell/pull/1839) - + Add initial credscan config ymls for CI +- ๐Ÿ› [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - + Don't use -EncodedCommand to start PowerShell on Windows +- ๐Ÿ› [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - + Switch to current lowercase names for powershell and mdlint extensions (Thanks @rkeithhill!) +- ๐Ÿ‘ท [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - + Update to official TSLint extension in extensions.json, old version deprecated (Thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- โœจ [PowerShellEditorServices #951](https://github.com/PowerShell/PowerShellEditorServices/pull/951) - + Allow passing RunspaceName +- ๐Ÿšจ [PowerShellEditorServices #944](https://github.com/PowerShell/PowerShellEditorServices/pull/944) - + Add integration testing module with simple tests to verify PSES starts and stops +- ๐Ÿ› [PowerShellEditorServices #954](https://github.com/PowerShell/PowerShellEditorServices/pull/955) - + Ensure NamedPipeServerStream is assigned in Windows PowerShell +- โœจ [PowerShellEditorServices #952](https://github.com/PowerShell/PowerShellEditorServices/pull/952) - + Update to PSReadLine 2.0.0-beta4 +- โœจ [PowerShellEditorServices #877](https://github.com/PowerShell/PowerShellEditorServices/pull/877) - + Add filtering for CodeLens and References (Thanks @glennsarti!) +- ๐Ÿ› [vscode-powershell #1933](https://github.com/PowerShell/PowerShellEditorServices/pull/949) - + Stop crash when workspace doesn't exist +- ๐Ÿ‘ท [PowerShellEditorServices #878](https://github.com/PowerShell/PowerShellEditorServices/pull/878) - + Remove native named pipes implementation +- ๐Ÿ› [PowerShellEditorServices #947](https://github.com/PowerShell/PowerShellEditorServices/pull/947) - + Fix silent failure in VSCode WebViews by using Id for dictionary since multiple pages could have the same title +- ๐Ÿ› [PowerShellEditorServices #946](https://github.com/PowerShell/PowerShellEditorServices/pull/946) - + Rename to use async +- ๐Ÿ‘ท [PowerShellEditorServices #943](https://github.com/PowerShell/PowerShellEditorServices/pull/943) - + Improvements to the log parsing module (Thanks @rkeithhill!) +- ๐Ÿ’ป [PowerShellEditorServices #921](https://github.com/PowerShell/PowerShellEditorServices/pull/921) - + Set up CI with Azure Pipelines +- ๐Ÿ› [PowerShellEditorServices #908](https://github.com/PowerShell/PowerShellEditorServices/pull/908) - + Fix issue with reference code lens not working with UNC paths (Thanks @rkeithhill!) +- ๐Ÿ› [vscode-powershell #1571](https://github.com/PowerShell/PowerShellEditorServices/pull/911) - + Fix faulty netfx check +- ๐Ÿ› [PowerShellEditorServices #906](https://github.com/PowerShell/PowerShellEditorServices/pull/906) - + Fix New-EditorFile with no folder or no files open +- โœจ [vscode-powershell #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - + Improve path auto-completion (Thanks @rkeithhill!) +- ๐Ÿ› [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - + Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) +- ๐Ÿ‘ท [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - + Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) +- ๐Ÿ‘ท [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - + Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) +- ๐Ÿ’ป [PowerShellEditorServices #904](https://github.com/PowerShell/PowerShellEditorServices/pull/904) - + Add initial credscan configuation ymls for CI +- ๐Ÿ› [PowerShellEditorServices #901](https://github.com/PowerShell/PowerShellEditorServices/pull/901) - + Switch to current lowercase names for powershell and mdlint exts (Thanks @rkeithhill!) + +## v2.0.0-preview.3 +### Wednesday, April 10, 2019 +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1865](https://github.com/PowerShell/vscode-powershell/pull/1867) - + Change casing of `powershell.codeformatting` settings for consistency: + - `powershell.codeformatting.WhitespaceInsideBrace` is now `powershell.codeformatting.whitespaceInsideBrace` + - `powershell.codeformatting.WhitespaceAroundPipe` is now `powershell.codeformatting.whitespaceAroundPipe` +- [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - + Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSSA issues are fixed (Thanks @bergmeister!) +- [vscode-PowerShell #1838](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - + Set PSReadLine featureFlag default to null so that it can be resolved by settings +- [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - + Do not use -EncodedCommand on Windows +- [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - + Switch to current lowercase names for powershell and mdlint recommended extensions (Thanks @rkeithhill!) +- [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - + Update to official TSLint ext in extensions.json, old version deprecated (Thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #902](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - + Improve path auto-completion (Thanks @rkeithhill!) +- [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - + Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) +- [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - + Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) +- [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - + Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) + +## v2.0.0-preview.2 +### Friday, March 29, 2019 + +### Highlights + +* `Write-Progress` work in the integrated console โฐ +* Support for [PSScriptAnalyzer 1.18](https://github.com/PowerShell/PSScriptAnalyzer/releases/tag/1.18.0) ๐Ÿ“ +* The ability to debug any runspace in any process ๐Ÿ”Ž +* PSReadLine enabled by default on Windows ๐ŸŽจ +* (Bug fix!) You can open untitled workspaces/folders again! ๐Ÿ›โ˜ ๏ธ + +There are a lot more goodies in this version. Checkout the changelog below! + +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1794](https://github.com/PowerShell/vscode-PowerShell/pull/1794) - + Make PSReadLine default on Windows +- [vscode-PowerShell #1736](https://github.com/PowerShell/vscode-PowerShell/pull/1736) - + Enable attach to process on Linux and macOS +- [vscode-PowerShell #1729](https://github.com/PowerShell/vscode-PowerShell/pull/1729) - + Handle Pester Describe block strings with single quotes inside it (Thanks @bergmeister!) +- [vscode-PowerShell #1741](https://github.com/PowerShell/vscode-PowerShell/pull/1741) - + Update build to clear node modules directory (Thanks @corbob!) +- [vscode-PowerShell #1743](https://github.com/PowerShell/vscode-PowerShell/pull/1743) - + Fix right-click help lookup not always working (Thanks @corbob!) +- [vscode-PowerShell #1746](https://github.com/PowerShell/vscode-PowerShell/pull/1746) - + Add label property to debug config, change pkg name to lowercase (Thanks @rkeithhill!) +- [vscode-PowerShell #1749](https://github.com/PowerShell/vscode-PowerShell/pull/1749) - + Add the Install-VSCode.ps1 script to signing +- [vscode-PowerShell #1747](https://github.com/PowerShell/vscode-PowerShell/pull/1747) - + Modify `powerShellDefaultVersion` description to make clearer (Thanks @rkeithhill!) +- [vscode-PowerShell #1755](https://github.com/PowerShell/vscode-PowerShell/pull/1755) - + Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) +- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell/pull/1773) - + Change debugger type field back to `PowerShell` from `powershell` (Thanks @rkeithhill!) +- [vscode-PowerShell #1757](https://github.com/PowerShell/vscode-PowerShell/pull/1757) - + Match Install-VSCode.ps1 script url with the one from master branch (Thanks @rafaltra!) +- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell/pull/1774) - + Switch to `EncodedCommand` for script execution +- [vscode-PowerShell #1764](https://github.com/PowerShell/vscode-PowerShell/pull/1764) - + Added Pester, ShouldProcess and Calculated Property PS Snippets (Thanks @brettmillerb!) +- [vscode-PowerShell #1776](https://github.com/PowerShell/vscode-PowerShell/pull/1776) - + Migrate Pester version detection into an InovkePester stub script (Thanks @rkeithhill!) +- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell/pull/1781) - + Fix initial launch config casing +- [vscode-PowerShell #1775](https://github.com/PowerShell/vscode-PowerShell/pull/1775) - + Support `-CustomPipeName`, allowing configuration of custom namedpipes for LSP transport +- [vscode-PowerShell #1787](https://github.com/PowerShell/vscode-PowerShell/pull/1787) - + Added SQL PowerShell Examples (Thanks @SQLvariant!) +- [vscode-PowerShell #1782](https://github.com/PowerShell/vscode-PowerShell/pull/1782) - + Add Debug Runspace command (Thanks @adamdriscoll!) +- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell/pull/1800) - + Include current runspace and runspace ID 1 in the PSHostProcess picker dialog +- [vscode-PowerShell #1687](https://github.com/PowerShell/vscode-PowerShell/pull/1687) - + Add new `powershell.useCorrectCasingsettings` for new rule in PSSA 1.18: PSUseCorrectCasing (Thanks @bergmeister!) +- [vscode-PowerShell #1668](https://github.com/PowerShell/vscode-PowerShell/pull/1668) - + Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: WhitespaceInsideBrace and WhitespaceAroundPipe (Thanks @bergmeister!) +- [vscode-PowerShell #1669](https://github.com/PowerShell/vscode-PowerShell/pull/1669) - + Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: PipelineIndentationStyle (Thanks @bergmeister!) +- [vscode-PowerShell #1738](https://github.com/PowerShell/vscode-PowerShell/pull/1738) - + Set CommandExplorer exclusion filter to be empty array by default (Thanks @adilio!) +- [vscode-PowerShell #1686](https://github.com/PowerShell/vscode-PowerShell/pull/1686) - + Add an exclusion filter to the Command Explorer (Thanks @corbob!) +- [vscode-PowerShell #1816](https://github.com/PowerShell/vscode-PowerShell/pull/1816) - + Workaround PSSA #1187 by defaulting to NoIndentation + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #895](https://github.com/PowerShell/PowerShellEditorServices/pull/895) - + Add warning to parameter validation set (Thanks @Benny1007!) +- [PowerShellEditorServices #897](https://github.com/PowerShell/PowerShellEditorServices/pull/897) - + Clean up and pop dead runspaces when using 'attach' debugging +- [PowerShellEditorServices #888](https://github.com/PowerShell/PowerShellEditorServices/pull/888) - + Add new ParseError level to ScriptFileMarkerLevel and filter out PSSA parse errors +- [PowerShellEditorServices #858](https://github.com/PowerShell/PowerShellEditorServices/pull/858) - + Fix XUnit warnings that better assertion operators should be used. (Thanks @bergmeister!) +- [PowerShellEditorServices #854](https://github.com/PowerShell/PowerShellEditorServices/pull/854) - + Reinstate test filtering (Thanks @glennsarti!) +- [PowerShellEditorServices #866](https://github.com/PowerShell/PowerShellEditorServices/pull/866) - + Catch NotSupportedException which can be thrown by FileStream constructor (Thanks @rkeithhill!) +- [PowerShellEditorServices #868](https://github.com/PowerShell/PowerShellEditorServices/pull/868) - + Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) +- [PowerShellEditorServices #869](https://github.com/PowerShell/PowerShellEditorServices/pull/869) - + Added `AsNewFile` switch to Out-CurrentFile (Thanks @dfinke!) +- [PowerShellEditorServices #873](https://github.com/PowerShell/PowerShellEditorServices/pull/873) - + Return the start line number for Describe block (Thanks @rkeithhill!) +- [PowerShellEditorServices #876](https://github.com/PowerShell/PowerShellEditorServices/pull/876) - + Temporarily disable deemphasized stack frames to fix VSCode issue 1750 (Thanks @rkeithhill!) +- [PowerShellEditorServices #871](https://github.com/PowerShell/PowerShellEditorServices/pull/871) - + Support -CustomPipeName, allowing configuration of custom namedpipes for LSP transport +- [PowerShellEditorServices #872](https://github.com/PowerShell/PowerShellEditorServices/pull/872) - + Fix unable to open files in problems/peek windows issue (Thanks @rkeithhill!) +- [PowerShellEditorServices #875](https://github.com/PowerShell/PowerShellEditorServices/pull/875) - + Add attach to local runspace. (Thanks @adamdriscoll!) +- [PowerShellEditorServices #881](https://github.com/PowerShell/PowerShellEditorServices/pull/881) - + Use `NamedPipeConnectionInfo` to connect to remote runspaces instead of Enter-PSHostProcess +- [PowerShellEditorServices #845](https://github.com/PowerShell/PowerShellEditorServices/pull/845) - + Enable UseCorrectCasing as a default rule (Thanks @bergmeister!) +- [PowerShellEditorServices #835](https://github.com/PowerShell/PowerShellEditorServices/pull/835) - + Map new `powershell.codeformatting` settings WhitespaceInsideBrace and WhitespaceAroundPipe to PSSA settings hashtable (Thanks @bergmeister!) +- [PowerShellEditorServices #836](https://github.com/PowerShell/PowerShellEditorServices/pull/836) - + Add PipelineIndentationStyle configuration mapping (Thanks @bergmeister!) +- [PowerShellEditorServices #887](https://github.com/PowerShell/PowerShellEditorServices/pull/887) - + Cherry pick PR 1750 merge commit to legacy/v1.x, has additional fixes (Thanks @rkeithhill!) +- [PowerShellEditorServices #874](https://github.com/PowerShell/PowerShellEditorServices/pull/874) - + Use public `InternalHost` from origin runspace (Thanks @SeeminglyScience!) +- [PowerShellEditorServices #889](https://github.com/PowerShell/PowerShellEditorServices/pull/889) - + Enhance Get-PsesRpcNotificationMessage/MessageResponseTimes to allow filtering by message name (Thanks @rkeithhill!) +- [PowerShellEditorServices #859](https://github.com/PowerShell/PowerShellEditorServices/pull/859) - + Upgrade PowerShellStandard.Library, PowerShell.SDK, NET.Test.SDK and Serilog NuGet packages to latest released version and enable AppVeyor build on any branch (Thanks @bergmeister!) +- [PowerShellEditorServices #862](https://github.com/PowerShell/PowerShellEditorServices/pull/862) - + Handle arbitrary exceptions when recursing workspace + +## 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](https://code.visualstudio.com/Docs/setup/setup-overview). + +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. +![How to Disable](https://github.com/PowerShell/powershell.github.io/blob/master/PowerShell-Blog/Images/disable-extension.jpg) + +#### 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](https://docs.microsoft.com/en-us/powershell/module/psreadline/about/about_psreadline?view=powershell-6). + +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](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell/pull/1587) - + Removed ShowOnlineHelp Command (Thanks @corbob!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #792](https://github.com/PowerShell/PowerShellEditorServices/pull/792) - + Add Async suffix to async methods (Thanks @dee-see!) +- [PowerShellEditorServices #775](https://github.com/PowerShell/PowerShellEditorServices/pull/775) - + Removed ShowOnlineHelp Message (Thanks @corbob!) +- [PowerShellEditorServices #769](https://github.com/PowerShell/PowerShellEditorServices/pull/769) - + Set Runspaces to use STA when running in Windows PowerShell +- [PowerShellEditorServices #741](https://github.com/PowerShell/PowerShellEditorServices/pull/741) - + Migrate to netstandard2.0 and PSStandard +- [PowerShellEditorServices #672](https://github.com/PowerShell/PowerShellEditorServices/pull/672) - + PSReadLine integration (Thanks @SeeminglyScience!) + +## v1.10.2 +### Tuesday, December 18, 2018 + +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- [vscode-PowerShell #1632](https://github.com/PowerShell/vscode-powershell/pull/1632) - + Started [a document for ISE-like configuration of VSCode](https://github.com/PowerShell/vscode-powershell/blob/master/docs/ise_compatibility.md). + Please help us build it out by [contirbuting an edit](https://github.com/PowerShell/vscode-powershell/edit/master/docs/ise_compatibility.md). + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- [PowerShellEditorServices #811](https://github.com/PowerShell/PowerShellEditorServices/pull/805) - + Fix token-based folding (thanks @glennsarti!) +- [PowerShellEditorServices #823](https://github.com/PowerShell/PowerShellEditorServices/pull/823) - + Fix case-sensitivity of Pester CodeLens (thanks @bergmeister!) +- [PowerShellEditorServices #815](https://github.com/PowerShell/PowerShellEditorServices/pull/815) - + Fix crash when untitled files opened as PowerShell +- [PowerShellEditorServices #826](https://github.com/PowerShell/PowerShellEditorServices/pull/826) - + Fix crash when duplicate references are present in the same file + +## v1.10.1 +### Friday, December 7, 2018 + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- [PowerShellEditorServices #808](https://github.com/PowerShell/PowerShellEditorServices/pull/808) - + Fix startup crash on Windows 7 +- [PowerShellEditorServices #807](https://github.com/PowerShell/PowerShellEditorServices/pull/807) - + Fix deadlock occurring while connecting to named pipes + +## v1.10.0 +### Monday, December 3, 2018 +#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell) + +- [vscode-PowerShell #1610](https://github.com/PowerShell/vscode-powershell/pull/1610) - + Remove client-side syntax folding provider in favor of server-side provider (thanks @glennsarti!) +- [vscode-PowerShell #1616](https://github.com/PowerShell/vscode-powershell/pull/1616) - + Make `Restart Current Session` always available in the session quick pick +- [vscode-PowerShell #1406](https://github.com/PowerShell/vscode-powershell/pull/1406) - + Add a Show-Command explorer (thanks @corbob!) +- [vscode-PowerShell #1615](https://github.com/PowerShell/vscode-powershell/pull/1615) - + Fix Pester CodeLens not working for running/debugging tests (thanks @rkeithhill!) +- [vscode-PowerShell #1600](https://github.com/PowerShell/vscode-powershell/pull/1608) - + Add CodeAction support to show PSSA rule documentation (thanks @rkeithhill!) +- [vscode-PowerShell #1606](https://github.com/PowerShell/vscode-powershell/pull/1606) - + Add Ctrl+Alt+J (Cmd+Alt+J on macOS) + keybinding to open up list of available snippets +- [vscode-PowerShell #1597](https://github.com/PowerShell/vscode-powershell/pull/1597) - + Make `Install-VSCode.ps1` work on macOS and Linux. Get the script [here](https://github.com/PowerShell/vscode-powershell/blob/master/scripts/Install-VSCode.ps1) +- [vscode-PowerShell #1580](https://github.com/PowerShell/vscode-powershell/pull/1580) - + `New-EditorFile` works on non-PowerShell untitled files +- [vscode-PowerShell #1557](https://github.com/PowerShell/vscode-powershell/pull/1557) - + Default to showing the last line in folded regions. Unset with `"powershell.codeFolding.showLastLine": false` + (thanks @glennsarti!) +- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - + New snippet: Exchange Online connection (thanks @vmsilvamolina!) +- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - + New snippet: HTML header (thanks @vmsilvamolina!) +- [vscode-PowerShell #1555](https://github.com/PowerShell/vscode-powershell/pull/1555) - + Log when language client not loaded during initialization (thanks @corbob!) +- [vscode-PowerShell #1554](https://github.com/PowerShell/vscode-powershell/pull/1554) - + Fix spacing in parameters when starting the extension (thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- [PowerShellEditorServices #786](https://github.com/PowerShell/PowerShellEditorServices/pull/786) - + Fix #17: Add go to definition support for dot sourced file paths (Thanks @dee-see!) +- [PowerShellEditorServices #767](https://github.com/PowerShell/PowerShellEditorServices/pull/767) - + Change unhandled messages to warnings instead of errors +- [PowerShellEditorServices #765](https://github.com/PowerShell/PowerShellEditorServices/pull/765) - + Fix PowerShell wildcard escaping in debug paths +- [PowerShellEditorServices #778](https://github.com/PowerShell/PowerShellEditorServices/pull/778) - + Fix multiple occurrences of the same typo (Thanks @dee-see!) +- [PowerShellEditorServices #782](https://github.com/PowerShell/PowerShellEditorServices/pull/782) - + Fix #779: NRE on Dispose in ExecutionTimer (Thanks @dee-see!) +- [PowerShellEditorServices #772](https://github.com/PowerShell/PowerShellEditorServices/pull/772) - + Log build info +- [PowerShellEditorServices #774](https://github.com/PowerShell/PowerShellEditorServices/pull/774) - + New-EditorFile works on non-powershell untitled files +- [PowerShellEditorServices #787](https://github.com/PowerShell/PowerShellEditorServices/pull/787) - + Fix descion/decision typo in visitors (Thanks @dee-see!) +- [PowerShellEditorServices #784](https://github.com/PowerShell/PowerShellEditorServices/pull/784) - + Replace bad StringReader usage with String.Split() +- [PowerShellEditorServices #768](https://github.com/PowerShell/PowerShellEditorServices/pull/768) - + Make pipeline runtime exceptions warnings in log +- [PowerShellEditorServices #790](https://github.com/PowerShell/PowerShellEditorServices/pull/790) - + Add managed thread id to log output to add debugging threading issues (Thanks @rkeithhill!) +- [PowerShellEditorServices #794](https://github.com/PowerShell/PowerShellEditorServices/pull/794) - + Fix Pester CodeLens run/debug by not quoting params/already quoted args (Thanks @rkeithhill!) +- [PowerShellEditorServices #785](https://github.com/PowerShell/PowerShellEditorServices/pull/785) - + Adds ability to use separate pipes for reading and writing (Thanks @ant-druha!) +- [PowerShellEditorServices #796](https://github.com/PowerShell/PowerShellEditorServices/pull/796) - + Code cleanup of the start script and ESHost.cs file (Thanks @rkeithhill!) +- [PowerShellEditorServices #795](https://github.com/PowerShell/PowerShellEditorServices/pull/795) - + Fix file recursion overflow problems +- [PowerShellEditorServices #697](https://github.com/PowerShell/PowerShellEditorServices/pull/697) - + Add functionality to allow a Show-Command like panel in VS Code (Thanks @corbob!) +- [PowerShellEditorServices #777](https://github.com/PowerShell/PowerShellEditorServices/pull/777) - + Add syntax folding (Thanks @glennsarti!) +- [PowerShellEditorServices #801](https://github.com/PowerShell/PowerShellEditorServices/pull/801) - + Fix local remoting +- [PowerShellEditorServices #797](https://github.com/PowerShell/PowerShellEditorServices/pull/797) - + Start of a PSES log file analyzer (Thanks @rkeithhill!) +- [PowerShellEditorServices #789](https://github.com/PowerShell/PowerShellEditorServices/pull/789) - + Add support for a "Show Documentation" quick fix menu entry (Thanks @rkeithhill!) +- [PowerShellEditorServices #760](https://github.com/PowerShell/PowerShellEditorServices/pull/760) - + Fix exception when remoting from Windows to non-Windows (Thanks @SeeminglyScience!) + +## v1.9.0 +### Thursday, September 27, 2018 +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1548](https://github.com/PowerShell/vscode-PowerShell/pull/1548) - + Explicitly return `undefined` from resolveDbgConfig when session not started (Thanks @rkeithhill!) +- [vscode-PowerShell #1516](https://github.com/PowerShell/vscode-PowerShell/pull/1516) - + Change "Get Online Help" menu item label to "Get Help" (Thanks @corbob!) +- [vscode-PowerShell #1525](https://github.com/PowerShell/vscode-PowerShell/pull/1525) - + Remove duplicate/overlapping folding regions (Thanks @glennsarti!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #750](https://github.com/PowerShell/PowerShellEditorServices/pull/750) - + Fix issue where # in path causes the path to resolve incorrectly +- [PowerShellEditorServices #721](https://github.com/PowerShell/PowerShellEditorServices/pull/721) - + Change Get-Help behavior to return local help when online help can't be displayed (Thanks @corbob!) +- [PowerShellEditorServices #748](https://github.com/PowerShell/PowerShellEditorServices/pull/748) - + Fix index out-of-range exception when deleting script files +- [PowerShellEditorServices #749](https://github.com/PowerShell/PowerShellEditorServices/pull/749) - + Fix crash for finding symbols on bad paths +- [PowerShellEditorServices #740](https://github.com/PowerShell/PowerShellEditorServices/pull/740) - + Fix inner help completion +- [PowerShellEditorServices #736](https://github.com/PowerShell/PowerShellEditorServices/pull/736) - + Cache the reflection call done for completions +- [PowerShellEditorServices #737](https://github.com/PowerShell/PowerShellEditorServices/pull/737) - + Remove LINQ usage in language service methods +- [PowerShellEditorServices #743](https://github.com/PowerShell/PowerShellEditorServices/pull/743) - + Remove unnecessary LINQ calls from LanguageServer + +## v1.8.4 +### Friday, August 31, 2018 +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1489](https://github.com/PowerShell/vscode-PowerShell/pull/1489) - + Use asynchronous logic for help completions +- [vscode-PowerShell #1477](https://github.com/PowerShell/vscode-PowerShell/pull/1477) - + Add BitsTransfer & user switch to install latest user profile insiders edition with Install-VSCode.ps1 script (Thanks @tabs-not-spaces!) +- [vscode-PowerShell #1485](https://github.com/PowerShell/vscode-PowerShell/pull/1485) - + Increase connection timeout + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #728](https://github.com/PowerShell/PowerShellEditorServices/pull/728) - + Fix formatter crash when script contains parse errors +- [PowerShellEditorServices #730](https://github.com/PowerShell/PowerShellEditorServices/pull/730) - + Fix crash where lines appended to end of script file causes out of bounds exception +- [PowerShellEditorServices #732](https://github.com/PowerShell/PowerShellEditorServices/pull/732) - + Fix CodeLens crash when a file cannot be opened, stop unnecessary file reads in CodeLens +- [PowerShellEditorServices #729](https://github.com/PowerShell/PowerShellEditorServices/pull/729) - + Fix a null dereference when an invalid cast exception has no inner exception +- [PowerShellEditorServices #719](https://github.com/PowerShell/PowerShellEditorServices/pull/719) - + Reduce allocations in the CodeLens providers +- [PowerShellEditorServices #725](https://github.com/PowerShell/PowerShellEditorServices/pull/725) - + Fix null dereference when debugging untitlted filesj +- [PowerShellEditorServices #726](https://github.com/PowerShell/PowerShellEditorServices/pull/726) - + Fix comment-based help snippet + + +## v1.8.3 +### Wednesday, August 15, 2018 + +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [PowerShell/vscode-powershell #1480](https://github.com/PowerShell/vscode-powershell/pull/1480) - + Use PowerShell signing script in VSTS builds +- [PowerShell/vscode-powershell #1460](https://github.com/PowerShell/vscode-powershell/pull/1460) - + Use newer version for preleases +- [PowerShell/vscode-powershell #1475](https://github.com/PowerShell/vscode-powershell/pull/1475) - + Change resourceLangId to editorLangId so right-click works properly with unsaved files (Thanks @corbob!) +- [PowerShell/vscode-powershell #1467](https://github.com/PowerShell/vscode-powershell/pull/1467) - + Remove region folding from non-region areas (Thanks @glennsarti!) + + #### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShell/PowerShellEditorServices #722](https://github.com/PowerShell/PowerShellEditorServices/pull/722) - + Add VSTS signing step +- [PowerShell/PowerShellEditorServices #717](https://github.com/PowerShell/PowerShellEditorServices/pull/717) - + Increment version for prerelease +- [PowerShell/PowerShellEditorServices #715](https://github.com/PowerShell/PowerShellEditorServices/pull/715) - + Reduce allocations when parsing files (Thanks @mattpwhite!) + +## v1.8.2 +### Thursday, July 26, 2018 + +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [PowerShell/vscode-powershell #1438](https://github.com/PowerShell/vscode-powershell/pull/1438) - + Fix detecting contiguous comment blocks and regions (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1436](https://github.com/PowerShell/vscode-powershell/pull/1436) - + First approach to fix issue with dbg/run start before PSES running (Thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShell/PowerShellEditorServices #712](https://github.com/PowerShell/PowerShellEditorServices/pull/712) - + workaround to support inmemory:// +- [PowerShell/PowerShellEditorServices #706](https://github.com/PowerShell/PowerShellEditorServices/pull/706) - + Go To Definition works with different Ast types +- [PowerShell/PowerShellEditorServices #707](https://github.com/PowerShell/PowerShellEditorServices/pull/707) - + fix stdio passing +- [PowerShell/PowerShellEditorServices #709](https://github.com/PowerShell/PowerShellEditorServices/pull/709) - + Stop Diagnostic logging from logging to stdio when the communication protocol is set to stdio +- [PowerShell/PowerShellEditorServices #710](https://github.com/PowerShell/PowerShellEditorServices/pull/710) - + stdio should only launch language service not debug +- [PowerShell/PowerShellEditorServices #705](https://github.com/PowerShell/PowerShellEditorServices/pull/705) - + Fix load order of PSSA modules +- [PowerShell/PowerShellEditorServices #704](https://github.com/PowerShell/PowerShellEditorServices/pull/704) - + Do not enable PSAvoidTrailingWhitespace rule by default as it currenly flags whitespace-only lines as well (Thanks @bergmeister!) + +## v1.8.1 +### Wednesday, July 11, 2018 + +- [PowerShell/vscode-powershell #1418](https://github.com/PowerShell/vscode-powershell/pull/1418) - + Fix code folding in documents using CRLF newlines. (Thanks @glennsarti!) + +## v1.8.0 +### Tuesday, July 10, 2018 + +- [PowerShell/vscode-powershell #1238](https://github.com/PowerShell/vscode-powershell/pull/1238) - + Added functionality to install the VSCode context menus. (Thanks @detlefs!) +- [PowerShell/vscode-powershell #1354](https://github.com/PowerShell/vscode-powershell/pull/1354) - + Edit snippet to fix issue #1353 (Thanks @kilasuit!) +- [PowerShell/vscode-powershell #1362](https://github.com/PowerShell/vscode-powershell/pull/1362) - + Updated Pester Problem Matcher (Thanks @awickham10!) +- [PowerShell/vscode-powershell #1359](https://github.com/PowerShell/vscode-powershell/pull/1359) - + (maint) Add visual ruler for line length (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1344](https://github.com/PowerShell/vscode-powershell/pull/1344) - + Update to TypeScript 2.9.x (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1323](https://github.com/PowerShell/vscode-powershell/pull/1323) - + SpecProcId - interactive var replacement supports only string type (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1327](https://github.com/PowerShell/vscode-powershell/pull/1327) - + Switch to named pipes +- [PowerShell/vscode-powershell #1321](https://github.com/PowerShell/vscode-powershell/pull/1321) - + GitHub issue template tweaks and add PSSA template (Thanks @bergmeister!) +- [PowerShell/vscode-powershell #1320](https://github.com/PowerShell/vscode-powershell/pull/1320) - + Take advantage of multiple issue templates (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1317](https://github.com/PowerShell/vscode-powershell/pull/1317) - + Change SpecifyScriptArgs command to only return string - not string[] (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1318](https://github.com/PowerShell/vscode-powershell/pull/1318) - + Update package veresion in lock file, format package.json file. (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1312](https://github.com/PowerShell/vscode-powershell/pull/1312) - + Updates to Examples PSSA settings file to include more rule config (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1305](https://github.com/PowerShell/vscode-powershell/pull/1305) - + Make SaveAs work for untitled files +- [PowerShell/vscode-powershell #1307](https://github.com/PowerShell/vscode-powershell/pull/1307) - + Added Columns, Improved readability for ToC. (Thanks @st0le!) +- [PowerShell/vscode-powershell #1368](https://github.com/PowerShell/vscode-powershell/pull/1368) - + Add new snippet for #region (#1368) (Thanks @lipkau!) +- [PowerShell/vscode-powershell #1416](https://github.com/PowerShell/vscode-powershell/pull/1416) - + (GH-1413) Resolve promise correctly in Folding feature (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1412](https://github.com/PowerShell/vscode-powershell/pull/1412) - + Set the extension's log level based on settings value (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1411](https://github.com/PowerShell/vscode-powershell/pull/1411) - + Escape paths w/single quotes before passing to powershell in single-quoted strings (#1411) (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1409](https://github.com/PowerShell/vscode-powershell/pull/1409) - + Rename file to match type name (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1408](https://github.com/PowerShell/vscode-powershell/pull/1408) - + Restore ability to start debug session when script run in PSIC hits breakpoint (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1407](https://github.com/PowerShell/vscode-powershell/pull/1407) - + Scroll the terminal to bottom for F8 executionPartial fix #1257 (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1414](https://github.com/PowerShell/vscode-powershell/pull/1414) - + Update grammar parsing for vscode-textmate v4 module (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1397](https://github.com/PowerShell/vscode-powershell/pull/1397) - + Allow debugging in interactive session with no dir change (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1402](https://github.com/PowerShell/vscode-powershell/pull/1402) - + Move lint directive after the file-header to fix lint error (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1366](https://github.com/PowerShell/vscode-powershell/pull/1366) - + Add support for side-by-side PS Core preview on Linux/macOS (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1391](https://github.com/PowerShell/vscode-powershell/pull/1391) - + Add PowerShell Online Help lookup to context menu (Thanks @corbob!) +- [PowerShell/vscode-powershell #1396](https://github.com/PowerShell/vscode-powershell/pull/1396) - + Add tslint rule file-header to enforce copyright in TS files (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1355](https://github.com/PowerShell/vscode-powershell/pull/1355) - + Add syntax aware folding provider (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1395](https://github.com/PowerShell/vscode-powershell/pull/1395) - + Update community_snippets.md (Thanks @fullenw1!) +- [PowerShell/vscode-powershell #1382](https://github.com/PowerShell/vscode-powershell/pull/1382) - + Fix markdown syntax (Thanks @lipkau!) +- [PowerShell/vscode-powershell #1369](https://github.com/PowerShell/vscode-powershell/pull/1369) - + Update README.md with kbds and what to do if you find a vulnerability +- [PowerShell/vscode-powershell #1297](https://github.com/PowerShell/vscode-powershell/pull/1297) - + Added some snippets (#1297) (Thanks @SQLDBAWithABeard!) + +## 1.7.0 +### Wednesday, April 25, 2018 + +- [PowerShell/vscode-powershell #1285](https://github.com/PowerShell/vscode-powershell/pull/1285) - + Add a community snippet for date-annotated `Write-Verbose` messages. + +- [PowerShell/vscode-powershell #1228](https://github.com/PowerShell/vscode-powershell/issues/1228) - + Make comment-based help trigger always be `##` with a new setting `powershell.helpCompletion` to + allow you to select between help comment styles: `BlockComment` (default) or `LineComment`. + You can also specify Disabled to disable this functionality. + +- [PowerShell/vscode-powershell #603](https://github.com/PowerShell/vscode-powershell/issues/603) - + Fix PowerShell crashing on machines with IPv6 disabled. + +- [PowerShell/vscode-powershell #1243](https://github.com/PowerShell/vscode-powershell/issues/1243) - + Support custom PowerShell executable paths in user configuration which can be selected (via name) + in either user or workspace configuration. + +- [PowerShell/vscode-powershell #1264](https://github.com/PowerShell/vscode-powershell/pull/1264) - + Add support for [Visual Studio Live Share](https://code.visualstudio.com/visual-studio-live-share). + +- [PowerShell/vscode-powershell #1261](https://github.com/PowerShell/vscode-powershell/pull/1261) - + Add support for `$psEditor.GetEditorContext.CurrentFile.SaveAs("NewFileName.ps1")`. + +- [PowerShell/vscode-powershell #1252](https://github.com/PowerShell/vscode-powershell/pull/1252) - + Change the way the extension builds and runs, so that PowerShellEditorServices is self-contained. + +- [PowerShell/vscode-powershell #1248](https://github.com/PowerShell/vscode-powershell/pull/1248) - + Replace `$global:IsOSX` with `$global:IsMacOS`. + +- [PowerShell/vscode-powershell #1246](https://github.com/PowerShell/vscode-powershell/pull/1246) - + Create [community_snippets.md](./docs/community_snippets.md) for user created snippets. + +- [PowerShell/vscode-powershell #1155](https://github.com/PowerShell/vscode-powershell/issues/1155) - + Fix PSES crashes caused by running "Set PSScriptAnalyzer Rules" on an untitled file. + +- [PowerShell/vscode-powershell #1236](https://github.com/PowerShell/vscode-powershell/pull/1236) - + Stop an error occurring when VSCode trims trailing whitespace and sends document update messages. + +- [PowerShell/vscode-powershell #996](https://github.com/PowerShell/vscode-powershell/issues/996) - + Fix `Install-PSCode.ps1` crashing due to `$IsLinux` variable in older PowerShell versions. + +- [PowerShell/vscode-powershell #1234](https://github.com/PowerShell/vscode-powershell/pull/1234) - + Add snippets for Hashtable and PSCustomObject. + +- [PowerShell/vscode-powershell #1233](https://github.com/PowerShell/vscode-powershell/pull/1233) - + Add a keybinding for Show Addtional Commands to Shift-Alt-S. + +- [PowerShell/vscode-powershell #1227](https://github.com/PowerShell/vscode-powershell/pull/1227) - + Add an indicator for when PowerShell is running in the status bar. + +- [PowerShell/vscode-powershell #1225](https://github.com/PowerShell/vscode-powershell/pull/1225) - + Fix launch config not using temporary integrated console setting. + +- [PowerShell/vscode-powershell #1208](https://github.com/PowerShell/vscode-powershell/issues/1208) - + Stop configured temporary windows closing after running Pester tests. + +## 1.6.0 +### Thursday, February 22, 2018 + +#### Fixes and Improvements + +- [PowerShell/vscode-powershell #907](https://github.com/PowerShell/vscode-powershell/issues/907) - + Persist temp console debug session. + +- [PowerShell/vscode-powershell #1198](https://github.com/PowerShell/vscode-powershell/pull/1198) - + Enhance Start-EditorServices.ps1 for better logging and fix bugs. + +- [PowerShell/PowerShellEditorServices #413](https://github.com/PowerShell/PowerShellEditorServices/issues/413) - + Allow opening files as not previews to allow Open-EditorFile to open multiple files passed in. + +- [PowerShell/vscode-powershell #1177](https://github.com/PowerShell/vscode-powershell/issues/1177) - + Add function-advanced snippet. Thanks to [Benny1007](https://github.com/Benny1007)! + +- [PowerShell/vscode-powershell #1179](https://github.com/PowerShell/vscode-powershell/issues/1179) - + Switch onDebug to onDebugResolve:type for better debugging perf. + +- [PowerShell/vscode-powershell #1086](https://github.com/PowerShell/vscode-powershell/issues/1086) - + Add tslint to vscode-powershell and address all issues. + +- [PowerShell/vscode-powershell #1153](https://github.com/PowerShell/vscode-powershell/issues/1153) - + Add docs for ps remoting in vscode. + +- [PowerShell/vscode-powershell #1161](https://github.com/PowerShell/vscode-powershell/pull/1161) - + Check for the expected version of the PowerShell Editor Services module fails because of the wrong function parameters. Thanks to [ant-druha](https://github.com/ant-druha)! + +- [PowerShell/vscode-powershell #1141](https://github.com/PowerShell/vscode-powershell/pull/1141) - + Updated install script minified URL. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! + +- [PowerShell/PowerShellEditorServices #258](https://github.com/PowerShell/PowerShellEditorServices/issues/258) - + add .Save() to FileContext API. + +- [PowerShell/vscode-powershell #1137](https://github.com/PowerShell/vscode-powershell/pull/1137) - + Added 64bit support & vscode-insiders install support. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! + +- [PowerShell/vscode-powershell #1115](https://github.com/PowerShell/vscode-powershell/issues/1115) - + Fixed "Open in ISE" keyboard shortcut from overwriting basic editing keyboard shortcut. + +- [PowerShell/vscode-powershell #1111](https://github.com/PowerShell/vscode-powershell/issues/1111) - + Update examples tasks.json for 2.0.0 schema. + +## 1.5.1 +### Tuesday, November 14, 2017 + +- [PowerShell/vscode-powershell #1100](https://github.com/PowerShell/vscode-powershell/issues/1100) - + Fixed CodeLens on Pester test invocation fails with "Error: command 'vscode.startDebug' not found". + +- [PowerShell/vscode-powershell #1091](https://github.com/PowerShell/vscode-powershell/issues/1091) - + Fixed crash when editing remote file using psedit. + +- [PowerShell/vscode-powershell #1084](https://github.com/PowerShell/vscode-powershell/issues/1084) - + Fixed authenticode signature 'HashMismatch' on Start-EditorServices.ps1. + +- [PowerShell/vscode-powershell #1078](https://github.com/PowerShell/vscode-powershell/issues/1078) - + Fixed debug adapter process terminating when setting breakpoint in an Untitled file or in a Git diff window. + +- Update download.sh to remove macOS OpenSSL check since PowerShell Core Beta and higher no longer depend on OpenSSL. Thanks to [elovelan](https://github.com/elovelan)! + +- Get-Help -ShowWindow will no longer error in the PowerShell Integrated Console. The help window will appear but at the moment, it will appear behind VSCode. + +- Fix language server crash when processing a deep directory structure that exceeds max path. + +## 1.5.0 +### Friday, October 27, 2017 + +#### Fixes and Improvements + +- [PowerShell/vscode-powershell #820](https://github.com/PowerShell/vscode-powershell/issues/820) - + Added new "Upload Bug Report to GitHub" command to make it easy to post an issue to the vscode-powershell GitHub repo. Thanks to [Mark Schill](https://github.com/PowerSchill)! + +- [PowerShell/vscode-powershell #910](https://github.com/PowerShell/vscode-powershell/issues/910) - + Set-VSCodeHtmlContentView cmdlet now exposes `JavaScriptPaths` and `StyleSheetPaths` parameters to allow using JavaScript code and CSS stylesheets in VS Code HTML preview views. + +- [PowerShell/vscode-powershell #909](https://github.com/PowerShell/vscode-powershell/issues/909) - + Write-VSCodeHtmlContentView's AppendBodyContent now accepts input from the pipeline + +- [PowerShell/vscode-powershell #1071](https://github.com/PowerShell/vscode-powershell/pull/1071) - + Updated session menu to find PowerShell Core installs with the new pwsh.exe path + +- [PowerShell/vscode-powershell #842](https://github.com/PowerShell/vscode-powershell/issues/842) - + psedit can now open empty files in remote sessions + +- [PowerShell/vscode-powershell #1040](https://github.com/PowerShell/vscode-powershell/issues/1040) - + Non-PowerShell files opened in remote sessions using psedit can now be saved back to the remote server + +- [PowerShell/vscode-powershell #660](https://github.com/PowerShell/vscode-powershell/issues/660) - + Set/Enable/Disable/Remove-PSBreakpoint commands now cause the VS Code breakpoint UI to be updated while the debugger is active + +- [PowerShell/vscode-powershell #625](https://github.com/PowerShell/vscode-powershell/issues/625) - + Breakpoints are now cleared from the session when the debugger starts so that stale breakpoints from previous sessions are not hit + +- [PowerShell/vscode-powershell #1004](https://github.com/PowerShell/vscode-powershell/issues/1004) - + Handle exception case when finding references of a symbol + +- [PowerShell/vscode-powershell #942](https://github.com/PowerShell/vscode-powershell/issues/942) - + Temporary debugging session now does not hang when running "PowerShell Interactive Session" debugging configuration + +- [PowerShell/vscode-powershell #917](https://github.com/PowerShell/vscode-powershell/issues/917) - + Added PowerShell.InvokeRegisteredEditorCommand command to be used from HTML preview views for invoking editor commands registered in PowerShell. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! + +- [PowerShell/vscode-powershell #872](https://github.com/PowerShell/vscode-powershell/issues/872) - + Watch variables with children are now expandable + +- [PowerShell/vscode-powershell #1060](https://github.com/PowerShell/vscode-powershell/issues/1060) - + $psEditor.Workspace.NewFile() now works again in VSC 1.18.0 Insiders builds + +- [PowerShell/vscode-powershell #1046](https://github.com/PowerShell/vscode-powershell/issues/1046) - + Debugging now works again in VSC 1.18.0 Insiders builds + +- [PowerShell/PowerShellEditorServices #342](https://github.com/PowerShell/PowerShellEditorServices/issues/342) - + Unexpected file URI schemes are now handled more reliably + +- [PowerShell/PowerShellEditorServices #396](https://github.com/PowerShell/PowerShellEditorServices/issues/396) - + Resolved errors being written to Integrated Console when running native applications while transcription is turned on + +- [PowerShell/PowerShellEditorServices #529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - + Fixed an issue with loading the PowerShellEditorServices module in PowerShell Core 6.0.0-beta3 + +- [PowerShell/PowerShellEditorServices #533](https://github.com/PowerShell/PowerShellEditorServices/pull/533) - + Added new $psEditor.GetCommand() method for getting all registered editor commands. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! + +- [PowerShell/PowerShellEditorServices #535](https://github.com/PowerShell/PowerShellEditorServices/pull/535) - + Type information is now exposed on hover for variables in the Variables view + +## 1.4.3 +### Wednesday, September 13, 2017 + +- [#1016](https://github.com/PowerShell/vscode-powershell/issues/1016) - + Fixed a conflict with the "Azure Resource Manager for Visual Studio + Code" extension which prevented the PowerShell extension from loading + successfully. + +## 1.4.2 +### Tuesday, September 5, 2017 + +- [#993](https://github.com/PowerShell/vscode-powershell/issues/993) - + `powershell.powerShellExePath` using Sysnative path should be automatically + corrected when using 64-bit Visual Studio Code +- [#1008](https://github.com/PowerShell/vscode-powershell/issues/1008) - + Windows PowerShell versions (x64 and x86) are not enumerated correctly + when using 64-bit Visual Studio Code +- [#1009](https://github.com/PowerShell/vscode-powershell/issues/1009) - + PowerShell version indicator in status bar is missing tooltip +- [#1020](https://github.com/PowerShell/vscode-powershell/issues/1020) - + "Show Session Menu", "Show Integrated Console", and "Restart Current Session" + commands should cause PowerShell extension to be activated + +## 1.4.1 +### Thursday, June 22, 2017 + +- [PowerShell/PowerShellEditorServices#529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - + Fixed an issue with loading the extension with in PowerShell Core 6.0.0-beta3 + +## 1.4.0 +### Wednesday, June 21, 2017 + +#### New HTML content view commands enabling custom UI tabs + +You can now show editor tabs with custom HTML-based UI by using the +new HTML content view commands! This is the first step toward UI +extensions for VS Code written in PowerShell. + +Here's an example: + +```powershell +$view = New-VSCodeHtmlContentView -Title "My Custom View" -ShowInColumn One +Set-VSCodeHtmlContentView -View $view -Content "

Hello world!

" +Write-VSCodeHtmlContentView $view -Content "I'm adding new content!
" +``` + +And here's the result: + +![HTML view demo](https://user-images.githubusercontent.com/79405/27394133-f96c38cc-565f-11e7-8102-a3727014ea5a.GIF) + +Check out the cmdlet help for the following commands to learn more: + +- `New-VSCodeHtmlContentView` +- `Show-VSCodeHtmlContentView` +- `Close-VSCodeHtmlContentView` +- `Set-VSCodeHtmlContentView` +- `Write-VSCodeHtmlContentView` + +Since this is a first release, we've restricted the use of JavaScript +inside of the HTML. We will add this capability in a future release! + +#### Code formatting setting presets for common styles + +We've now added code formatting presets for the most common code style +conventions used in the PowerShell community: + +- **[OTBS](https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS_.28OTBS.29)** - + Known as the "One True Brace Style". Causes `else`, `catch`, and other + keywords to be "cuddled", keeping them on the same line as the previous + closing brace: + + ```powershell + if ($var -eq $true) { + # Do the thing + } else { + # Do something else + } + ``` + +- **[Stroustrup](https://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup)** - + Causes beginning curly braces to be placed on the same line as the statement: + + ```powershell + if ($var -eq $true) { + # Do the thing + } + else { + # Do something else + } + ``` + +- **[Allman](https://en.wikipedia.org/wiki/Indent_style#Allman_style)** - All curly braces are preceded by a newline: + + ```powershell + if ($var -eq $true) + { + # Do the thing + } + else + { + # Do something else + } + ``` + +- **Custom** - Allows full customization of the code formatting settings. + +In addition, code formatting now respects your `editor.insertSpaces` and +`editor.tabSize` settings! + +#### Debugging in a temporary PowerShell Integrated Console + +We've added the ability to debug your PowerShell code in a temporary +PowerShell Integrated Console so that you have a fresh runspace and +PowerShell process each time you hit F5! + +This setting is necessary if you are developing with PowerShell 5 +classes or modules using .NET assemblies because .NET types cannot +be reloaded inside of the same PowerShell process. This new setting +saves you from reloading your PowerShell session each time you debug +your code! + +You can configure this behavior in two ways: + +- Use the `launch.json` configuration parameter `createTemporaryIntegratedConsole`: + + ```json + { + "type": "PowerShell", + "request": "launch", + "name": "PowerShell Launch Current File in Temporary Console", + "script": "${file}", + "args": [], + "cwd": "${file}", + "createTemporaryIntegratedConsole": true + }, + ``` + +- Configure the setting `powershell.debugging.createTemporaryIntegratedConsole`: + + ```json + "powershell.debugging.createTemporaryIntegratedConsole": true, + ``` + +The default value for these settings is `false`, meaning that the temporary +console behavior is **opt-in**. + +Configuring the user or workspace setting will cause all debugging sessions +to be run in a temporary Integrated Console so it's useful if you would prefer +this to be the default behavior. The `launch.json` setting overrides the user +setting so you can always customize the behavior for a specific launch +configuration. + +#### NewFile() API and Out-CurrentFile command + +You can now create a new untitled file from within the Integrated Console +by using the `$psEditor.Workspace.NewFile()` command! Also, you can send +the formatted output of any PowerShell command to the current file by using +the `Out-CurrentFile` command: + +```powershell +Get-Process | Out-CurrentFile +``` + +Special thanks to [Doug Finke](https://github.com/dfinke) for the contribution! + +#### Other fixes and improvements + +- [#881](https://github.com/PowerShell/vscode-powershell/pull/881) - + When you select a different PowerShell version in the session menu, your choice + is persisted to the `powershell.powerShellExePath` setting. + +- [#891](https://github.com/PowerShell/vscode-powershell/issues/891) - + Pester CodeLenses now run tests without string interpolation of test names + +## 1.3.2 +### Monday, June 12, 2017 + +- [PowerShell/vscode-powershell#864](https://github.com/PowerShell/vscode-powershell/issues/864) - Improved the visibility of hyphen characters on the currently edited line in the PowerShell ISE theme (thanks [Stefan Stranger](https://github.com/stefanstranger)!) + +- [PowerShell/vscode-powershell#857](https://github.com/PowerShell/vscode-powershell/issues/855) - Typing a new function into a file no longer causes the language server to crash + +- [PowerShell/vscode-powershell#855](https://github.com/PowerShell/vscode-powershell/issues/855) - "Format Document" no longer hangs indefinitely + +- [PowerShell/vscode-powershell#859](https://github.com/PowerShell/vscode-powershell/issues/859) - Language server no longer hangs when opening a Pester test file containing dot-sourced script references + +- [PowerShell/vscode-powershell#856](https://github.com/PowerShell/vscode-powershell/issues/856) - CodeLenses for function definitions no longer count the definition itself as a reference and shows "0 references" when there are no uses of that function + +- [PowerShell/vscode-powershell#838](https://github.com/PowerShell/vscode-powershell/issues/838) - Right-clicking a debugger variable and selecting "Add to Watch" now has the desired result + +- [PowerShell/vscode-powershell#837](https://github.com/PowerShell/vscode-powershell/issues/837) - Debugger call stack now navigates correctly to the user's selected stack frame + +- [PowerShell/vscode-powershell#862](https://github.com/PowerShell/vscode-powershell/issues/862) - Terminating errors in the language server now close the Integrated Console immediately and prompt the user to restart the session + +- [PowerShell/PowerShellEditorServices#505](https://github.com/PowerShell/PowerShellEditorServices/issues/505) - Added improved cmdlet help in the PowerShellEditorServices.Commands module + +- [PowerShell/PowerShellEditorServices#509](https://github.com/PowerShell/PowerShellEditorServices/issues/509) - Importing the PowerShellEditorServices.Commands module no longer causes errors to be written about missing help languages + +## 1.3.1 +### Friday, June 9, 2017 + +#### Fixes and improvements + +- [#850](https://github.com/PowerShell/vscode-powershell/issues/850) - + Fixed an issue where lower-cased "describe" blocks were not identified by + the CodeLens feature. + +- [#851](https://github.com/PowerShell/vscode-powershell/issues/851) - + Fixed an issue where the language server would hang when typing out a describe + block. + +- [#852](https://github.com/PowerShell/vscode-powershell/issues/852) - + Fixed an issue where Pester test names would not be detected correctly when + other arguments like -Tags were being used on a Describe block. + +## 1.3.0 +### Friday, June 9, 2017 + +#### CodeLens for running and debugging Pester tests + +We've added two new CodeLens actions that show up above Describe blocks in +your Pester tests, "Run tests" and "Debug tests". By clicking one of these +CodeLenses, your tests will be executed in the Integrated Console with +the debugger attached. You can now set breakpoints and quickly debug a portion +of your test script: + +![Pester CodeLens](https://user-images.githubusercontent.com/79405/26988706-3c054ed0-4d05-11e7-87f0-5bbf16ee73ef.GIF) + +#### CodeLens support for finding references of a function or cmdlet + +We've also added CodeLenses for showing the number of references for a function or +cmdlet that is defined in a script. If you click this CodeLens, the references +pane will appear so that you can navigate through all of the references: + +![References CodeLens](https://user-images.githubusercontent.com/79405/26989245-384a4866-4d07-11e7-9c1e-076dbd7d6eb4.GIF) + +We will add CodeLens support for PowerShell 5+ classes and class methods in a future +update! + +#### Document symbol support for Pester tests + +We've also added document symbol support for Pester tests so that you can easily +navigate among the Describe, Context, and It blocks in large Pester script files: + +![Pester symbols](https://user-images.githubusercontent.com/79405/26989077-91e7a306-4d06-11e7-8e26-916bb78720f8.GIF) + +#### New PowerShell ISE theme + +We now include a new color theme that tries to provide a faithful interpretation +of the PowerShell ISE's style, including a blue console background! To use this +theme open the Command Palette (Ctrl+Shift+P), run the "Preferences: Color Theme" +command, then select "PowerShell ISE". + +![ISE theme](https://user-images.githubusercontent.com/79405/26988805-9769aea6-4d05-11e7-81fc-da79bf1ec3cb.png) + +This is a first attempt at making this happen so [give us feedback](https://git.io/v9jnL) +if you think that the colors can be improved! Super huge thanks to +[Matt McNabb](https://twitter.com/mcnabbmh) for putting this together! + +#### New cmdlets inside the Integrated Console + +Thanks to new PowerShell Editor Services co-maintainer [Patrick Meinecke](https://github.com/SeeminglyScience), +we've gained a new set of useful commands for interacting with the $psEditor APIs +within the Integrated Console: + +- [Find-Ast](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Find-Ast.md) +- [Get-Token](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Get-Token.md) +- [ConvertFrom-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertFrom-ScriptExtent.md) +- [ConvertTo-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertTo-ScriptExtent.md) +- [Set-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Set-ScriptExtent.md) +- [Join-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Join-ScriptExtent.md) +- [Test-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Test-ScriptExtent.md) +- [Import-EditorCommand](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Import-EditorCommand.md) + +This should also resolve the issues some people were seeing when we tried +to load the unsigned temporary script containing `Register-EditorCommand` +on machines with an AllSigned execution policy ([#784]([https://github.com/PowerShell/vscode-powershell/issues/784])). + +#### Fixes and improvements + +- [#827](https://github.com/PowerShell/vscode-powershell/issues/827) - + Fixed an issue where an Output panel will appear with an error when you close + the PowerShell Integrated Terminal + +## 1.2.1 +### Thursday, June 1, 2017 + +#### Fixes and improvements + +- [PowerShell/PowerShellEditorServices#478](https://github.com/PowerShell/PowerShellEditorServices/issues/478) - + Dynamic comment help snippets now generate parameter fields correctly + when `<#` is typed above a `param()` block. + +- [#808](https://github.com/PowerShell/vscode-powershell/issues/808) - + An extra `PS>` is no longer being written to the Integrated Console for + some users who have custom prompt functions. + +- [#813](https://github.com/PowerShell/vscode-powershell/issues/813) - + Finding references of symbols across the workspace now properly handles + inaccessible folders and file paths + +- [#810](https://github.com/PowerShell/vscode-powershell/issues/810) - + `$psEditor.GetEditorContext()` now doesn't throw exceptions when in an + untitled file + +- [#807](https://github.com/PowerShell/vscode-powershell/issues/807) - + The users's previously selected PowerShell session type is now retained + when running the "PowerShell: Restart Current Session" command. + +- [#821](https://github.com/PowerShell/vscode-powershell/issues/821) - + Note properties on PSObjects are now visible in the debugger's Variables + view + +## 1.2.0 +### Wednesday, May 31, 2017 + +#### Dynamic comment-based help snippets now work inside functions ([#763](https://github.com/PowerShell/vscode-powershell/issues/748)) + +You asked for it, you got it! Dynamic comment-based help snippets now work +inside function definitions, both above the `param()` block and at the end +of the function body: + +![Comment help GIF](https://cloud.githubusercontent.com/assets/79405/26637844/6e76cfa6-45d5-11e7-89b8-a2d6a559536b.GIF) + +*NOTE: There is an issue where parameter sections don't get generated inside of a function +with a `[CmdletBinding()]` attribute. This is being tracked at [PowerShell/PSScriptAnalyzer#768](https://github.com/PowerShell/PSScriptAnalyzer/issues/768).* + +#### Session menu now contains entries for PowerShell Core installations on Windows ([#794](https://github.com/PowerShell/vscode-powershell/issues/794)) + +It's now much easier to switch between Windows PowerShell and PowerShell Core installs +on Windows. When you run the "PowerShell: Show Session Menu" command or click the +PowerShell version indication in the status bar you'll now see PowerShell Core entries +in the menu: + +![Session menu](https://cloud.githubusercontent.com/assets/79405/26637984/d177f5f8-45d5-11e7-9def-705b3fa68953.png) + +#### Improved PSScriptAnalyzer marker display and suppression snippets ([#781](https://github.com/PowerShell/vscode-powershell/issues/781)) and ([#783](https://github.com/PowerShell/vscode-powershell/issues/783)) + +The green squiggle markers you receive from PSScriptAnalyzer now include the +name of the corresponding rule in their description: + +![Rule name](https://cloud.githubusercontent.com/assets/79405/26638073/15aaaaae-45d6-11e7-93a0-cf6d5397553e.png) + +This is really helpful with the new rule suppression snippets contributed by +[Jos Verlinde](https://github.com/Josverl)! You can access them by typing +`suppress-` and selecting one of the suppression snippet options: + +![Suppress rule](https://cloud.githubusercontent.com/assets/79405/26638390/d8c42164-45d6-11e7-8844-a34a314654a5.GIF) + +#### New built-in Pester problem matcher ([#798](https://github.com/PowerShell/vscode-powershell/issues/798)) + +We now include a built-in [problem matcher](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher) +for Pester test output so that you don't need to define one in your `tasks.json` +file any longer! You can reference the built-in problem matcher in your test +tasks by using the name `$pester`: + +```json + { + "taskName": "Test", + "suppressTaskName": true, + "isTestCommand": true, + "showOutput": "always", + "args": [ "Invoke-Pester -PesterOption @{IncludeVSCodeMarker=$true}" ], + "problemMatcher": "$pester" + } +``` + +*NOTE: There is an issue with problem matchers when using the new `2.0.0` +version of VS Code's task runner. Pester errors may show up multiple +times in the Problems panel. This issue is being tracked at +[#797](https://github.com/PowerShell/vscode-powershell/issues/797).* + +#### Other fixes and improvements + +- [#710](https://github.com/PowerShell/vscode-powershell/issues/710) - + Variable definitions can now be found across the workspace + +- [#771](https://github.com/PowerShell/vscode-powershell/issues/771) - + Improved dynamic comment help snippet performance in scripts with many functions + +- [#786](https://github.com/PowerShell/vscode-powershell/issues/786) - + Running the "Show Integrated Console" command will now start the extension + if it isn't already started + +- [#774](https://github.com/PowerShell/vscode-powershell/issues/774) - + Pressing Enter now causes custom prompt functions to be fully evaluated + +- [#770](https://github.com/PowerShell/vscode-powershell/issues/770) - + Fixed issue where custom prompt function might be written twice when + starting the integrated console + +- [#767](https://github.com/PowerShell/vscode-powershell/issues/767) - + Fixed placeholder navigation for many built-in snippets + +- [#782](https://github.com/PowerShell/vscode-powershell/issues/782) - + Fixed extension host crash when restarting the PowerShell session + +- [#737](https://github.com/PowerShell/vscode-powershell/issues/737) - + Fixed hangs and high CPU when restarting or switching between PowerShell sessions + +- [#777](https://github.com/PowerShell/vscode-powershell/issues/777) - + Changed "Starting PowerShell" message to clearly indicate that we're in the + PowerShell Integrated Console + +## 1.1.0 +### Thursday, May 18, 2017 + +#### New dynamic snippet for adding comment-based help ([#748](https://github.com/PowerShell/vscode-powershell/issues/748)) + +We've added a really cool new feature that enables you to create comment-based +help blocks with ease! When you've defined a function in a PowerShell script +file, you can now start typing a comment block above the function definition +and it will be completed for you: + +![Help Comment GIF](https://cloud.githubusercontent.com/assets/79405/26216440/f31a47c8-3bb8-11e7-9fbc-7e3fb596c0ea.GIF) + +This comment block works like a snippet, allowing you to tab through the fields +to quickly add documentation for the parts you care about. + +This is a first pass for this feature and we plan to do more with it in the future. +Please feel free to [file feature requests](https://git.io/v9jnL) for anything else +you'd like to see! + +#### Breakpoints hit in the Integrated Console now activate the debugger UI ([#619](https://github.com/PowerShell/vscode-powershell/issues/619)) + +In previous releases it was necessary to start the "PowerShell Interactive Session" +debugging configuration before you could run a command or script from the Integrated +Console and hit breakpoints in the editor UI. We've just removed this limitation! + +Now when you set a breakpoint using `Set-PSBreakpoint` and run a script or command in the +Integrated Console, the debugger UI now gets activated: + +![Debugger Activate GIF](https://cloud.githubusercontent.com/assets/79405/26217019/d17708f2-3bba-11e7-982f-4d481c2cf533.GIF) + +Note that breakpoints set in the Integrated Console [still do not show up](https://github.com/PowerShell/vscode-powershell/issues/660) +in the editor UI; this requires [changes to VS Code](https://github.com/Microsoft/vscode/issues/8642) +that we'll be contributing for their next feature release. + +#### Improved output when loading profile scripts ([#663](https://github.com/PowerShell/vscode-powershell/issues/663) and [#689](https://github.com/PowerShell/vscode-powershell/issues/689)) + +We now write the errors and Write-Output calls that occur while loading profile +scripts so that it's easier to diagnose issues with your profile scripts. This +fix will help us identify the things missing from the Integrated Console which +cause your profile scripts to fail (like the current lack of a [PrivateData object for setting console colors](https://github.com/PowerShell/vscode-powershell/issues/571)). + +Please feel free to [file issues](https://git.io/v9jnL) for anything that causes +your profile scripts to throw errors when they get loaded! + +#### Other fixes and improvements + +- [#751](https://github.com/PowerShell/vscode-powershell/issues/751) - + Removed keybinding for the "Find PowerShell Modules from the Gallery" command + because it conflicts with VS Code's default "Format Selection" keybinding. + +- [#739](https://github.com/PowerShell/vscode-powershell/issues/739) - + Fixed wording of PowerShell extension commands to have consistent capitalization. + Thanks to [@AndySchneiderDev](https://github.com/AndySchneiderDev) for the + contribution! + +## 1.0.0 +### Wednesday, May 10, 2017 + +We are excited to announce that we've reached version 1.0! For more information, +please see the [official announcement](https://blogs.msdn.microsoft.com/powershell/2017/05/10/announcing-powershell-for-visual-studio-code-1-0/) +on the PowerShell Team Blog. + +#### New script argument UI when debugging ([#705](https://github.com/PowerShell/vscode-powershell/issues/705)) + +You can now set PowerShell debugger configurations to prompt for arguments to be +passed to your script when it is executed. This is configured using the new +`${command:SpecifyScriptArgs}` configuration variable in `launch.json`: + +```json + { + "type": "PowerShell", + "request": "launch", + "name": "PowerShell Launch DebugTest.ps1 w/Args Prompt", + "script": "${workspaceRoot}/DebugTest.ps1", + "args": [ "${command:SpecifyScriptArgs}" ], + "cwd": "${file}" + } +``` + +When you launch this configuration you will see a UI popup asking for arguments: + + +![image](https://cloud.githubusercontent.com/assets/5177512/25560503/e60e9822-2d12-11e7-9837-29464d077082.png) + +You can type your arguments to the script as you would in PowerShell: + +``` +-Count 5 +``` + +In future executions of this configuration, you will be presented with the arguments +you typed the last time you ran it so that you can easily edit them and test variations! + +#### New hash table alignment formatting rule ([#672](https://github.com/PowerShell/vscode-powershell/issues/672)) + +We've added a new code formatting rule that automatically aligns the equal sign +in assignments of keys in hash tables or DSC configurations. It also works with +nested hash tables! Here's a simple example: + +**Before** + +```powershell +$formatTest = @{ + Apple = 4 + Tangerine = @{ + Orange = 2 + CornflowerBlue = 6 + } + Banana = 3 +} +``` + +**After** + +```powershell + +$formatTest = @{ + Apple = 4 + Tangerine = @{ + Orange = 2 + CornflowerBlue = 6 + } + Banana = 3 +} +``` + +This formatting rule is enabled by default but can be disabled with the following +setting: + +``` +"powershell.codeFormatting.alignPropertyValuePairs": false +``` + +#### Added basic module-wide function references support + +In the past, finding the references or definition of a function in `FileA.ps1` only +worked if `FileA.ps1` had an explicit dot-source invocation of `FileB.ps1`. We have +removed this limitation so that you can now find definitions and references of any +function across all the script files in your project folder! This is especially +useful if you write PowerShell modules where all of the source files are dot-sourced +inside of the .psm1 file. + +This new implementation is very basic and may give unexpected results, so please [file +an issue on GitHub](https://github.com/PowerShell/vscode-powershell/issues) if you get +a result you did not expect! + +#### Other integrated console and debugger improvements + +- Fixed [#698](https://github.com/PowerShell/vscode-powershell/issues/698) - + When debugging scripts in the integrated console, the cursor position should now + be stable after stepping through your code! Please let us know if you see any + other cases where this issue appears. + +- Fixed [#626](https://github.com/PowerShell/vscode-powershell/issues/626) - + Fixed an issue where debugging a script in one VS Code window would cause that script's + output to be written to a different VS Code window in the same process. + +- Fixed [#618](https://github.com/PowerShell/vscode-powershell/issues/618) - + Pressing enter on an empty command line in the Integrated Console no longer adds the + empty line to the command history. + +- Fixed [#617](https://github.com/PowerShell/vscode-powershell/issues/617) - + Stopping the debugger during a prompt for a mandatory script parameter no + longer crashes the language server. + +- Fixed [PowerShellEditorServices #428](https://github.com/PowerShell/PowerShellEditorServices/issues/428) - + Debugger no longer hangs when you stop debugging while an input or choice prompt is + active in the integrated console. + +## 0.12.2 +### Friday, April 7, 2017 + +- Fixed [#662](https://github.com/PowerShell/vscode-powershell/issues/662) - + Changed usage of `$env:PSMODULEPATH` to `$env:PSModulePath` to conform to + a recent change in PowerShell 6 ([PowerShell/PowerShell#3255](https://github.com/PowerShell/PowerShell/pull/3255)) + which makes the casing of `PSModulePath` consistent between Windows and + the *NIX platforms. + + **NOTE: This is a breaking change for PowerShell extension users on Linux and macOS** + + If you are using PowerShell 6.0.0-alpha.17 or lower you **will** need to upgrade + to 6.0.0-alpha.18. + +- Fixed [#645](https://github.com/PowerShell/vscode-powershell/issues/645) - + "Go to Definition" or "Find References" now work in untitled scripts without + crashing the session +- Fixed [#632](https://github.com/PowerShell/vscode-powershell/issues/632) - + Debugger no longer hangs when launched while PowerShell session is still + initializing +- Fixed [#655](https://github.com/PowerShell/vscode-powershell/issues/655) - + Fixed an issue with current working directory being set incorrectly when + debugging untitled script files +- Fixed [PowerShellEditorServices #430](https://github.com/PowerShell/PowerShellEditorServices/issues/430) - + Resolved occasional IntelliSense slowness by preventing the implicit loading + of the PowerShellGet and PackageManagement modules. This change will be reverted + once a bug in PackageManagement is fixed. +- Fixed [PowerShellEditorServices #427](https://github.com/PowerShell/PowerShellEditorServices/issues/427) - + Fixed an occasional crash when requesting editor IntelliSense while running + a script in the debugger +- Fixed [PowerShellEditorServices #416](https://github.com/PowerShell/PowerShellEditorServices/issues/416) - + Cleaned up errors that would appear in the `$Errors` variable from the use + of `Get-Command` and `Get-Help` in IntelliSense results + +## 0.12.1 +### Tuesday, April 4, 2017 + +- Fixed [#648](https://github.com/PowerShell/vscode-powershell/issues/648) - + Resolved an error when launching an untitled script file in a workspace + with no launch.json or in a window without a workspace path + +## 0.12.0 +### Tuesday, April 4, 2017 + +#### Debugging untitled files ([#555](https://github.com/PowerShell/vscode-powershell/issues/555)) + +You can now debug untitled files that are set to the PowerShell language mode. When you +create a new untitled file, use the "Change Language Mode" command (Ctrl+K M) +and choose "PowerShell" from the menu that appears. You can now press F5 to start +debugging the script file without saving it. + +In the upcoming 1.11.0 release of Visual Studio Code (or in the current VS Code Insiders +release), you can configure the new `files.defaultLanguage` setting to `powershell` in either +your User or Workspace settings to cause all untitled files to be created with the PowerShell +mode by default. This will allow you to create new PowerShell scripts and debug them +immediately without saving first! + +#### New right-click context menu for Run Selection ([#581](https://github.com/PowerShell/vscode-powershell/issues/581)) + +By user request, we've also added a new "Run Selection" item in the right-click context menu +for PowerShell script files: + +![image](https://cloud.githubusercontent.com/assets/79405/24670885/a18513fe-1924-11e7-91d3-dc14c6cbfad9.png) + +#### Debugging improvements + +- Fixed [#620](https://github.com/PowerShell/vscode-powershell/issues/620) - + PowerShell session now does not crash when a breakpoint is hit outside of + debug mode + +- Fixed [#614](https://github.com/PowerShell/vscode-powershell/issues/614) - + Auto variables are now populating correctly in the debugger. **NOTE**: There is + a known issue where all of a script's variables begin to show up in the + Auto list after running a script for the first time. This is caused by + a change in 0.11.0 where we now dot-source all debugged scripts. We will + provide an option for this behavior in the future. + +- Fixed [#641](https://github.com/PowerShell/vscode-powershell/issues/641) - + PowerShell script files with capitalized extensions (.PS1, .PSM1) can now + be launched in the debugger + +- Fixed [#616](https://github.com/PowerShell/vscode-powershell/issues/616) - + Debugger now shows column position indicators when debugging pipelines or + nested expressions: + + ![image](https://cloud.githubusercontent.com/assets/79405/24316990/2157480e-10b0-11e7-8a61-19fde63edfb7.png) + +#### Integrated console improvements + +- Fixed [PowerShell/PowerShellEditorServices#411](https://github.com/PowerShell/PowerShellEditorServices/issues/411) - + Commands run outside of the integrated console prompt now interrupt the prompt + correctly. This resolves a class of issues that appear when running commands + in the extension like "New Project from Plaster Template" or any `$psEditor` + commands added with the "Register-EditorCommand" function. Running any of + these commands will now cause the current input prompt to be cancelled so that + the command's output will be written correctly. + +#### Code formatting improvements + +- Fixed [#595](https://github.com/PowerShell/vscode-powershell/issues/595) - + High CPU usage when using formatOnType has now been resolve + +- Fixed [#559](https://github.com/PowerShell/vscode-powershell/issues/559) - + The `newLineAfterCloseBrace` behavior has been improved to respect common syntax + usages + +- Fixed[PowerShell/PowerShellEditorServices#380](https://github.com/PowerShell/PowerShellEditorServices/issues/380) - + The `whitespaceBeforeOpenBrace` behavior now leaves "magic" functions with the + correct formatting. For example: `(0 .. 10).foreach{$_}` now does not have a + whitespace inserted before the `{`. + +#### New Project with Plaster improvements + +- Fixed [#643](https://github.com/PowerShell/vscode-powershell/issues/643) - + Running Plaster using the New Project command now interrupts the command prompt + correctly + +- Fixed [#504](https://github.com/PowerShell/vscode-powershell/issues/504) - + Confirming default values in Plaster input prompts by pressing Enter now works + correctly + +#### Other fixes and improvements + +- Added [#639](https://github.com/PowerShell/vscode-powershell/pull/639) and + [#640](https://github.com/PowerShell/vscode-powershell/pull/640) - + Our configuration setting descriptions have been edited for superior clarity + thanks to [June Blender](https://github.com/juneb)! + +- Fixed [#611](https://github.com/PowerShell/vscode-powershell/pull/640) - + Example-* snippets are now displaying correctly in IntelliSense results + +- Added [#624](https://github.com/PowerShell/vscode-powershell/pull/624) - + When you update the PowerShell extension after this release, you will now see + version update indicators which offer to display the changelog in a preview + tab + +## 0.11.0 +### Wednesday, March 22, 2017 + +#### Remotely edited files can now be saved + +- Added [#583](https://github.com/PowerShell/vscode-powershell/issues/583) - + When you open files in a remote PowerShell session with the `psedit` command, + their updated contents are now saved back to the remote machine when you save + them in the editor. + +#### Integrated console improvements + +- Fixed [#533](https://github.com/PowerShell/vscode-powershell/issues/533) - + The backspace key now works in the integrated console on Linux and macOS. This + fix also resolves a few usability problems with the integrated console on all + supported OSes. + +- Fixed [542](https://github.com/PowerShell/vscode-powershell/issues/542) - + Get-Credential now hides keystrokes correctly on Linux and macOS. + +We also added some new settings ([#580](https://github.com/PowerShell/vscode-powershell/issues/580), +[#588](https://github.com/PowerShell/vscode-powershell/issues/588)) to allow fine-tuning +of the integrated console experience: + +- `powershell.startAutomatically` (default: `true`) - If true, causes PowerShell extension + features to start automatically when a PowerShell file is opened. If false, the user must + initiate startup using the 'PowerShell: Restart Current Session' command. IntelliSense, + code navigation, integrated console, code formatting, and other features will not be + enabled until the extension has been started. Most users will want to leave this + setting to `true`, though it was added to save CPU cycles if you often use new VS Code + instances to quickly view PowerShell files. + +- `powershell.integratedConsole.showOnStartup` (default: `true`) - If true, causes the + integrated console to be shown automatically when the PowerShell extension is initialized. + +- `powershell.integratedConsole.focusConsoleOnExecute` (default: `true`) - If `true`, + causes the integrated console to be focused when a script selection is run or a + script file is debugged. + +#### Interactive debugging improvements + +- Added [#540](https://github.com/PowerShell/vscode-powershell/issues/540) - + The scripts that you debug are now dot-sourced into the integrated console's + session, allowing you to experiment with the results of your last execution. + +- Added [#600](https://github.com/PowerShell/vscode-powershell/issues/600) - + Debugger commands like `stepInto`, `continue`, and `quit` are now available + in the integrated console while debugging a script. + +- Fixed [#596](https://github.com/PowerShell/vscode-powershell/issues/596) - + VS Code's Debug Console now warns the user when it is used while debugging + a script. All command evaluation now happens through the integrated console + so this message should help alleviate confusion. + +#### Other fixes and improvements + +- Fixed [#579](https://github.com/PowerShell/vscode-powershell/issues/579) - + Sorting of IntelliSense results is now consistent with the PowerShell ISE +- Fixed [#591](https://github.com/PowerShell/vscode-powershell/issues/591) - + "Editor commands" registered with the `Register-EditorCommand` function are + now sorted alphabetically by their `Name` field, causing commands to be grouped + based on their source module. +- Fixed [#575](https://github.com/PowerShell/vscode-powershell/issues/575) - + The interactive console no longer starts up with errors in the `$Error` variable. +- Fixed [#599](https://github.com/PowerShell/vscode-powershell/issues/599) - + The [SSASCMDLETS module](https://msdn.microsoft.com/en-us/library/hh213141.aspx?f=255&MSPPError=-2147217396) + from SQL Server Analytics Service should now load correctly in the integrated + console. + +## 0.10.1 +### Thursday, March 16, 2017 + +#### Fixes and improvements + +- Fixed [#566](https://github.com/PowerShell/vscode-powershell/issues/566) - + Enable editor IntelliSense while stopped at a breakpoint +- Fixed [#556](https://github.com/PowerShell/vscode-powershell/issues/556) - + Running and debugging scripts in the integrated console should not steal focus from the editor +- Fixed [#543](https://github.com/PowerShell/vscode-powershell/issues/543) - + Keyboard input using AltGr Ctrl+Alt modifiers does not work +- Fixed [#421](https://github.com/PowerShell/vscode-powershell/issues/421) - + Session startup should give a helpful error message if ConstrainedLanguage mode is turned on +- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401) - + Session startup should indicate if current PowerShell version is unsupported (PSv1 and v2) +- Fixed [#454](https://github.com/PowerShell/vscode-powershell/issues/454) - + ExecutionPolicy set via group policy or registry key should not cause language server to crash +- Fixed [#532](https://github.com/PowerShell/vscode-powershell/issues/532) - + DEVPATH environment variable not being set for interactive console session +- Fixed [PowerShellEditorServices #387](https://github.com/PowerShell/PowerShellEditorServices/issues/387) - + Write-(Warning, Verbose, Debug) are missing message prefixes and foreground colors +- Fixed [PowerShellEditorServices #382](https://github.com/PowerShell/PowerShellEditorServices/issues/382) - + PSHostUserInterface implementation should set SupportsVirtualTerminal to true + +## 0.10.0 +### Tuesday, March 14, 2017 + +#### New interactive console experience + +We are excited to provide you with the first release of our new interactive +console experience! When you open up a PowerShell script file, you will +be greeted with a new VS Code integrated terminal window called +"PowerShell Integrated Console" + +![integrated console screenshot](https://cloud.githubusercontent.com/assets/79405/23910661/b599f2ee-0897-11e7-9426-00af794c10b5.png) + +In this console you will have an experience that falls somewhere between +the PowerShell ISE and the PowerShell console host: + +- Tab completion of commands and their parameters +- Basic command history, accessed using the up/down arrow keys +- The `psedit` command opens existing files in an editor pane +- Pressing F8 in an editor pane runs the current line or selection in the console +- Native applications like `git` are fully supported +- Script debugging shares the same console session with the editor for + a true ISE-like debugging experience + +It even works with your fancy prompt function if configured in your +VS Code profile (`$HOME\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1`): + +![custom prompt screenshot](https://cloud.githubusercontent.com/assets/79405/23910654/b1bca66c-0897-11e7-81b1-70eff5b97c21.png) + +The integrated console is supported on PowerShell v3 through v6 and works +on Linux and macOS with PowerShell Core. By default you don't have to +configure which PowerShell to run, we will pick an appropriate default +based on your platform. If you'd like to choose a different install +of PowerShell you can always change the `powershell.developer.powerShellExePath` +setting. + +Keep in mind that this is the first release for this feature and there are +bound to be issues and missing functionality. Please feel free to file +GitHub issues for any bugs or feature requests! + +##### Known Issues and Limitations + +- [#535](https://github.com/PowerShell/vscode-powershell/issues/535) PSReadline + is currently **not** supported in the integrated console. We will enable this + in a future release. +- [#534](https://github.com/PowerShell/vscode-powershell/issues/534) Integrated console + prompt is not restarted when you stop the debugging of a local runspace in another + process. This will be addressed soon in a patch update. +- [#533](https://github.com/PowerShell/vscode-powershell/issues/533) Backspace key + does not work in the integrated console on Linux and macOS. The workaround for now + is to use Ctrl+H instead of the Backspace key. This will be addressed + soon in a patch update. +- [#536](https://github.com/PowerShell/vscode-powershell/issues/536) Integrated console + sometimes does not have a scrollbar at startup. The workaround is to resize the width + of the VS Code window slightly and the scrollbar will appear. This will be addressed + soon in a patch update. + +#### Get-Credential and PSCredential support + +Now that we have the integrated console, we have added support for the `Get-Credential` +cmdlet, `Read-Host -AsSecureString`, and any input prompt of type `SecureString` or `PSCredential`. +When you run any of these cmdlets you will be prompted inside the integrated console: + +![credential screenshot](https://cloud.githubusercontent.com/assets/79405/23910668/bac9019c-0897-11e7-80e2-eaf1b9e507f8.png) + +#### Code formatting improvements + +We now support VS Code's `editor.formatOnType` setting so that your code gets formatted +as you type! Formatting will be triggered when you press Enter or the closing curly +brace character `}`. + +Based on your feedback, we've also added new code formatting options, all of which +are turned on by default: + +- `powershell.codeFormatting.newLineAfterCloseBrace` - Causes a newline to be inserted + after a closing brace in multi-line expressions like if/else +- `powershell.codeFormatting.whitespaceBeforeOpenBrace` - Causes whitespace to be + inserted before an open brace like `Foreach-Object {` +- `powershell.codeFormatting.whitespaceBeforeOpenParen` - Causes whitespace to be + inserted before an open parentheses like `if (` +- `powershell.codeFormatting.whitespaceAroundOperator` - Causes whitespace to be + inserted around operators like `=` or `+` +- `powershell.codeFormatting.whitespaceAfterSeparator` - Causes whitespace to be + inserted around separator characters like `;` and `,` +- `powershell.codeFormatting.ignoreOneLineBlock` - Single-line expressions, like + small if/else statements, will not be expanded to multiple lines. + +We've also made many improvements to the performance and stability of the formatter. + +#### Debugging improvements + +We've added a new configuration for debugging your Pester tests. By default it +merely runs `Invoke-Pester` at the workspace path, but you can also edit the +configuation to add additional arguments to be passed through. + +We've also added support for column breakpoints. Now you can set a breakpoint +directly within a pipeline by placing your cursor at any column on a line and +running the `Debug: Column Breakpoint` command: + +![column breakpoint screenshot](https://cloud.githubusercontent.com/assets/79405/23910649/aaef70e4-0897-11e7-93b7-0d729969a1e2.png) + +For the latest PowerShell Core release ([6.0.0-alpha.17](https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-alpha.17)), +we have also added the ability to step into ScriptBlocks that are executed on another +machine using `Invoke-Command -Computer`. + +Set a breakpoint on an `Invoke-Command` line and then once it's hit: + +![Invoke-Command screenshot](https://cloud.githubusercontent.com/assets/79405/23911032/c01b8ff6-0898-11e7-89e3-02a31d419fc5.png) + +Press `F11` and you will step into the ScriptBlock. You can now continue to use +"step in" and trace the ScriptBlock's execution on the remote machine: + +![remote script listing screenshot](https://cloud.githubusercontent.com/assets/79405/23918844/ca86cf28-08b1-11e7-8014-c689cdcccf87.png) + +Note that you cannot currently set breakpoints in the script listing file as +this code is being executed without an actual script file on the remote machine. + +#### Other fixes and improvements + +- Fixed [#427](https://github.com/PowerShell/vscode-powershell/issues/427) - + The keybinding for "Expand Alias" command has been changed to Shift+Alt+E +- Fixed [#519](https://github.com/PowerShell/vscode-powershell/issues/519) - + Debugger hangs after continuing when watch expressions are set +- Fixed [#448](https://github.com/PowerShell/vscode-powershell/issues/448) - + Code formatter should keep indentation for multi-line pipelines +- Fixed [#518](https://github.com/PowerShell/vscode-powershell/issues/518) - + Code formatter fails when dollar-paren `$()` expressions are used +- Fixed [#447](https://github.com/PowerShell/vscode-powershell/issues/447) - + Code formatter crashes when run on untitled documents + +## 0.9.0 +### Thursday, January 19, 2017 + +#### New PowerShell code formatter + +We've added a formatter for PowerShell code which allows you to format an +entire file or a selection within a file. You can access this formatter by +running VS Code's `Format Document` and `Format Selection` commands inside +of a PowerShell file. + +You can configure code formatting with the following settings: + +- `powershell.codeFormatting.openBraceOnSameLine` - Places open brace on the + same line as its associated statement. Default is `true`. +- `powershell.codeFormatting.newLineAfterOpenBrace` - Ensures that a new line + occurs after an open brace (unless in a pipeline statement on the same line). + Default is `true` +- `editor.tabSize` - Specifies the indentation width for code blocks. This + is a VS Code setting but it is respected by the code formatter. +- `editor.formatOnSave` - If true, automatically formats when they are saved. + This is a VS Code setting and may also affect non-PowerShell files. + +Please note that this is only a first pass at PowerShell code formatting, it +may not format your code perfectly in all cases. If you run into any issues, +please [file an issue](https://github.com/PowerShell/vscode-powershell/issues/new) +and give us your feedback! + +#### Streamlined debugging experience - launch.json is now optional! + +**NOTE: This improvement depends on VS Code 1.9.0 which is due for release +early February!** However, you can try it out right now with the [VS Code Insiders](https://code.visualstudio.com/insiders) +release. + +Thanks to a new improvement in VS Code's debugging APIs, we are now able to +launch the PowerShell debugger on a script file without the need for a `launch.json` +file. You can even debug individual PowerShell scripts without opening a +workspace folder! Don't worry, you can still use a `launch.json` file to configure +specific debugging scenarios. + +We've also made debugger startup much more reliable. You will no longer see the +dreaded "Debug adapter terminated unexpectedly" message when you try to launch +the debugger while the language server is still starting up. + +#### Support for debugging remote and attached runspaces + +We now support remote PowerShell sessions via the [`Enter-PSSession`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pssession) +cmdlet. This cmdlet allows you to create a PowerShell session on another machine +so that you can run commands or debug scripts there. The full debugging +experience works with these remote sessions on PowerShell 4 and above, allowing +you to set breakpoints and see remote files be opened locally when those breakpoints +are hit. + +For PowerShell 5 and above, we also support attaching to local and remote PowerShell +host processes using the [`Enter-PSHostProcess`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pshostprocess) +and [`Debug-Runspace`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.utility/debug-runspace) +cmdlets. This allows you to jump into another process and then debug a script that +is already running in one of the runspaces in that process. The debugger will break +execution of the running script and then the associated script file will be opened +in the editor so that you can set breakpoints and step through its execution. + +We've also added a new `launch.json` configuration for debugging PowerShell host processes: + +![Process launch configuration screenshot](https://cloud.githubusercontent.com/assets/79405/22089468/391e8120-dda0-11e6-950c-64f81b364c35.png) + +When launched, the default "attach" configuration will prompt you with a list of +PowerShell host processes on the local machine so that you can easily select one +to be debugged: + +![Process selection UI screenshot](https://cloud.githubusercontent.com/assets/79405/22081037/c205e516-dd76-11e6-834a-66f4c38e181d.png) + +You can also edit the launch configuration to hardcode the launch parameters, even +setting a remote machine to connect to before attaching to the remote process: + +```json + { + "type": "PowerShell", + "request": "attach", + "name": "PowerShell Attach to Host Process", + "computerName": "my-remote-machine", + "processId": "12345", + "runspaceId": 1 + } +``` + +Please note that we currently do not yet support initiating remote sessions from Linux +or macOS. This will be supported in an upcoming release. + +#### Initial support for remote file opening using `psedit` + +Another nice improvement is that we now support the `psedit` command in remote and +attached sessions. This command allows you to open a file in a local or remote session +so that you can set breakpoints in it using the UI before launching it. For now these +remotely-opened files will not be saved back to the remote session when you edit and +save them. We plan to add this capability in the next feature update. + +#### New "interactive session" debugging mode + +You can now create a new launch configuration which drops you directly into the +debug console so that you can debug your scripts and modules however you wish. +You can call Set-PSBreakpoint to set any type of breakpoint and then invoke your +code through the console to see those breakpoints get hit. This mode can also be +useful for debugging remote sessions. + +![Interactive session config screenshot](https://cloud.githubusercontent.com/assets/79405/22089502/5e56b4c6-dda0-11e6-8a51-f24e29ce7988.png) + +Please note that this is NOT a replacement for a true interactive console experience. +We've added this debugging configuration to enable a few other debugging scenarios, like +debugging PowerShell modules, while we work on a true interactive console experience using +VS Code's Terminal interface. + +#### New document symbol support for PSD1 files + +We've extended our document symbol support to `.psd1` files to make it really easy to +navigate through them. When you have a `.psd1` file open, run the `Go to Symbol in File...` +command (Ctrl + Shift + O) and you'll see this popup: + +![psd1 symbol screenshot](https://cloud.githubusercontent.com/assets/79405/22094872/85c7d9a2-ddc5-11e6-9bee-5fc8c3dae097.png) + +You can type a symbol name or navigate using your arrow keys. Once you select one of the +symbol names, the editor pane will jump directly to that line. + +#### Other fixes and improvements + +- Added a new `Open Examples Folder` command to easily open the extension's + example script folder. +- Added a new setting `powershell.developer.powerShellExeIsWindowsDevBuild` + which, when true, indicates that the `powerShellExePath` points to a Windows + PowerShell development build. +- Fixed [#395](https://github.com/PowerShell/vscode-powershell/issues/395): + Quick Fix for PSAvoidUsingAliases rule replaces the entire command +- Fixed [#396](https://github.com/PowerShell/vscode-powershell/issues/396): + Extension commands loaded in PowerShell profile are not being registered +- Fixed [#391](https://github.com/PowerShell/vscode-powershell/issues/391): + DSC IntelliSense can cause the language server to crash +- Fixed [#400](https://github.com/PowerShell/vscode-powershell/issues/400): + Language server can crash when selecting PSScriptAnalyzer rules +- Fixed [#408](https://github.com/PowerShell/vscode-powershell/issues/408): + Quick fix requests meant for other extensions crash the language server +- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401): + Extension startup should indicate if the current PowerShell version is unsupported +- Fixed [#314](https://github.com/PowerShell/vscode-powershell/issues/314): + Errors/Warnings still show up in Problems window when file is closed +- Fixed [#388](https://github.com/PowerShell/vscode-powershell/issues/388): + Syntax errors are not reported when powershell.scriptAnalysis.enable is set to false + +## 0.8.0 +### Friday, December 16, 2016 + +#### Improved PowerShell session management + +It's now much easier to manage the active PowerShell session. We've added a +new item to the status bar to indicate the state of the session and the version +of PowerShell you're using: + +![Screenshot of status indicator](https://cloud.githubusercontent.com/assets/79405/21247551/fcf2777c-c2e4-11e6-9659-7349c35adbcd.png) + +When this status item is clicked, a new menu appears to give you some session +management options: + +![Screenshot of session menu](https://cloud.githubusercontent.com/assets/79405/21247555/009fa64c-c2e5-11e6-8171-76914d3366a0.png) + +You can restart the active session, switch between 32-bit and 64-bit PowerShell on +Windows or switch to another PowerShell process (like a 6.0 alpha build) that +you've configured with the `powershell.developer.powerShellExePath`. + +We've also improved the overall experience of loading and using the extension: + +- It will prompt to restart the PowerShell session if it crashes for any reason +- It will also prompt to restart the session if you change any relevant PowerShell + configuration setting like the aforementioned `powershell.developer.powerShellExePath`. +- You can easily access the logs of the current session by running the command + `Open PowerShell Extension Logs Folder`. + +#### Create new modules with Plaster + +In this release we've added integration with the [Plaster](https://github.com/PowerShell/Plaster) +module to provide a `Create New Project from Plaster Template` command. This command will +walk you through the experience of selecting a template and filling in all of +the project details: + +![Screenshot of Plaster template selection](https://cloud.githubusercontent.com/assets/79405/21247560/087b47a4-c2e5-11e6-86e7-ba3727b5e36d.png) + +![Screenshot of Plaster input](https://cloud.githubusercontent.com/assets/79405/21247562/0a79b130-c2e5-11e6-97e9-cfd672803f75.png) + +We include one basic project template by default and will add more in the very +near future. However, you won't need to update the PowerShell extension to get these +new templates, they will appear when you install an update to the Plaster module from +the [PowerShell Gallery](https://www.powershellgallery.com/). + +Check out [Plaster's documentation](https://github.com/PowerShell/Plaster/tree/master/docs/en-US) +for more details on how it can be used and how you can create your own templates. + +#### New "quick fix" actions for PSScriptAnalyzer rules + +The PowerShell extension now uses any "suggested corrections" which are returned with +a rule violation in your script file to provide a "quick fix" option for the affected +section of code. For example, when the `PSAvoidUsingCmdletAliases` rule finds the use +of a non-whitelisted alias, you will see a light bulb icon that gives the option to +change to the full name (right click or Ctrl+. on the marker): + +![Screenshot of PSScriptAnalyzer quick fix](https://cloud.githubusercontent.com/assets/79405/21247558/05887e86-c2e5-11e6-9c67-e4558a7e2dba.png) + +If you'd like to see more quick fixes for PowerShell code, head over to the +[PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) GitHub page and +get involved! + +#### Easily enable and disable PSScriptAnalyzer rules + +Another improvement related to PSScriptAnalyzer is the ability to change the active +PSScriptAnalyzer rules in the current editing session using a helpful selection menu: + +![Screenshot of PSScriptAnalyzer rule selection](https://cloud.githubusercontent.com/assets/79405/21247557/037888b6-c2e5-11e6-816f-6732e13cddb7.png) + +You can enable and disable active rules by running the `Select PSScriptAnalyzer Rules` +command. For now this only changes the active session but in a future release we will +modify your PSScriptAnalyzer settings file so that the changes are persisted to future +editing sessions. + +#### New "hit count" breakpoints in the debugger + +When debugging PowerShell scripts you can now set "hit count" breakpoints which +cause the debugger to stop only after the breakpoint has been encountered a specified +number of times. + +![Screenshot of a hit count breakpoint](https://cloud.githubusercontent.com/assets/79405/21247563/0c159202-c2e5-11e6-8c91-36791c4fa804.png) + +#### Other fixes and improvements + +- We now provide snippets for the `launch.json` configuration file which make it easier + to add new PowerShell debugging configurations for your project. +- In PowerShell `launch.json` configurations, the `program` parameter has now been + renamed to `script`. Configurations still using `program` will continue to work. +- Fixed #353: Cannot start PowerShell debugger on Windows when offline +- Fixed #217: PowerShell output window should be shown when F8 is pressed +- Fixed #292: Check for Homebrew's OpenSSL libraries correctly on macOS +- Fixed #384: PowerShell snippets broken in VS Code 1.8.0 + +## 0.7.2 +### Friday, September 2, 2016 + +- Fixed #243: Debug adapter process has terminated unexpectedly +- Fixed #264: Add check for OpenSSL on OS X before starting the language service +- Fixed #271: PSScriptAnalyzer settings path isn't being passed along +- Fixed #273: Debugger crashes after multiple runs +- Fixed #274: Extension crashes on Ctrl+Hover + +## 0.7.1 +### Tuesday, August 23, 2016 + +- "Auto" variable scope in debugger UI now expands by default +- Fixed #244: Extension fails to load if username contains spaces +- Fixed #246: Restore default PSScriptAnalyzer ruleset +- Fixed #248: Extension fails to load on Windows 7 with PowerShell v3 + +## 0.7.0 +### Thursday, August 18, 2016 + +#### Introducing support for Linux and macOS! + +This release marks the beginning of our support for Linux and macOS via +the new [cross-platform release of PowerShell](https://github.com/PowerShell/PowerShell). +You can find installation and usage instructions at the [PowerShell GitHub repository](https://github.com/PowerShell/PowerShell). + +## 0.6.2 +### Friday, August 12, 2016 + +- Fixed #231: In VS Code 1.4.0, IntelliSense has stopped working +- Fixed #193: Typing "n" breaks intellisense +- Fixed #187: Language server sometimes crashes then $ErrorActionPreference = "Stop" + +## 0.6.1 +### Monday, May 16, 2016 + +- Fixed #180: Profile loading should be enabled by default +- Fixed #183: Language server sometimes fails to initialize preventing IntelliSense, etc from working +- Fixed #182: Using 'Run Selection' on a line without a selection only runs to the cursor position +- Fixed #184: When running a script in the debugger, $host.Version reports wrong extension version + +## 0.6.0 +### Thursday, May 12, 2016 + +#### Added a new cross-editor extensibility model + +- We've added a new extensibility model which allows you to write PowerShell + code to add new functionality to Visual Studio Code and other editors with + a single API. If you've used `$psISE` in the PowerShell ISE, you'll feel + right at home with `$psEditor`. Check out the [documentation](https://powershell.github.io/PowerShellEditorServices/guide/extensions.html) + for more details! + +#### Support for user and system-wide profiles + +- We've now introduced the `$profile` variable which contains the expected + properties that you normally see in `powershell.exe` and `powershell_ise.exe`: + - `AllUsersAllHosts` + - `AllUsersCurrentHost` + - `CurrentUserAllHosts` + - `CurrentUserCurrentHost` +- In Visual Studio Code the profile name is `Microsoft.VSCode_profile.ps1`. +- `$host.Name` now returns "Visual Studio Code Host" and `$host.Version` returns + the version of the PowerShell extension that is being used. + +#### Other improvements + +- IntelliSense for static methods and properties now works correctly. If you + type `::` after a type such as `[System.Guid]` you will now get the correct + completion results. This also works if you press `Ctrl+Space` after the `::` + characters. +- `$env` variables now have IntelliSense complete correctly. +- Added support for new VSCode command `Debug: Start Without Debugging`. Shortcut + for this command is Ctrl+F5. +- Changed the keyboard shortcut for `PowerShell: Expand Alias` from Ctrl+F5 to Ctrl+Alt+e. +- Added support for specifying a PSScriptAnalyzer settings file by + providing a full path in your User Settings for the key `powershell.scriptAnalysis.settingsPath`. + You can also configure the same setting in your project's `.vscode\settings.json` + file to contain a workspace-relative path. If present, this workspace-level setting + overrides the one in your User Settings file. See the extension's `examples\.vscode\settings.json` + file for an example. +- The debug adapter now does not crash when you attempt to add breakpoints + for files that have been moved or don't exist. +- Fixed an issue preventing output from being written in the debugger if you + don't set a breakpoint before running a script. + +#### New configuration settings + +- `powershell.scriptAnalysis.settingsPath`: Specifies the path to a PowerShell Script Analyzer settings file. Use either an absolute path (to override the default settings for all projects) or use a path relative to your workspace. + +## 0.5.0 +### Thursday, March 10, 2016 + +#### Support for PowerShell v3 and v4 + +- Support for PowerShell v3 and v4 is now complete! Note that for this release, + Script Analyzer support has been disabled for PS v3 and v4 until we implement + a better strategy for integrating it as a module dependency + +#### Debugging improvements + +- Added support for command breakpoints. + + Hover over the Debug workspace's 'Breakpoints' list header and click the 'Add' + button then type a command name (like `Write-Output`) in the new text box that + appears in the list. + +- Added support for conditional breakpoints. + + Right click in the breakpoint margin to the left of the code editor and click + 'Add conditional breakpoint' then enter a PowerShell expression in the text box + that appears in the editor. + +#### Other improvements + +- Added a preview of a possible project template for PowerShell Gallery modules in + the `examples` folder. Includes a PSake build script with Pester test, clean, + build, and publish tasks. See the `examples\README.md` file for instructions. + Check it out and give your feedback on GitHub! +- `using 'module'` now resolves relative paths correctly, removing a syntax error that + previously appeared when relative paths were used +- Calling `Read-Host -AsSecureString` or `Get-Credential` from the console now shows an + appropriate "not supported" error message instead of crashing the language service. + Support for these commands will be added in a later release. + +#### New configuration settings + +- `powershell.useX86Host`: If true, causes the 32-bit language service to be used on 64-bit Windows. On 32-bit Windows this setting has no effect. + +## 0.4.1 +### Wednesday, February 17, 2016 + +- Updated PSScriptAnalyzer 1.4.0 for improved rule marker extents +- Added example Pester task for running tests in the examples folder +- Fixed #94: Scripts fail to launch in the debugger if the working directory path contains spaces + +## 0.4.0 +### Tuesday, February 9, 2016 + +#### Debugging improvements + +[@rkeithhill](https://github.com/rkeithhill) spent a lot of time polishing the script debugging experience for this release: + +- You can now pass arguments to scripts in the debugger with the `args` parameter in launch.json +- You can also run your script with the 32-bit debugger by changing the `type` parameter in launch.json to "PowerShell x86" (also thanks to [@adamdriscoll](https://github.com/adamdriscoll)!) +- The new default PowerShell debugger configuration now launches the active file in the editor +- You can also set the working directory where the script is run by setting the `cwd` parameter in launch.json to an absolute path. If you need a workspace relative path, use ${workspaceRoot} to create an absolute path e.g. `"${workspaceRoot}/modules/foo.psm1"`. + +We recommend deleting any existing `launch.json` file you're using so that a new one will +be generated with the new defaults. + +#### Console improvements + +- Improved PowerShell console output formatting and performance + - The console prompt is now displayed after a command is executed + - Command execution errors are now displayed correctly in more cases + - Console output now wraps at 120 characters instead of 80 characters + +- Added choice and input prompt support + - When executing code using the 'Run Selection' command, choice and input prompts appear as VS Code UI popups + - When executing code in the debugger, choice and input prompts appear in the Debug Console + +#### New commands + +- "Find/Install PowerShell modules from the gallery" (`Ctrl+K Ctrl+F`): Enables you to find and install modules from the PowerShell Gallery (thanks [@dfinke](https://github.com/dfinke)!) +- "Open current file in PowerShell ISE" (`Ctrl+Shift+i`): Opens the current file in the PowerShell ISE (thanks [@janegilring](https://github.com/janegilring)!) + +#### Editor improvements + +- Path auto-completion lists show just the current directory's contents instead of the full path (which had resulted in clipped text) +- Parameter auto-completion lists are now sorted in the same order as they are in PowerShell ISE where command-specific parameters preceed the common parameters +- Parameter auto-completion lists show the parameter type +- Command auto-completion lists show the resolved command for aliases and the path for executables +- Many improvements to the PowerShell snippets, more clearly separating functional and example snippets (all of the latter are prefixed with `ex-`) +- Added some additional example script files in the `examples` folder + +#### New configuration settings + +- `powershell.developer.editorServicesLogLevel`: configures the logging verbosity for PowerShell Editor Services. The default log level will now write less logs, improving overall performance + +## 0.3.1 +### Thursday, December 17, 2015 + +- Fix issue #49, Debug Console does not receive script output + +## 0.3.0 +### Tuesday, December 15, 2015 + +- Major improvements in variables retrieved from the debugging service: + - Global and script scope variables are now accessible + - New "Auto" scope which shows only the variables defined within the current scope + - Greatly improved representation of variable values, especially for dictionaries and + objects that implement the ToString() method +- Added new "Expand Alias" command which resolves command aliases used in a file or + selection and updates the source text with the resolved command names +- Reduced default Script Analyzer rules to a minimal list +- Fixed a wide array of completion text replacement bugs +- Improved extension upgrade experience + +## 0.2.0 +### Monday, November 23, 2015 + +- (Experimental) Added a new "Run selection" (F8) command which executes the current code selection and displays the output +- Added a new online help command! Press Ctrl+F1 to get help for the symbol under the cursor. +- Enabled PowerShell language features for untitled and in-memory (e.g. in Git diff viewer) PowerShell files +- Added `powershell.scriptAnalysis.enable` configuration variable to allow disabling script analysis for performance (issue #11) +- Fixed issue where user's custom PowerShell snippets did not show up +- Fixed high CPU usage when completing or hovering over an application path + +## 0.1.0 +### Wednesday, November 18, 2015 + +Initial release with the following features: + +- Syntax highlighting +- Code snippets +- IntelliSense for cmdlets and more +- Rule-based analysis provided by PowerShell Script Analyzer +- Go to Definition of cmdlets and variables +- Find References of cmdlets and variables +- Document and workspace symbol discovery - Local script debugging and basic interactive console support From 388c72c981190c572b7874b030f4703346ab0a98 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Thu, 31 Oct 2019 13:19:38 -0700 Subject: [PATCH 2/5] Fixup changelog --- CHANGELOG.md | 490 ++++++++------------------------------------------- 1 file changed, 73 insertions(+), 417 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2526c695e6..56b808783e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,401 +1,57 @@ # PowerShell Preview Extension Release History -## v2019.11.0 -### Thursday, October 31, 2019 -#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - -- [vscode-PowerShell #2260](https://github.com/PowerShell/vscode-PowerShell/pull/2260) - - Use list of files for release since build happens first. -- [vscode-PowerShell #2262](https://github.com/PowerShell/vscode-PowerShell/pull/2262) - - Introduce new setting that controls UseLegacyReadLine. -- [vscode-PowerShell #2261](https://github.com/PowerShell/vscode-PowerShell/pull/2261) - - Fix crash when PowerShell selection is changed. -- ๐Ÿ›ซ ๐Ÿ› [vscode-powershell #2217](https://github.com/PowerShell/vscode-PowerShell/pull/2238) - - Discover new PowerShell installations, fix startup issue with Windows PowerShell. -- [vscode-PowerShell #2257](https://github.com/PowerShell/vscode-PowerShell/pull/2257) - - Bump @types/semver from 6.0.2 to 6.2.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2255](https://github.com/PowerShell/vscode-PowerShell/pull/2255) - - Fix tests by using API Key for CI. -- [vscode-PowerShell #2248](https://github.com/PowerShell/vscode-PowerShell/pull/2248) - - Bump vsce from 1.67.1 to 1.68.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2225](https://github.com/PowerShell/vscode-PowerShell/pull/2225) - - Surface Invoke Registered Editor Command. (Thanks @jpogran!) -- [vscode-PowerShell #2224](https://github.com/PowerShell/vscode-PowerShell/pull/2224) - - Provide Run Selection button in Editor Title Menu. (Thanks @jpogran!) -- [vscode-PowerShell #2233](https://github.com/PowerShell/vscode-PowerShell/pull/2233) - - Bump vsce from 1.66.0 to 1.67.1. (Thanks @dependabot-preview[bot]!) -- [vscode-powershell #2229](https://github.com/PowerShell/vscode-PowerShell/pull/2232) - - Fix version check in Install-VSCode.ps1. -- [vscode-PowerShell #2226](https://github.com/PowerShell/vscode-PowerShell/pull/2226) - - Changes needed for Omnisharp migration of PowerShellEditorServices. -- ๐Ÿ” [vscode-powershell #2144](https://github.com/PowerShell/vscode-PowerShell/pull/2223) - - Don't delete the session file to fix restart capability.. -- [vscode-PowerShell #2207](https://github.com/PowerShell/vscode-PowerShell/pull/2207) - - Bump @types/node-fetch from 2.5.0 to 2.5.2. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2186](https://github.com/PowerShell/vscode-PowerShell/pull/2186) - - Rev changelog for v2019.9.0. -- [vscode-PowerShell #2185](https://github.com/PowerShell/vscode-PowerShell/pull/2185) - - Rev version to 2019.9.0. -- [vscode-PowerShell #1961](https://github.com/PowerShell/vscode-PowerShell/pull/1961) - - Changelog tools. -- [vscode-PowerShell #2181](https://github.com/PowerShell/vscode-PowerShell/pull/2181) - - Bump @types/semver from 6.0.1 to 6.0.2. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2180](https://github.com/PowerShell/vscode-PowerShell/pull/2180) - - Bump tslint from 5.19.0 to 5.20.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2141](https://github.com/PowerShell/vscode-PowerShell/pull/2141) - - Null check on activeTerminal to workaround vscode behavior. -- [vscode-PowerShell #2105](https://github.com/PowerShell/vscode-PowerShell/pull/2105) - - Prompt to update PowerShell version. -- [vscode-PowerShell #2165](https://github.com/PowerShell/vscode-PowerShell/pull/2165) - - Add powershell.codeFormatting.autoCorrectAliases setting to add support for optionally correcting aliases as well (added in PSSA 1.18.2). Disabled by default.. (Thanks @bergmeister!) -- [vscode-PowerShell #2160](https://github.com/PowerShell/vscode-PowerShell/pull/2160) - - Added functionality to install the User variant of Stable Edition. (Thanks @Lothindir!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell/pull/2156) - - Bump tslint from 5.18.0 to 5.19.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Merge pull request #2094 from SydneyhSmith/master. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update src/platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update src/platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2156](https://github.com/PowerShell/vscode-PowerShell) - - Update src/platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2123](https://github.com/PowerShell/vscode-PowerShell/pull/2123) - - Bump vscode from 1.1.35 to 1.1.36. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell/pull/2090) - - Bump typescript from 3.5.2 to 3.5.3. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2090](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell/pull/2107) - - Bump vsce from 1.65.0 to 1.66.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2107](https://github.com/PowerShell/vscode-PowerShell) - - Update src/platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell/pull/2084) - - Implement #1611 - provide dynamic debug config. (Thanks @rkeithhill!) -- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2084](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell/pull/2095) - - Bump mocha-junit-reporter from 1.23.0 to 1.23.1. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.test.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update src/platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Merge pull request #1 from SydneyhSmith/WindowsCoreCheck. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update session.ts. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2095](https://github.com/PowerShell/vscode-PowerShell) - - Update platform.ts. (Thanks @SydneyhSmith!) -- ๐Ÿ“ โœจ [vscode-powershell #2024](https://github.com/PowerShell/vscode-PowerShell/pull/2039) - - Add machine scope. -- [vscode-PowerShell #2091](https://github.com/PowerShell/vscode-PowerShell/pull/2091) - - Bump vsce from 1.64.0 to 1.65.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2081](https://github.com/PowerShell/vscode-PowerShell/pull/2081) - - Add param-block snippet. (Thanks @AspenForester!) -- [vscode-PowerShell #2079](https://github.com/PowerShell/vscode-PowerShell/pull/2079) - - [Security] Bump lodash from 4.17.11 to 4.17.14. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2062](https://github.com/PowerShell/vscode-PowerShell/pull/2062) - - Remove redundant snippets. (Thanks @travis-c-lagrone!) -- [vscode-PowerShell #1974](https://github.com/PowerShell/vscode-PowerShell/pull/1974) - - Add #Requires snippets. (Thanks @travis-c-lagrone!) -- [vscode-PowerShell #2063](https://github.com/PowerShell/vscode-PowerShell/pull/2063) - - Remove redundant community snippets. (Thanks @travis-c-lagrone!) -- [vscode-PowerShell #2063](https://github.com/PowerShell/vscode-PowerShell) - - Merge pull request #2075 from PowerShell/ADS-Server-creation. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2063](https://github.com/PowerShell/vscode-PowerShell) - - Update docs/azure_data_studio/Server-Creation-With-Docker-Notebook.ipynb. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2074](https://github.com/PowerShell/vscode-PowerShell/pull/2074) - - Bump vscode-extension-telemetry from 0.1.1 to 0.1.2. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2074](https://github.com/PowerShell/vscode-PowerShell) - - Add files via upload. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell/pull/2065) - - Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments'. (Thanks @travis-c-lagrone!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Merge pull request #2061 from PowerShell/Doc-Updates. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Update development.md. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Update troubleshooting.md. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Delete ise_compatibility.md. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Delete remoting.md. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Update README_FOR_MARKETPLACE.md. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Merge pull request #2059 from PowerShell/SnippetReq. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Update development.md. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2065](https://github.com/PowerShell/vscode-PowerShell) - - Update community_snippets.md. (Thanks @SydneyhSmith!) -- [vscode-PowerShell #2056](https://github.com/PowerShell/vscode-PowerShell/pull/2056) - - Update package lock. -- [vscode-PowerShell #2054](https://github.com/PowerShell/vscode-PowerShell/pull/2054) - - Bump vscode from 1.1.34 to 1.1.35. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2038](https://github.com/PowerShell/vscode-PowerShell/pull/2038) - - Add ADS insiders gallery file to update script. -- [vscode-PowerShell #2037](https://github.com/PowerShell/vscode-PowerShell/pull/2037) - - Update PSSA docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) -- [vscode-PowerShell #2035](https://github.com/PowerShell/vscode-PowerShell/pull/2035) - - #1019: Get format settings from document editor instead of global.. (Thanks @tillig!) -- [vscode-PowerShell #2025](https://github.com/PowerShell/vscode-PowerShell/pull/2025) - - Fix node version detect logic to handle node v10. (Thanks @rkeithhill!) -- [vscode-PowerShell #1946](https://github.com/PowerShell/vscode-PowerShell/pull/1946) - - Add ArgumentCompleter snippets. (Thanks @travis-c-lagrone!) -- [vscode-PowerShell #2020](https://github.com/PowerShell/vscode-PowerShell/pull/2020) - - Bump mocha-junit-reporter from 1.22.0 to 1.23.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #1999](https://github.com/PowerShell/vscode-PowerShell/pull/1999) - - Bump @types/mocha from 5.2.6 to 5.2.7. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2047](https://github.com/PowerShell/vscode-PowerShell/pull/2047) - - Bump tslint from 5.16.0 to 5.18.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2044](https://github.com/PowerShell/vscode-PowerShell/pull/2044) - - Bump vsce from 1.63.0 to 1.64.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2028](https://github.com/PowerShell/vscode-PowerShell/pull/2028) - - Bump typescript from 3.4.5 to 3.5.2. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2029](https://github.com/PowerShell/vscode-PowerShell/pull/2029) - - Bump vsce from 1.62.0 to 1.63.0. (Thanks @dependabot-preview[bot]!) -- [vscode-PowerShell #2015](https://github.com/PowerShell/vscode-PowerShell/pull/2015) - - Fix node types version. -- [vscode-PowerShell #1982](https://github.com/PowerShell/vscode-PowerShell/pull/1982) - - Fix README edit by using name instead of version. -- [vscode-PowerShell #1978](https://github.com/PowerShell/vscode-PowerShell/pull/1978) - - Update CHANGELOG for v2019.5.0. -- [vscode-PowerShell #1954](https://github.com/PowerShell/vscode-PowerShell/pull/1954) - - Allow passing runspace name. -- [vscode-PowerShell #1959](https://github.com/PowerShell/vscode-PowerShell/pull/1959) - - Add rich nav. -- [vscode-PowerShell #1932](https://github.com/PowerShell/vscode-PowerShell/pull/1932) - - Add scripts for automatically updating the version of the PowerShell extension. -- [vscode-PowerShell #1945](https://github.com/PowerShell/vscode-PowerShell/pull/1945) - - Edit snippets to support $TM_SELECTED_TEXT. (Thanks @travis-c-lagrone!) -- [vscode-PowerShell #1942](https://github.com/PowerShell/vscode-PowerShell/pull/1942) - - Stop supporting 6.0. -- [vscode-PowerShell #1928](https://github.com/PowerShell/vscode-PowerShell/pull/1928) - - Add RunCode command for CodeLens providers. -- [vscode-PowerShell #1927](https://github.com/PowerShell/vscode-PowerShell/pull/1927) - - Fix change session by moving to async/await promise. -- [vscode-PowerShell #1931](https://github.com/PowerShell/vscode-PowerShell/pull/1931) - - Fix upload bug report. -- [vscode-PowerShell #1925](https://github.com/PowerShell/vscode-PowerShell/pull/1925) - - Fix error in HtmlContentView.ShowContent when no JS/CSS provided. (Thanks @rkeithhill!) -- [vscode-PowerShell #1919](https://github.com/PowerShell/vscode-PowerShell/pull/1919) - - Fix CustomViews by switching to WebViews. -- [vscode-PowerShell #1922](https://github.com/PowerShell/vscode-PowerShell/pull/1922) - - Fix small typo in Function-Inline description. (Thanks @V-ed!) -- [vscode-PowerShell #1908](https://github.com/PowerShell/vscode-PowerShell/pull/1908) - - Add powershell version telemetry. -- [vscode-PowerShell #1900](https://github.com/PowerShell/vscode-PowerShell/pull/1900) - - Small update to Azure Data Studio MP README. (Thanks @SQLvariant!) -- [vscode-PowerShell #1871](https://github.com/PowerShell/vscode-PowerShell/pull/1871) - - Azure pipelines. -- [vscode-PowerShell #1867](https://github.com/PowerShell/vscode-PowerShell/pull/1867) - - Change Whitespace settings to camelCase. -- [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - - Turn powershell.codeformatting.useCorrectCasing setting off by default until PSSA issues are fixed. (Thanks @bergmeister!) -- ๐Ÿ› [vscode-powershell #1822](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - - Set featureFlag default to null so that it can be resolved by settings. -- [vscode-PowerShell #1839](https://github.com/PowerShell/vscode-PowerShell/pull/1839) - - Add initial credscan ymls. -- [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - - Not -EncodedCommand on Windows. -- [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - - Switch to current lowercase names for powershell and mdlint exts. (Thanks @rkeithhill!) -- [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - - Update to official TSLint ext in extensions.json, old version deprecated. (Thanks @rkeithhill!) -- [vscode-PowerShell #1816](https://github.com/PowerShell/vscode-PowerShell/pull/1816) - - Workaround PSSA #1187 by defaulting to NoIndentation. -- [vscode-PowerShell #1809](https://github.com/PowerShell/vscode-PowerShell/pull/1809) - - Fix typos, add context to CHANGELOG. -- [vscode-PowerShell #1808](https://github.com/PowerShell/vscode-PowerShell/pull/1808) - - Prep for 2.0.0-preview.2 release. -- [vscode-PowerShell #1794](https://github.com/PowerShell/vscode-PowerShell/pull/1794) - - Make PSReadLine default on Windows. -- [vscode-PowerShell #1669](https://github.com/PowerShell/vscode-PowerShell/pull/1669) - - Add new powershell.codeFormatting settings for new options in PSSA 1.18: PipelineIndentationStyle. (Thanks @bergmeister!) -- [vscode-PowerShell #1668](https://github.com/PowerShell/vscode-PowerShell/pull/1668) - - Add new powershell.codeFormatting settings for new options in PSSA 1.18: WhitespaceInsideBrace and WhitespaceAroundPipe. -- [vscode-PowerShell #1687](https://github.com/PowerShell/vscode-PowerShell/pull/1687) - - Add new powershell.useCorrectCasingsettings for new rule in PSSA 1.18: PSUseCorrectCasing. (Thanks @bergmeister!) -- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell/pull/1800) - - Include current runspace and runspace 1 if should. -- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell) - - Tslint. -- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell) - - Make PSReadLine default on Windows. -- [vscode-PowerShell #1782](https://github.com/PowerShell/vscode-PowerShell/pull/1782) - - Add Debug Runspace command. (Thanks @adamdriscoll!) -- [vscode-PowerShell #1787](https://github.com/PowerShell/vscode-PowerShell/pull/1787) - - Added SQL PowerShell Examples. (Thanks @SQLvariant!) -- [vscode-PowerShell #1775](https://github.com/PowerShell/vscode-PowerShell/pull/1775) - - Support -CustomPipeName. -- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell/pull/1781) - - Fix initial launch config casing. -- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell) - - Apply suggestions from code review. (Thanks @bergmeister!) -- [vscode-PowerShell #1776](https://github.com/PowerShell/vscode-PowerShell/pull/1776) - - Migrate Pester version detection into an InovkePester stub script. (Thanks @rkeithhill!) -- [vscode-PowerShell #1764](https://github.com/PowerShell/vscode-PowerShell/pull/1764) - - Added Pester, ShouldProcess and Calculated Property PS Snippets. (Thanks @brettmillerb!) -- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell/pull/1774) - - Switch to EncodedCommand. -- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell) - - Match Install-VSCode.ps1 script url with the one from master branch. -- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell) - - Powershell instead of bash. -- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell/pull/1773) - - Change debugger type field back to "PowerShell" from powershell. (Thanks @rkeithhill!) -- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell) - - Update link to install script to gh master branch. -- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell) - - Match script url with the one below. -- [vscode-PowerShell #1755](https://github.com/PowerShell/vscode-PowerShell/pull/1755) - - Speed up travis builds by skipping the .net core initialisation. (Thanks @bergmeister!) -- [vscode-PowerShell #1747](https://github.com/PowerShell/vscode-PowerShell/pull/1747) - - Modify powerShellDefaultVersion desc to make clearer. (Thanks @rkeithhill!) -- [vscode-PowerShell #1749](https://github.com/PowerShell/vscode-PowerShell/pull/1749) - - Adds the Install-VSCode.ps1 script to signing. -- [vscode-PowerShell #1746](https://github.com/PowerShell/vscode-PowerShell/pull/1746) - - Add label property to debug config, change pkg name to lowercase. (Thanks @rkeithhill!) -- [vscode-PowerShell #1743](https://github.com/PowerShell/vscode-PowerShell/pull/1743) - - Fix Right Click Help lookup not always working.. (Thanks @corbob!) -- [vscode-PowerShell #1741](https://github.com/PowerShell/vscode-PowerShell/pull/1741) - - Update build to clear node modules directory. (Thanks @corbob!) -- [vscode-PowerShell #1729](https://github.com/PowerShell/vscode-PowerShell/pull/1729) - - Handle Pester Describe block strings with single quotes inside it. (Thanks @bergmeister!) -- [vscode-PowerShell #1619](https://github.com/PowerShell/vscode-PowerShell/pull/1619) - - Fix conflicts. -- ๐Ÿ› [vscode-powershell #1721](https://github.com/PowerShell/vscode-PowerShell/pull/1728) - - Handle name better. -- [vscode-PowerShell #1736](https://github.com/PowerShell/vscode-PowerShell/pull/1736) - - Turn off non-windows gate for attach to process. -- [vscode-powershell #1737](https://github.com/PowerShell/vscode-PowerShell/pull/1738) - - Setting CommandExp ExcludeFilter to be empty array. (Thanks @adilio!) -- [vscode-PowerShell #1686](https://github.com/PowerShell/vscode-PowerShell/pull/1686) - - Add an Exclusion filter to the Command Explorer.. (Thanks @corbob!) -- [vscode-PowerShell #1714](https://github.com/PowerShell/vscode-PowerShell/pull/1714) - - Do not run pester tests when user cancels questions using the x button. (Thanks @bergmeister!) -- [vscode-PowerShell #1707](https://github.com/PowerShell/vscode-PowerShell/pull/1707) - - Support Preview mechanism. -- [vscode-PowerShell #1707](https://github.com/PowerShell/vscode-PowerShell) - - Merge pull request #1706 from PowerShell/2.0.0. -- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell/pull/1587) - - Removed ShowOnlineHelp Command. (Thanks @corbob!) -- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell) - - Fix whitespace. (Thanks @bergmeister!) -- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell) - - Merge branch 'master' of https://github.com/PowerShell/vscode-powershell into PSSA_CheckInnerBraceAndPipe. (Thanks @bergmeister!) -- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell) - - Add new settings: powershell.codeFormatting.WhitespaceInsideBrace and powershell.codeFormatting.WhitespaceAroundPipe. (Thanks @bergmeister!) - +## v2019.11.0 +### Thursday, October 31, 2019 + +##### Special Note +In this release of the preview extension, +we've merged significant architectural work into PowerShell Editor Services. +After several months of work, PSES now uses the Omnisharp LSP library +to handle Language Server Protocol interaction instead of rolling its own, +allowing PSES to concentrate on being a good PowerShell backend. +We hope you'll see increased performance and stability in this release. +As always, [please let us know if you find any issues](https://github.com/PowerShell/vscode-powershell/issues/new/choose). + +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- ๐Ÿ”ง [vscode-PowerShell #2262](https://github.com/PowerShell/vscode-PowerShell/pull/2262) - + Introduce `powershell.integratedConsole.useLegacyReadline` setting disable PSReadLine. +- ๐Ÿ›ซ๐Ÿ›[vscode-powershell #2217](https://github.com/PowerShell/vscode-PowerShell/pull/2238) - + Discover new PowerShell installations, fix startup issue with Windows PowerShell. +- ๐Ÿ“บ [vscode-PowerShell #2225](https://github.com/PowerShell/vscode-PowerShell/pull/2225) - + Surface `InvokeRegisteredEditorCommand` in the Command Palette. (Thanks @jpogran!) +- ๐Ÿ“บ [vscode-PowerShell #2224](https://github.com/PowerShell/vscode-PowerShell/pull/2224) - + Provide Run Selection button in editor title menu. (Thanks @jpogran!) +- ๐Ÿ‘ท [vscode-powershell #2229](https://github.com/PowerShell/vscode-PowerShell/pull/2232) - + Fix version check in Install-VSCode.ps1. +- ๐Ÿš‚ [vscode-PowerShell #2226](https://github.com/PowerShell/vscode-PowerShell/pull/2226) - + Changes needed for Omnisharp migration of PowerShellEditorServices. +- ๐Ÿ” [vscode-powershell #2144](https://github.com/PowerShell/vscode-PowerShell/pull/2223) - + Fix debugging restart capability by ensuring the session file is not deleted. + #### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- [PowerShellEditorServices #1080](https://github.com/PowerShell/PowerShellEditorServices/pull/1080) - - Remove extra newline in GetComment feature. -- [PowerShellEditorServices #1079](https://github.com/PowerShell/PowerShellEditorServices/pull/1079) - - Fix duplicate diagnostics caused by DidChange handler. -- [PowerShellEditorServices #1076](https://github.com/PowerShell/PowerShellEditorServices/pull/1076) - - Graduate PSReadLine feature and add UseLegacyReadLine. -- [PowerShellEditorServices #1075](https://github.com/PowerShell/PowerShellEditorServices/pull/1075) - - Lock OmniSharp dependencies to v0.14.0. (Thanks @mholo65!) -- [PowerShellEditorServices #1064](https://github.com/PowerShell/PowerShellEditorServices/pull/1064) - - New colors supported by PS7. -- [PowerShellEditorServices #1062](https://github.com/PowerShell/PowerShellEditorServices/pull/1062) - - Bump Serilog.Extensions.Logging from 2.0.4 to 3.0.1. (Thanks @dependabot-preview[bot]!) -- [PowerShellEditorServices #1073](https://github.com/PowerShell/PowerShellEditorServices/pull/1073) - - Fix prerelease version discovery and fix omnisharp change. -- [PowerShellEditorServices #1070](https://github.com/PowerShell/PowerShellEditorServices/pull/1070) - - Bump Serilog.Sinks.File from 4.0.0 to 4.1.0. (Thanks @dependabot-preview[bot]!) -- [PowerShellEditorServices #1065](https://github.com/PowerShell/PowerShellEditorServices/pull/1065) - - Fix TEMP debugging. -- ๐Ÿ› [vscode-powershell #1753](https://github.com/PowerShell/PowerShellEditorServices/pull/1072) - - Override PSRL ReadKey on Windows as well. -- [PowerShellEditorServices #1068](https://github.com/PowerShell/PowerShellEditorServices/pull/1068) - - Forwardport 1044 fixing UNC path completions. -- [PowerShellEditorServices #1066](https://github.com/PowerShell/PowerShellEditorServices/pull/1066) - - Rework log builder to support logging to files. -- [PowerShellEditorServices #1061](https://github.com/PowerShell/PowerShellEditorServices/pull/1061) - - Bump Microsoft.Extensions.FileSystemGlobbing from 2.2.0 to 3.0.0. (Thanks @dependabot-preview[bot]!) -- [PowerShellEditorServices #1060](https://github.com/PowerShell/PowerShellEditorServices/pull/1060) - - Bump System.Security.Principal.Windows from 4.5.1 to 4.6.0. (Thanks @dependabot-preview[bot]!) -- [PowerShellEditorServices #1063](https://github.com/PowerShell/PowerShellEditorServices/pull/1063) - - Bump Microsoft.Extensions.Logging from 3.0.0-preview8.19405.4 to 3.0.0. (Thanks @dependabot-preview[bot]!) -- [PowerShellEditorServices #1055](https://github.com/PowerShell/PowerShellEditorServices/pull/1055) - - Update .Net Core SDK from 2.1.801 to 2.1.802 (latest patch). (Thanks @bergmeister!) -- [PowerShellEditorServices #1056](https://github.com/PowerShell/PowerShellEditorServices/pull/1056) - - Move the Omnisharp work into master. -- ๐Ÿ› [vscode-powershell #2116](https://github.com/PowerShell/PowerShellEditorServices/pull/1044) - - Fix UNC intellisense backslash. -- [PowerShellEditorServices #1042](https://github.com/PowerShell/PowerShellEditorServices/pull/1042) - - Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.3.0. (Thanks @dependabot-preview[bot]!) -- [PowerShellEditorServices #1041](https://github.com/PowerShell/PowerShellEditorServices/pull/1041) - - Bump Microsoft.Extensions.FileSystemGlobbing from 2.2.0 to 3.0.0. (Thanks @dependabot-preview[bot]!) -- [PowerShellEditorServices #1040](https://github.com/PowerShell/PowerShellEditorServices/pull/1040) - - Bump Microsoft.CSharp from 4.5.0 to 4.6.0. (Thanks @dependabot-preview[bot]!) - + +- ๐Ÿ› [PowerShellEditorServices #1080](https://github.com/PowerShell/PowerShellEditorServices/pull/1080) - + Remove extra newline in GetComment feature. +- ๐Ÿ› [PowerShellEditorServices #1079](https://github.com/PowerShell/PowerShellEditorServices/pull/1079) - + Fix duplicate diagnostics caused by DidChange handler. +- ๐Ÿ”ง [PowerShellEditorServices #1076](https://github.com/PowerShell/PowerShellEditorServices/pull/1076) - + Graduate PSReadLine feature and add UseLegacyReadLine. +- โš™๏ธ [PowerShellEditorServices #1075](https://github.com/PowerShell/PowerShellEditorServices/pull/1075) - + Lock OmniSharp dependencies to v0.14.0. (Thanks @mholo65!) +- ๐Ÿ“Ÿ [PowerShellEditorServices #1064](https://github.com/PowerShell/PowerShellEditorServices/pull/1064) - + Add support for terminal error color settings in PS7. +- ๐Ÿ› [PowerShellEditorServices #1073](https://github.com/PowerShell/PowerShellEditorServices/pull/1073) - + Fix prerelease version discovery and fix omnisharp change. +- ๐Ÿ› [PowerShellEditorServices #1065](https://github.com/PowerShell/PowerShellEditorServices/pull/1065) - + Fix TEMP debugging. +- ๐Ÿ› [vscode-powershell #1753](https://github.com/PowerShell/PowerShellEditorServices/pull/1072) - + Override PSRL ReadKey on Windows as well. +- ๐Ÿš‚ [PowerShellEditorServices #1056](https://github.com/PowerShell/PowerShellEditorServices/pull/1056) - + Re-architect PowerShell Editor Services to use the Omnisharp LSP platform. +- ๐Ÿ› [vscode-powershell #2116](https://github.com/PowerShell/PowerShellEditorServices/pull/1044) - + Fix UNC intellisense backslash. + ## v2019.9.0 ### Monday, September 23, 2019 #### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) @@ -473,33 +129,33 @@ - ๐Ÿ‘ท [vscode-PowerShell #1942](https://github.com/PowerShell/vscode-PowerShell/pull/1942) - Stop supporting 6.0 - โœจ [vscode-PowerShell #1928](https://github.com/PowerShell/vscode-PowerShell/pull/1928) - - Add RunCode command for CodeLens providers + Add RunCode command for CodeLens providers - ๐Ÿ› [vscode-PowerShell #1927](https://github.com/PowerShell/vscode-PowerShell/pull/1927) - - Fix change session by moving to async/await promise + Fix change session by moving to async/await promise - ๐Ÿ› [vscode-PowerShell #1931](https://github.com/PowerShell/vscode-PowerShell/pull/1931) - - Fix upload bug report + Fix upload bug report - ๐Ÿ› [vscode-PowerShell #1925](https://github.com/PowerShell/vscode-PowerShell/pull/1925) - Fix error in HtmlContentView.ShowContent when no JS/CSS provided (Thanks @rkeithhill!) - ๐Ÿ› [vscode-PowerShell #1919](https://github.com/PowerShell/vscode-PowerShell/pull/1919) - - Fix CustomViews by switching to WebViews + Fix CustomViews by switching to WebViews - ๐Ÿ› [vscode-PowerShell #1922](https://github.com/PowerShell/vscode-PowerShell/pull/1922) - Fix small typo in Function-Inline description (Thanks @V-ed!) - โœจ [vscode-PowerShell #1908](https://github.com/PowerShell/vscode-PowerShell/pull/1908) - - Add PowerShell version telemetry + Add PowerShell version telemetry - ๐Ÿ“– [vscode-PowerShell #1900](https://github.com/PowerShell/vscode-PowerShell/pull/1900) - Small update to Azure Data Studio marketplace README (Thanks @SQLvariant!) - ๐Ÿ’ป [vscode-PowerShell #1871](https://github.com/PowerShell/vscode-PowerShell/pull/1871) - Change CI to use Azure Pipelines - ๐Ÿ› [vscode-PowerShell #1867](https://github.com/PowerShell/vscode-PowerShell/pull/1867) - - Change whitespace settings to camelCase + Change whitespace settings to camelCase - ๐Ÿ› [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSScriptAnalyzer issues are fixed (Thanks @bergmeister!) - ๐Ÿ› [vscode-powershell #1822](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - - Set featureFlag default to null so that it can be resolved by settings + Set featureFlag default to null so that it can be resolved by settings - ๐Ÿ’ป [vscode-PowerShell #1839](https://github.com/PowerShell/vscode-PowerShell/pull/1839) - - Add initial credscan config ymls for CI + Add initial credscan config ymls for CI - ๐Ÿ› [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - - Don't use -EncodedCommand to start PowerShell on Windows + Don't use -EncodedCommand to start PowerShell on Windows - ๐Ÿ› [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - Switch to current lowercase names for powershell and mdlint extensions (Thanks @rkeithhill!) - ๐Ÿ‘ท [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - @@ -508,33 +164,33 @@ #### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - โœจ [PowerShellEditorServices #951](https://github.com/PowerShell/PowerShellEditorServices/pull/951) - - Allow passing RunspaceName + Allow passing RunspaceName - ๐Ÿšจ [PowerShellEditorServices #944](https://github.com/PowerShell/PowerShellEditorServices/pull/944) - - Add integration testing module with simple tests to verify PSES starts and stops + Add integration testing module with simple tests to verify PSES starts and stops - ๐Ÿ› [PowerShellEditorServices #954](https://github.com/PowerShell/PowerShellEditorServices/pull/955) - - Ensure NamedPipeServerStream is assigned in Windows PowerShell + Ensure NamedPipeServerStream is assigned in Windows PowerShell - โœจ [PowerShellEditorServices #952](https://github.com/PowerShell/PowerShellEditorServices/pull/952) - - Update to PSReadLine 2.0.0-beta4 + Update to PSReadLine 2.0.0-beta4 - โœจ [PowerShellEditorServices #877](https://github.com/PowerShell/PowerShellEditorServices/pull/877) - Add filtering for CodeLens and References (Thanks @glennsarti!) - ๐Ÿ› [vscode-powershell #1933](https://github.com/PowerShell/PowerShellEditorServices/pull/949) - - Stop crash when workspace doesn't exist + Stop crash when workspace doesn't exist - ๐Ÿ‘ท [PowerShellEditorServices #878](https://github.com/PowerShell/PowerShellEditorServices/pull/878) - - Remove native named pipes implementation + Remove native named pipes implementation - ๐Ÿ› [PowerShellEditorServices #947](https://github.com/PowerShell/PowerShellEditorServices/pull/947) - - Fix silent failure in VSCode WebViews by using Id for dictionary since multiple pages could have the same title + Fix silent failure in VSCode WebViews by using Id for dictionary since multiple pages could have the same title - ๐Ÿ› [PowerShellEditorServices #946](https://github.com/PowerShell/PowerShellEditorServices/pull/946) - - Rename to use async + Rename to use async - ๐Ÿ‘ท [PowerShellEditorServices #943](https://github.com/PowerShell/PowerShellEditorServices/pull/943) - Improvements to the log parsing module (Thanks @rkeithhill!) - ๐Ÿ’ป [PowerShellEditorServices #921](https://github.com/PowerShell/PowerShellEditorServices/pull/921) - - Set up CI with Azure Pipelines + Set up CI with Azure Pipelines - ๐Ÿ› [PowerShellEditorServices #908](https://github.com/PowerShell/PowerShellEditorServices/pull/908) - Fix issue with reference code lens not working with UNC paths (Thanks @rkeithhill!) - ๐Ÿ› [vscode-powershell #1571](https://github.com/PowerShell/PowerShellEditorServices/pull/911) - - Fix faulty netfx check + Fix faulty netfx check - ๐Ÿ› [PowerShellEditorServices #906](https://github.com/PowerShell/PowerShellEditorServices/pull/906) - - Fix New-EditorFile with no folder or no files open + Fix New-EditorFile with no folder or no files open - โœจ [vscode-powershell #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - Improve path auto-completion (Thanks @rkeithhill!) - ๐Ÿ› [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - @@ -544,7 +200,7 @@ - ๐Ÿ‘ท [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) - ๐Ÿ’ป [PowerShellEditorServices #904](https://github.com/PowerShell/PowerShellEditorServices/pull/904) - - Add initial credscan configuation ymls for CI + Add initial credscan configuation ymls for CI - ๐Ÿ› [PowerShellEditorServices #901](https://github.com/PowerShell/PowerShellEditorServices/pull/901) - Switch to current lowercase names for powershell and mdlint exts (Thanks @rkeithhill!) @@ -2623,4 +2279,4 @@ Initial release with the following features: - Go to Definition of cmdlets and variables - Find References of cmdlets and variables - Document and workspace symbol discovery -- Local script debugging and basic interactive console support +- Local script debugging and basic interactive console support From 1393afe86a487111c847b7858841cb7a0ba4ebaf Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Thu, 31 Oct 2019 13:30:38 -0700 Subject: [PATCH 3/5] Fixup changelog --- CHANGELOG.md | 4564 +++++++++++++++++++++++++------------------------- 1 file changed, 2282 insertions(+), 2282 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56b808783e..553a0c4095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2282 +1,2282 @@ -# PowerShell Preview Extension Release History - -## v2019.11.0 -### Thursday, October 31, 2019 - -##### Special Note -In this release of the preview extension, -we've merged significant architectural work into PowerShell Editor Services. -After several months of work, PSES now uses the Omnisharp LSP library -to handle Language Server Protocol interaction instead of rolling its own, -allowing PSES to concentrate on being a good PowerShell backend. -We hope you'll see increased performance and stability in this release. -As always, [please let us know if you find any issues](https://github.com/PowerShell/vscode-powershell/issues/new/choose). - -#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - -- ๐Ÿ”ง [vscode-PowerShell #2262](https://github.com/PowerShell/vscode-PowerShell/pull/2262) - - Introduce `powershell.integratedConsole.useLegacyReadline` setting disable PSReadLine. -- ๐Ÿ›ซ๐Ÿ›[vscode-powershell #2217](https://github.com/PowerShell/vscode-PowerShell/pull/2238) - - Discover new PowerShell installations, fix startup issue with Windows PowerShell. -- ๐Ÿ“บ [vscode-PowerShell #2225](https://github.com/PowerShell/vscode-PowerShell/pull/2225) - - Surface `InvokeRegisteredEditorCommand` in the Command Palette. (Thanks @jpogran!) -- ๐Ÿ“บ [vscode-PowerShell #2224](https://github.com/PowerShell/vscode-PowerShell/pull/2224) - - Provide Run Selection button in editor title menu. (Thanks @jpogran!) -- ๐Ÿ‘ท [vscode-powershell #2229](https://github.com/PowerShell/vscode-PowerShell/pull/2232) - - Fix version check in Install-VSCode.ps1. -- ๐Ÿš‚ [vscode-PowerShell #2226](https://github.com/PowerShell/vscode-PowerShell/pull/2226) - - Changes needed for Omnisharp migration of PowerShellEditorServices. -- ๐Ÿ” [vscode-powershell #2144](https://github.com/PowerShell/vscode-PowerShell/pull/2223) - - Fix debugging restart capability by ensuring the session file is not deleted. - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- ๐Ÿ› [PowerShellEditorServices #1080](https://github.com/PowerShell/PowerShellEditorServices/pull/1080) - - Remove extra newline in GetComment feature. -- ๐Ÿ› [PowerShellEditorServices #1079](https://github.com/PowerShell/PowerShellEditorServices/pull/1079) - - Fix duplicate diagnostics caused by DidChange handler. -- ๐Ÿ”ง [PowerShellEditorServices #1076](https://github.com/PowerShell/PowerShellEditorServices/pull/1076) - - Graduate PSReadLine feature and add UseLegacyReadLine. -- โš™๏ธ [PowerShellEditorServices #1075](https://github.com/PowerShell/PowerShellEditorServices/pull/1075) - - Lock OmniSharp dependencies to v0.14.0. (Thanks @mholo65!) -- ๐Ÿ“Ÿ [PowerShellEditorServices #1064](https://github.com/PowerShell/PowerShellEditorServices/pull/1064) - - Add support for terminal error color settings in PS7. -- ๐Ÿ› [PowerShellEditorServices #1073](https://github.com/PowerShell/PowerShellEditorServices/pull/1073) - - Fix prerelease version discovery and fix omnisharp change. -- ๐Ÿ› [PowerShellEditorServices #1065](https://github.com/PowerShell/PowerShellEditorServices/pull/1065) - - Fix TEMP debugging. -- ๐Ÿ› [vscode-powershell #1753](https://github.com/PowerShell/PowerShellEditorServices/pull/1072) - - Override PSRL ReadKey on Windows as well. -- ๐Ÿš‚ [PowerShellEditorServices #1056](https://github.com/PowerShell/PowerShellEditorServices/pull/1056) - - Re-architect PowerShell Editor Services to use the Omnisharp LSP platform. -- ๐Ÿ› [vscode-powershell #2116](https://github.com/PowerShell/PowerShellEditorServices/pull/1044) - - Fix UNC intellisense backslash. - -## v2019.9.0 -### Monday, September 23, 2019 -#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - -- ๐Ÿ‘ท [vscode-powershell #1961](https://github.com/PowerShell/vscode-powershell/pull/1961) - - Changelog tools. -- ๐Ÿ› [vscode-powershell #2141](https://github.com/PowerShell/vscode-powershell/pull/2141) - - Null check on activeTerminal to workaround vscode behavior. -- โœจ [vscode-powershell #2105](https://github.com/PowerShell/vscode-powershell/pull/2105) - - Prompt to update PowerShell version. -- ๐Ÿ”Ž [vscode-powershell #2165](https://github.com/PowerShell/vscode-powershell/pull/2165) - - Add powershell.codeFormatting.autoCorrectAliases setting to add support for optionally correcting aliases as well (added in PSSA 1.18.2). Disabled by default.. (Thanks @bergmeister!) -- โœจ [vscode-powershell #2160](https://github.com/PowerShell/vscode-powershell/pull/2160) - - Added functionality to install the User variant of Stable Edition. (Thanks @Lothindir!) -- โœจ [vscode-powershell #2156](https://github.com/PowerShell/vscode-powershell) - - Default to PowerShell Core on Windows if it's installed. (Thanks @SydneyhSmith!) -- โœจ [vscode-powershell #2084](https://github.com/PowerShell/vscode-powershell/pull/2084) - - Implement #1611 - provide dynamic debug config. (Thanks @rkeithhill!) -- โœจ [vscode-powershell #2024](https://github.com/PowerShell/vscode-powershell/pull/2039) - - Add machine scope per VS Code team request. -- โœจ [vscode-powershell #2081](https://github.com/PowerShell/vscode-powershell/pull/2081) - - Add param-block snippet. (Thanks @AspenForester!) -- ๐Ÿงน [vscode-powershell #2062](https://github.com/PowerShell/vscode-powershell/pull/2062) - - Remove redundant snippets. (Thanks @travis-c-lagrone!) -- โœจ [vscode-powershell #1974](https://github.com/PowerShell/vscode-powershell/pull/1974) - - Add #Requires snippets. (Thanks @travis-c-lagrone!) -- ๐Ÿงน [vscode-powershell #2063](https://github.com/PowerShell/vscode-powershell/pull/2063) - - Remove redundant community snippets. (Thanks @travis-c-lagrone!) -- ๐Ÿ‘ท [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell/pull/2065) - - Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments'. (Thanks @travis-c-lagrone!) -- ๐Ÿ“” [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell) - - Docs updates. (Thanks @SydneyhSmith!) -- ๐Ÿ‘ท [vscode-powershell #2038](https://github.com/PowerShell/vscode-powershell/pull/2038) - - Add ADS insiders gallery file to update script. -- ๐Ÿ”Ž [vscode-powershell #2037](https://github.com/PowerShell/vscode-powershell/pull/2037) - - Update PSScriptAnalyzer docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) -- ๐Ÿ› [vscode-powershell #2035](https://github.com/PowerShell/vscode-powershell/pull/2035) - - #1019: Get format settings from document editor instead of global. (Thanks @tillig!) -- ๐Ÿ‘ท [vscode-powershell #2025](https://github.com/PowerShell/vscode-powershell/pull/2025) - - Fix node version detect logic to handle node v10. (Thanks @rkeithhill!) -- โœจ [vscode-powershell #1946](https://github.com/PowerShell/vscode-powershell/pull/1946) - - Add ArgumentCompleter snippets. (Thanks @travis-c-lagrone!) -- ๐Ÿงน [vscode-powershell #2015](https://github.com/PowerShell/vscode-powershell/pull/2015) - - Fix node types version. - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- ๐Ÿ› [PowerShellEditorServices #1022](https://github.com/PowerShell/PowerShellEditorServices/pull/1022) - - Catch stream exceptions for some Debug Adapter stability. -- ๐Ÿ”Ž [PowerShellEditorServices #1021](https://github.com/PowerShell/PowerShellEditorServices/pull/1021) - - Add AutoCorrectAliases setting (PR to be made in VS-Code repo as well) to add support for optionally correcting aliases as well (added in PSSA 1.18.2). (Thanks @bergmeister!). -- ๐Ÿ› [vscode-powershell #1994](https://github.com/PowerShell/PowerShellEditorServices/pull/1000) - - Fix crash when setBreakpoint from VSCode sends a git:/ URI. -- ๐Ÿงน [PowerShellEditorServices #988](https://github.com/PowerShell/PowerShellEditorServices/pull/988) - - Remove consoleecho lib for PowerShell 7. -- ๐Ÿ“” [PowerShellEditorServices #986](https://github.com/PowerShell/PowerShellEditorServices) - - Documentation updates. (Thanks @SydneyhSmith!) -- โš™๏ธ [PowerShellEditorServices #981](https://github.com/PowerShell/PowerShellEditorServices/pull/981) - - Update NewtonSoft.Json dependency from 10.0.3 to 11.02 since PS 6.0 has been deprecated. (Thanks @bergmeister!) -- ๐Ÿ› [vscode-powershell #2007](https://github.com/PowerShell/PowerShellEditorServices/pull/974) - - Defend against crash when no PSScriptAnalyzer is found. -- ๐Ÿ‘ท [PowerShellEditorServices #978](https://github.com/PowerShell/PowerShellEditorServices/pull/977) - - Delete stale WebSocket code. - -## v2019.5.0 -### Wednesday, May 22, 2019 -#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - -- โœจ [vscode-PowerShell #1880](https://github.com/PowerShell/vscode-powershell/pull/1911) - - Move to date-based versioning -- โœจ [vscode-PowerShell #1954](https://github.com/PowerShell/vscode-PowerShell/pull/1954) - - Allow passing runspace name -- โœจ [vscode-PowerShell #1945](https://github.com/PowerShell/vscode-PowerShell/pull/1945) - - Edit snippets to support $TM_SELECTED_TEXT (Thanks @travis-c-lagrone!) -- ๐Ÿ‘ท [vscode-PowerShell #1942](https://github.com/PowerShell/vscode-PowerShell/pull/1942) - - Stop supporting 6.0 -- โœจ [vscode-PowerShell #1928](https://github.com/PowerShell/vscode-PowerShell/pull/1928) - - Add RunCode command for CodeLens providers -- ๐Ÿ› [vscode-PowerShell #1927](https://github.com/PowerShell/vscode-PowerShell/pull/1927) - - Fix change session by moving to async/await promise -- ๐Ÿ› [vscode-PowerShell #1931](https://github.com/PowerShell/vscode-PowerShell/pull/1931) - - Fix upload bug report -- ๐Ÿ› [vscode-PowerShell #1925](https://github.com/PowerShell/vscode-PowerShell/pull/1925) - - Fix error in HtmlContentView.ShowContent when no JS/CSS provided (Thanks @rkeithhill!) -- ๐Ÿ› [vscode-PowerShell #1919](https://github.com/PowerShell/vscode-PowerShell/pull/1919) - - Fix CustomViews by switching to WebViews -- ๐Ÿ› [vscode-PowerShell #1922](https://github.com/PowerShell/vscode-PowerShell/pull/1922) - - Fix small typo in Function-Inline description (Thanks @V-ed!) -- โœจ [vscode-PowerShell #1908](https://github.com/PowerShell/vscode-PowerShell/pull/1908) - - Add PowerShell version telemetry -- ๐Ÿ“– [vscode-PowerShell #1900](https://github.com/PowerShell/vscode-PowerShell/pull/1900) - - Small update to Azure Data Studio marketplace README (Thanks @SQLvariant!) -- ๐Ÿ’ป [vscode-PowerShell #1871](https://github.com/PowerShell/vscode-PowerShell/pull/1871) - - Change CI to use Azure Pipelines -- ๐Ÿ› [vscode-PowerShell #1867](https://github.com/PowerShell/vscode-PowerShell/pull/1867) - - Change whitespace settings to camelCase -- ๐Ÿ› [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - - Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSScriptAnalyzer issues are fixed (Thanks @bergmeister!) -- ๐Ÿ› [vscode-powershell #1822](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - - Set featureFlag default to null so that it can be resolved by settings -- ๐Ÿ’ป [vscode-PowerShell #1839](https://github.com/PowerShell/vscode-PowerShell/pull/1839) - - Add initial credscan config ymls for CI -- ๐Ÿ› [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - - Don't use -EncodedCommand to start PowerShell on Windows -- ๐Ÿ› [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - - Switch to current lowercase names for powershell and mdlint extensions (Thanks @rkeithhill!) -- ๐Ÿ‘ท [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - - Update to official TSLint extension in extensions.json, old version deprecated (Thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- โœจ [PowerShellEditorServices #951](https://github.com/PowerShell/PowerShellEditorServices/pull/951) - - Allow passing RunspaceName -- ๐Ÿšจ [PowerShellEditorServices #944](https://github.com/PowerShell/PowerShellEditorServices/pull/944) - - Add integration testing module with simple tests to verify PSES starts and stops -- ๐Ÿ› [PowerShellEditorServices #954](https://github.com/PowerShell/PowerShellEditorServices/pull/955) - - Ensure NamedPipeServerStream is assigned in Windows PowerShell -- โœจ [PowerShellEditorServices #952](https://github.com/PowerShell/PowerShellEditorServices/pull/952) - - Update to PSReadLine 2.0.0-beta4 -- โœจ [PowerShellEditorServices #877](https://github.com/PowerShell/PowerShellEditorServices/pull/877) - - Add filtering for CodeLens and References (Thanks @glennsarti!) -- ๐Ÿ› [vscode-powershell #1933](https://github.com/PowerShell/PowerShellEditorServices/pull/949) - - Stop crash when workspace doesn't exist -- ๐Ÿ‘ท [PowerShellEditorServices #878](https://github.com/PowerShell/PowerShellEditorServices/pull/878) - - Remove native named pipes implementation -- ๐Ÿ› [PowerShellEditorServices #947](https://github.com/PowerShell/PowerShellEditorServices/pull/947) - - Fix silent failure in VSCode WebViews by using Id for dictionary since multiple pages could have the same title -- ๐Ÿ› [PowerShellEditorServices #946](https://github.com/PowerShell/PowerShellEditorServices/pull/946) - - Rename to use async -- ๐Ÿ‘ท [PowerShellEditorServices #943](https://github.com/PowerShell/PowerShellEditorServices/pull/943) - - Improvements to the log parsing module (Thanks @rkeithhill!) -- ๐Ÿ’ป [PowerShellEditorServices #921](https://github.com/PowerShell/PowerShellEditorServices/pull/921) - - Set up CI with Azure Pipelines -- ๐Ÿ› [PowerShellEditorServices #908](https://github.com/PowerShell/PowerShellEditorServices/pull/908) - - Fix issue with reference code lens not working with UNC paths (Thanks @rkeithhill!) -- ๐Ÿ› [vscode-powershell #1571](https://github.com/PowerShell/PowerShellEditorServices/pull/911) - - Fix faulty netfx check -- ๐Ÿ› [PowerShellEditorServices #906](https://github.com/PowerShell/PowerShellEditorServices/pull/906) - - Fix New-EditorFile with no folder or no files open -- โœจ [vscode-powershell #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - - Improve path auto-completion (Thanks @rkeithhill!) -- ๐Ÿ› [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - - Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) -- ๐Ÿ‘ท [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - - Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) -- ๐Ÿ‘ท [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - - Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) -- ๐Ÿ’ป [PowerShellEditorServices #904](https://github.com/PowerShell/PowerShellEditorServices/pull/904) - - Add initial credscan configuation ymls for CI -- ๐Ÿ› [PowerShellEditorServices #901](https://github.com/PowerShell/PowerShellEditorServices/pull/901) - - Switch to current lowercase names for powershell and mdlint exts (Thanks @rkeithhill!) - -## v2.0.0-preview.3 -### Wednesday, April 10, 2019 -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1865](https://github.com/PowerShell/vscode-powershell/pull/1867) - - Change casing of `powershell.codeformatting` settings for consistency: - - `powershell.codeformatting.WhitespaceInsideBrace` is now `powershell.codeformatting.whitespaceInsideBrace` - - `powershell.codeformatting.WhitespaceAroundPipe` is now `powershell.codeformatting.whitespaceAroundPipe` -- [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - - Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSSA issues are fixed (Thanks @bergmeister!) -- [vscode-PowerShell #1838](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - - Set PSReadLine featureFlag default to null so that it can be resolved by settings -- [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - - Do not use -EncodedCommand on Windows -- [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - - Switch to current lowercase names for powershell and mdlint recommended extensions (Thanks @rkeithhill!) -- [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - - Update to official TSLint ext in extensions.json, old version deprecated (Thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #902](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - - Improve path auto-completion (Thanks @rkeithhill!) -- [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - - Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) -- [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - - Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) -- [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - - Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) - -## v2.0.0-preview.2 -### Friday, March 29, 2019 - -### Highlights - -* `Write-Progress` work in the integrated console โฐ -* Support for [PSScriptAnalyzer 1.18](https://github.com/PowerShell/PSScriptAnalyzer/releases/tag/1.18.0) ๐Ÿ“ -* The ability to debug any runspace in any process ๐Ÿ”Ž -* PSReadLine enabled by default on Windows ๐ŸŽจ -* (Bug fix!) You can open untitled workspaces/folders again! ๐Ÿ›โ˜ ๏ธ - -There are a lot more goodies in this version. Checkout the changelog below! - -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1794](https://github.com/PowerShell/vscode-PowerShell/pull/1794) - - Make PSReadLine default on Windows -- [vscode-PowerShell #1736](https://github.com/PowerShell/vscode-PowerShell/pull/1736) - - Enable attach to process on Linux and macOS -- [vscode-PowerShell #1729](https://github.com/PowerShell/vscode-PowerShell/pull/1729) - - Handle Pester Describe block strings with single quotes inside it (Thanks @bergmeister!) -- [vscode-PowerShell #1741](https://github.com/PowerShell/vscode-PowerShell/pull/1741) - - Update build to clear node modules directory (Thanks @corbob!) -- [vscode-PowerShell #1743](https://github.com/PowerShell/vscode-PowerShell/pull/1743) - - Fix right-click help lookup not always working (Thanks @corbob!) -- [vscode-PowerShell #1746](https://github.com/PowerShell/vscode-PowerShell/pull/1746) - - Add label property to debug config, change pkg name to lowercase (Thanks @rkeithhill!) -- [vscode-PowerShell #1749](https://github.com/PowerShell/vscode-PowerShell/pull/1749) - - Add the Install-VSCode.ps1 script to signing -- [vscode-PowerShell #1747](https://github.com/PowerShell/vscode-PowerShell/pull/1747) - - Modify `powerShellDefaultVersion` description to make clearer (Thanks @rkeithhill!) -- [vscode-PowerShell #1755](https://github.com/PowerShell/vscode-PowerShell/pull/1755) - - Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) -- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell/pull/1773) - - Change debugger type field back to `PowerShell` from `powershell` (Thanks @rkeithhill!) -- [vscode-PowerShell #1757](https://github.com/PowerShell/vscode-PowerShell/pull/1757) - - Match Install-VSCode.ps1 script url with the one from master branch (Thanks @rafaltra!) -- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell/pull/1774) - - Switch to `EncodedCommand` for script execution -- [vscode-PowerShell #1764](https://github.com/PowerShell/vscode-PowerShell/pull/1764) - - Added Pester, ShouldProcess and Calculated Property PS Snippets (Thanks @brettmillerb!) -- [vscode-PowerShell #1776](https://github.com/PowerShell/vscode-PowerShell/pull/1776) - - Migrate Pester version detection into an InovkePester stub script (Thanks @rkeithhill!) -- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell/pull/1781) - - Fix initial launch config casing -- [vscode-PowerShell #1775](https://github.com/PowerShell/vscode-PowerShell/pull/1775) - - Support `-CustomPipeName`, allowing configuration of custom namedpipes for LSP transport -- [vscode-PowerShell #1787](https://github.com/PowerShell/vscode-PowerShell/pull/1787) - - Added SQL PowerShell Examples (Thanks @SQLvariant!) -- [vscode-PowerShell #1782](https://github.com/PowerShell/vscode-PowerShell/pull/1782) - - Add Debug Runspace command (Thanks @adamdriscoll!) -- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell/pull/1800) - - Include current runspace and runspace ID 1 in the PSHostProcess picker dialog -- [vscode-PowerShell #1687](https://github.com/PowerShell/vscode-PowerShell/pull/1687) - - Add new `powershell.useCorrectCasingsettings` for new rule in PSSA 1.18: PSUseCorrectCasing (Thanks @bergmeister!) -- [vscode-PowerShell #1668](https://github.com/PowerShell/vscode-PowerShell/pull/1668) - - Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: WhitespaceInsideBrace and WhitespaceAroundPipe (Thanks @bergmeister!) -- [vscode-PowerShell #1669](https://github.com/PowerShell/vscode-PowerShell/pull/1669) - - Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: PipelineIndentationStyle (Thanks @bergmeister!) -- [vscode-PowerShell #1738](https://github.com/PowerShell/vscode-PowerShell/pull/1738) - - Set CommandExplorer exclusion filter to be empty array by default (Thanks @adilio!) -- [vscode-PowerShell #1686](https://github.com/PowerShell/vscode-PowerShell/pull/1686) - - Add an exclusion filter to the Command Explorer (Thanks @corbob!) -- [vscode-PowerShell #1816](https://github.com/PowerShell/vscode-PowerShell/pull/1816) - - Workaround PSSA #1187 by defaulting to NoIndentation - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #895](https://github.com/PowerShell/PowerShellEditorServices/pull/895) - - Add warning to parameter validation set (Thanks @Benny1007!) -- [PowerShellEditorServices #897](https://github.com/PowerShell/PowerShellEditorServices/pull/897) - - Clean up and pop dead runspaces when using 'attach' debugging -- [PowerShellEditorServices #888](https://github.com/PowerShell/PowerShellEditorServices/pull/888) - - Add new ParseError level to ScriptFileMarkerLevel and filter out PSSA parse errors -- [PowerShellEditorServices #858](https://github.com/PowerShell/PowerShellEditorServices/pull/858) - - Fix XUnit warnings that better assertion operators should be used. (Thanks @bergmeister!) -- [PowerShellEditorServices #854](https://github.com/PowerShell/PowerShellEditorServices/pull/854) - - Reinstate test filtering (Thanks @glennsarti!) -- [PowerShellEditorServices #866](https://github.com/PowerShell/PowerShellEditorServices/pull/866) - - Catch NotSupportedException which can be thrown by FileStream constructor (Thanks @rkeithhill!) -- [PowerShellEditorServices #868](https://github.com/PowerShell/PowerShellEditorServices/pull/868) - - Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) -- [PowerShellEditorServices #869](https://github.com/PowerShell/PowerShellEditorServices/pull/869) - - Added `AsNewFile` switch to Out-CurrentFile (Thanks @dfinke!) -- [PowerShellEditorServices #873](https://github.com/PowerShell/PowerShellEditorServices/pull/873) - - Return the start line number for Describe block (Thanks @rkeithhill!) -- [PowerShellEditorServices #876](https://github.com/PowerShell/PowerShellEditorServices/pull/876) - - Temporarily disable deemphasized stack frames to fix VSCode issue 1750 (Thanks @rkeithhill!) -- [PowerShellEditorServices #871](https://github.com/PowerShell/PowerShellEditorServices/pull/871) - - Support -CustomPipeName, allowing configuration of custom namedpipes for LSP transport -- [PowerShellEditorServices #872](https://github.com/PowerShell/PowerShellEditorServices/pull/872) - - Fix unable to open files in problems/peek windows issue (Thanks @rkeithhill!) -- [PowerShellEditorServices #875](https://github.com/PowerShell/PowerShellEditorServices/pull/875) - - Add attach to local runspace. (Thanks @adamdriscoll!) -- [PowerShellEditorServices #881](https://github.com/PowerShell/PowerShellEditorServices/pull/881) - - Use `NamedPipeConnectionInfo` to connect to remote runspaces instead of Enter-PSHostProcess -- [PowerShellEditorServices #845](https://github.com/PowerShell/PowerShellEditorServices/pull/845) - - Enable UseCorrectCasing as a default rule (Thanks @bergmeister!) -- [PowerShellEditorServices #835](https://github.com/PowerShell/PowerShellEditorServices/pull/835) - - Map new `powershell.codeformatting` settings WhitespaceInsideBrace and WhitespaceAroundPipe to PSSA settings hashtable (Thanks @bergmeister!) -- [PowerShellEditorServices #836](https://github.com/PowerShell/PowerShellEditorServices/pull/836) - - Add PipelineIndentationStyle configuration mapping (Thanks @bergmeister!) -- [PowerShellEditorServices #887](https://github.com/PowerShell/PowerShellEditorServices/pull/887) - - Cherry pick PR 1750 merge commit to legacy/v1.x, has additional fixes (Thanks @rkeithhill!) -- [PowerShellEditorServices #874](https://github.com/PowerShell/PowerShellEditorServices/pull/874) - - Use public `InternalHost` from origin runspace (Thanks @SeeminglyScience!) -- [PowerShellEditorServices #889](https://github.com/PowerShell/PowerShellEditorServices/pull/889) - - Enhance Get-PsesRpcNotificationMessage/MessageResponseTimes to allow filtering by message name (Thanks @rkeithhill!) -- [PowerShellEditorServices #859](https://github.com/PowerShell/PowerShellEditorServices/pull/859) - - Upgrade PowerShellStandard.Library, PowerShell.SDK, NET.Test.SDK and Serilog NuGet packages to latest released version and enable AppVeyor build on any branch (Thanks @bergmeister!) -- [PowerShellEditorServices #862](https://github.com/PowerShell/PowerShellEditorServices/pull/862) - - Handle arbitrary exceptions when recursing workspace - -## 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](https://code.visualstudio.com/Docs/setup/setup-overview). - -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. -![How to Disable](https://github.com/PowerShell/powershell.github.io/blob/master/PowerShell-Blog/Images/disable-extension.jpg) - -#### 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](https://docs.microsoft.com/en-us/powershell/module/psreadline/about/about_psreadline?view=powershell-6). - -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](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell/pull/1587) - - Removed ShowOnlineHelp Command (Thanks @corbob!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #792](https://github.com/PowerShell/PowerShellEditorServices/pull/792) - - Add Async suffix to async methods (Thanks @dee-see!) -- [PowerShellEditorServices #775](https://github.com/PowerShell/PowerShellEditorServices/pull/775) - - Removed ShowOnlineHelp Message (Thanks @corbob!) -- [PowerShellEditorServices #769](https://github.com/PowerShell/PowerShellEditorServices/pull/769) - - Set Runspaces to use STA when running in Windows PowerShell -- [PowerShellEditorServices #741](https://github.com/PowerShell/PowerShellEditorServices/pull/741) - - Migrate to netstandard2.0 and PSStandard -- [PowerShellEditorServices #672](https://github.com/PowerShell/PowerShellEditorServices/pull/672) - - PSReadLine integration (Thanks @SeeminglyScience!) - -## v1.10.2 -### Tuesday, December 18, 2018 - -#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - -- [vscode-PowerShell #1632](https://github.com/PowerShell/vscode-powershell/pull/1632) - - Started [a document for ISE-like configuration of VSCode](https://github.com/PowerShell/vscode-powershell/blob/master/docs/ise_compatibility.md). - Please help us build it out by [contirbuting an edit](https://github.com/PowerShell/vscode-powershell/edit/master/docs/ise_compatibility.md). - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- [PowerShellEditorServices #811](https://github.com/PowerShell/PowerShellEditorServices/pull/805) - - Fix token-based folding (thanks @glennsarti!) -- [PowerShellEditorServices #823](https://github.com/PowerShell/PowerShellEditorServices/pull/823) - - Fix case-sensitivity of Pester CodeLens (thanks @bergmeister!) -- [PowerShellEditorServices #815](https://github.com/PowerShell/PowerShellEditorServices/pull/815) - - Fix crash when untitled files opened as PowerShell -- [PowerShellEditorServices #826](https://github.com/PowerShell/PowerShellEditorServices/pull/826) - - Fix crash when duplicate references are present in the same file - -## v1.10.1 -### Friday, December 7, 2018 - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- [PowerShellEditorServices #808](https://github.com/PowerShell/PowerShellEditorServices/pull/808) - - Fix startup crash on Windows 7 -- [PowerShellEditorServices #807](https://github.com/PowerShell/PowerShellEditorServices/pull/807) - - Fix deadlock occurring while connecting to named pipes - -## v1.10.0 -### Monday, December 3, 2018 -#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell) - -- [vscode-PowerShell #1610](https://github.com/PowerShell/vscode-powershell/pull/1610) - - Remove client-side syntax folding provider in favor of server-side provider (thanks @glennsarti!) -- [vscode-PowerShell #1616](https://github.com/PowerShell/vscode-powershell/pull/1616) - - Make `Restart Current Session` always available in the session quick pick -- [vscode-PowerShell #1406](https://github.com/PowerShell/vscode-powershell/pull/1406) - - Add a Show-Command explorer (thanks @corbob!) -- [vscode-PowerShell #1615](https://github.com/PowerShell/vscode-powershell/pull/1615) - - Fix Pester CodeLens not working for running/debugging tests (thanks @rkeithhill!) -- [vscode-PowerShell #1600](https://github.com/PowerShell/vscode-powershell/pull/1608) - - Add CodeAction support to show PSSA rule documentation (thanks @rkeithhill!) -- [vscode-PowerShell #1606](https://github.com/PowerShell/vscode-powershell/pull/1606) - - Add Ctrl+Alt+J (Cmd+Alt+J on macOS) - keybinding to open up list of available snippets -- [vscode-PowerShell #1597](https://github.com/PowerShell/vscode-powershell/pull/1597) - - Make `Install-VSCode.ps1` work on macOS and Linux. Get the script [here](https://github.com/PowerShell/vscode-powershell/blob/master/scripts/Install-VSCode.ps1) -- [vscode-PowerShell #1580](https://github.com/PowerShell/vscode-powershell/pull/1580) - - `New-EditorFile` works on non-PowerShell untitled files -- [vscode-PowerShell #1557](https://github.com/PowerShell/vscode-powershell/pull/1557) - - Default to showing the last line in folded regions. Unset with `"powershell.codeFolding.showLastLine": false` - (thanks @glennsarti!) -- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - - New snippet: Exchange Online connection (thanks @vmsilvamolina!) -- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - - New snippet: HTML header (thanks @vmsilvamolina!) -- [vscode-PowerShell #1555](https://github.com/PowerShell/vscode-powershell/pull/1555) - - Log when language client not loaded during initialization (thanks @corbob!) -- [vscode-PowerShell #1554](https://github.com/PowerShell/vscode-powershell/pull/1554) - - Fix spacing in parameters when starting the extension (thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) - -- [PowerShellEditorServices #786](https://github.com/PowerShell/PowerShellEditorServices/pull/786) - - Fix #17: Add go to definition support for dot sourced file paths (Thanks @dee-see!) -- [PowerShellEditorServices #767](https://github.com/PowerShell/PowerShellEditorServices/pull/767) - - Change unhandled messages to warnings instead of errors -- [PowerShellEditorServices #765](https://github.com/PowerShell/PowerShellEditorServices/pull/765) - - Fix PowerShell wildcard escaping in debug paths -- [PowerShellEditorServices #778](https://github.com/PowerShell/PowerShellEditorServices/pull/778) - - Fix multiple occurrences of the same typo (Thanks @dee-see!) -- [PowerShellEditorServices #782](https://github.com/PowerShell/PowerShellEditorServices/pull/782) - - Fix #779: NRE on Dispose in ExecutionTimer (Thanks @dee-see!) -- [PowerShellEditorServices #772](https://github.com/PowerShell/PowerShellEditorServices/pull/772) - - Log build info -- [PowerShellEditorServices #774](https://github.com/PowerShell/PowerShellEditorServices/pull/774) - - New-EditorFile works on non-powershell untitled files -- [PowerShellEditorServices #787](https://github.com/PowerShell/PowerShellEditorServices/pull/787) - - Fix descion/decision typo in visitors (Thanks @dee-see!) -- [PowerShellEditorServices #784](https://github.com/PowerShell/PowerShellEditorServices/pull/784) - - Replace bad StringReader usage with String.Split() -- [PowerShellEditorServices #768](https://github.com/PowerShell/PowerShellEditorServices/pull/768) - - Make pipeline runtime exceptions warnings in log -- [PowerShellEditorServices #790](https://github.com/PowerShell/PowerShellEditorServices/pull/790) - - Add managed thread id to log output to add debugging threading issues (Thanks @rkeithhill!) -- [PowerShellEditorServices #794](https://github.com/PowerShell/PowerShellEditorServices/pull/794) - - Fix Pester CodeLens run/debug by not quoting params/already quoted args (Thanks @rkeithhill!) -- [PowerShellEditorServices #785](https://github.com/PowerShell/PowerShellEditorServices/pull/785) - - Adds ability to use separate pipes for reading and writing (Thanks @ant-druha!) -- [PowerShellEditorServices #796](https://github.com/PowerShell/PowerShellEditorServices/pull/796) - - Code cleanup of the start script and ESHost.cs file (Thanks @rkeithhill!) -- [PowerShellEditorServices #795](https://github.com/PowerShell/PowerShellEditorServices/pull/795) - - Fix file recursion overflow problems -- [PowerShellEditorServices #697](https://github.com/PowerShell/PowerShellEditorServices/pull/697) - - Add functionality to allow a Show-Command like panel in VS Code (Thanks @corbob!) -- [PowerShellEditorServices #777](https://github.com/PowerShell/PowerShellEditorServices/pull/777) - - Add syntax folding (Thanks @glennsarti!) -- [PowerShellEditorServices #801](https://github.com/PowerShell/PowerShellEditorServices/pull/801) - - Fix local remoting -- [PowerShellEditorServices #797](https://github.com/PowerShell/PowerShellEditorServices/pull/797) - - Start of a PSES log file analyzer (Thanks @rkeithhill!) -- [PowerShellEditorServices #789](https://github.com/PowerShell/PowerShellEditorServices/pull/789) - - Add support for a "Show Documentation" quick fix menu entry (Thanks @rkeithhill!) -- [PowerShellEditorServices #760](https://github.com/PowerShell/PowerShellEditorServices/pull/760) - - Fix exception when remoting from Windows to non-Windows (Thanks @SeeminglyScience!) - -## v1.9.0 -### Thursday, September 27, 2018 -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1548](https://github.com/PowerShell/vscode-PowerShell/pull/1548) - - Explicitly return `undefined` from resolveDbgConfig when session not started (Thanks @rkeithhill!) -- [vscode-PowerShell #1516](https://github.com/PowerShell/vscode-PowerShell/pull/1516) - - Change "Get Online Help" menu item label to "Get Help" (Thanks @corbob!) -- [vscode-PowerShell #1525](https://github.com/PowerShell/vscode-PowerShell/pull/1525) - - Remove duplicate/overlapping folding regions (Thanks @glennsarti!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #750](https://github.com/PowerShell/PowerShellEditorServices/pull/750) - - Fix issue where # in path causes the path to resolve incorrectly -- [PowerShellEditorServices #721](https://github.com/PowerShell/PowerShellEditorServices/pull/721) - - Change Get-Help behavior to return local help when online help can't be displayed (Thanks @corbob!) -- [PowerShellEditorServices #748](https://github.com/PowerShell/PowerShellEditorServices/pull/748) - - Fix index out-of-range exception when deleting script files -- [PowerShellEditorServices #749](https://github.com/PowerShell/PowerShellEditorServices/pull/749) - - Fix crash for finding symbols on bad paths -- [PowerShellEditorServices #740](https://github.com/PowerShell/PowerShellEditorServices/pull/740) - - Fix inner help completion -- [PowerShellEditorServices #736](https://github.com/PowerShell/PowerShellEditorServices/pull/736) - - Cache the reflection call done for completions -- [PowerShellEditorServices #737](https://github.com/PowerShell/PowerShellEditorServices/pull/737) - - Remove LINQ usage in language service methods -- [PowerShellEditorServices #743](https://github.com/PowerShell/PowerShellEditorServices/pull/743) - - Remove unnecessary LINQ calls from LanguageServer - -## v1.8.4 -### Friday, August 31, 2018 -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [vscode-PowerShell #1489](https://github.com/PowerShell/vscode-PowerShell/pull/1489) - - Use asynchronous logic for help completions -- [vscode-PowerShell #1477](https://github.com/PowerShell/vscode-PowerShell/pull/1477) - - Add BitsTransfer & user switch to install latest user profile insiders edition with Install-VSCode.ps1 script (Thanks @tabs-not-spaces!) -- [vscode-PowerShell #1485](https://github.com/PowerShell/vscode-PowerShell/pull/1485) - - Increase connection timeout - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShellEditorServices #728](https://github.com/PowerShell/PowerShellEditorServices/pull/728) - - Fix formatter crash when script contains parse errors -- [PowerShellEditorServices #730](https://github.com/PowerShell/PowerShellEditorServices/pull/730) - - Fix crash where lines appended to end of script file causes out of bounds exception -- [PowerShellEditorServices #732](https://github.com/PowerShell/PowerShellEditorServices/pull/732) - - Fix CodeLens crash when a file cannot be opened, stop unnecessary file reads in CodeLens -- [PowerShellEditorServices #729](https://github.com/PowerShell/PowerShellEditorServices/pull/729) - - Fix a null dereference when an invalid cast exception has no inner exception -- [PowerShellEditorServices #719](https://github.com/PowerShell/PowerShellEditorServices/pull/719) - - Reduce allocations in the CodeLens providers -- [PowerShellEditorServices #725](https://github.com/PowerShell/PowerShellEditorServices/pull/725) - - Fix null dereference when debugging untitlted filesj -- [PowerShellEditorServices #726](https://github.com/PowerShell/PowerShellEditorServices/pull/726) - - Fix comment-based help snippet - - -## v1.8.3 -### Wednesday, August 15, 2018 - -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [PowerShell/vscode-powershell #1480](https://github.com/PowerShell/vscode-powershell/pull/1480) - - Use PowerShell signing script in VSTS builds -- [PowerShell/vscode-powershell #1460](https://github.com/PowerShell/vscode-powershell/pull/1460) - - Use newer version for preleases -- [PowerShell/vscode-powershell #1475](https://github.com/PowerShell/vscode-powershell/pull/1475) - - Change resourceLangId to editorLangId so right-click works properly with unsaved files (Thanks @corbob!) -- [PowerShell/vscode-powershell #1467](https://github.com/PowerShell/vscode-powershell/pull/1467) - - Remove region folding from non-region areas (Thanks @glennsarti!) - - #### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShell/PowerShellEditorServices #722](https://github.com/PowerShell/PowerShellEditorServices/pull/722) - - Add VSTS signing step -- [PowerShell/PowerShellEditorServices #717](https://github.com/PowerShell/PowerShellEditorServices/pull/717) - - Increment version for prerelease -- [PowerShell/PowerShellEditorServices #715](https://github.com/PowerShell/PowerShellEditorServices/pull/715) - - Reduce allocations when parsing files (Thanks @mattpwhite!) - -## v1.8.2 -### Thursday, July 26, 2018 - -#### [vscode-powershell](https://github.com/powershell/vscode-powershell) - -- [PowerShell/vscode-powershell #1438](https://github.com/PowerShell/vscode-powershell/pull/1438) - - Fix detecting contiguous comment blocks and regions (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1436](https://github.com/PowerShell/vscode-powershell/pull/1436) - - First approach to fix issue with dbg/run start before PSES running (Thanks @rkeithhill!) - -#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) - -- [PowerShell/PowerShellEditorServices #712](https://github.com/PowerShell/PowerShellEditorServices/pull/712) - - workaround to support inmemory:// -- [PowerShell/PowerShellEditorServices #706](https://github.com/PowerShell/PowerShellEditorServices/pull/706) - - Go To Definition works with different Ast types -- [PowerShell/PowerShellEditorServices #707](https://github.com/PowerShell/PowerShellEditorServices/pull/707) - - fix stdio passing -- [PowerShell/PowerShellEditorServices #709](https://github.com/PowerShell/PowerShellEditorServices/pull/709) - - Stop Diagnostic logging from logging to stdio when the communication protocol is set to stdio -- [PowerShell/PowerShellEditorServices #710](https://github.com/PowerShell/PowerShellEditorServices/pull/710) - - stdio should only launch language service not debug -- [PowerShell/PowerShellEditorServices #705](https://github.com/PowerShell/PowerShellEditorServices/pull/705) - - Fix load order of PSSA modules -- [PowerShell/PowerShellEditorServices #704](https://github.com/PowerShell/PowerShellEditorServices/pull/704) - - Do not enable PSAvoidTrailingWhitespace rule by default as it currenly flags whitespace-only lines as well (Thanks @bergmeister!) - -## v1.8.1 -### Wednesday, July 11, 2018 - -- [PowerShell/vscode-powershell #1418](https://github.com/PowerShell/vscode-powershell/pull/1418) - - Fix code folding in documents using CRLF newlines. (Thanks @glennsarti!) - -## v1.8.0 -### Tuesday, July 10, 2018 - -- [PowerShell/vscode-powershell #1238](https://github.com/PowerShell/vscode-powershell/pull/1238) - - Added functionality to install the VSCode context menus. (Thanks @detlefs!) -- [PowerShell/vscode-powershell #1354](https://github.com/PowerShell/vscode-powershell/pull/1354) - - Edit snippet to fix issue #1353 (Thanks @kilasuit!) -- [PowerShell/vscode-powershell #1362](https://github.com/PowerShell/vscode-powershell/pull/1362) - - Updated Pester Problem Matcher (Thanks @awickham10!) -- [PowerShell/vscode-powershell #1359](https://github.com/PowerShell/vscode-powershell/pull/1359) - - (maint) Add visual ruler for line length (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1344](https://github.com/PowerShell/vscode-powershell/pull/1344) - - Update to TypeScript 2.9.x (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1323](https://github.com/PowerShell/vscode-powershell/pull/1323) - - SpecProcId - interactive var replacement supports only string type (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1327](https://github.com/PowerShell/vscode-powershell/pull/1327) - - Switch to named pipes -- [PowerShell/vscode-powershell #1321](https://github.com/PowerShell/vscode-powershell/pull/1321) - - GitHub issue template tweaks and add PSSA template (Thanks @bergmeister!) -- [PowerShell/vscode-powershell #1320](https://github.com/PowerShell/vscode-powershell/pull/1320) - - Take advantage of multiple issue templates (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1317](https://github.com/PowerShell/vscode-powershell/pull/1317) - - Change SpecifyScriptArgs command to only return string - not string[] (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1318](https://github.com/PowerShell/vscode-powershell/pull/1318) - - Update package veresion in lock file, format package.json file. (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1312](https://github.com/PowerShell/vscode-powershell/pull/1312) - - Updates to Examples PSSA settings file to include more rule config (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1305](https://github.com/PowerShell/vscode-powershell/pull/1305) - - Make SaveAs work for untitled files -- [PowerShell/vscode-powershell #1307](https://github.com/PowerShell/vscode-powershell/pull/1307) - - Added Columns, Improved readability for ToC. (Thanks @st0le!) -- [PowerShell/vscode-powershell #1368](https://github.com/PowerShell/vscode-powershell/pull/1368) - - Add new snippet for #region (#1368) (Thanks @lipkau!) -- [PowerShell/vscode-powershell #1416](https://github.com/PowerShell/vscode-powershell/pull/1416) - - (GH-1413) Resolve promise correctly in Folding feature (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1412](https://github.com/PowerShell/vscode-powershell/pull/1412) - - Set the extension's log level based on settings value (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1411](https://github.com/PowerShell/vscode-powershell/pull/1411) - - Escape paths w/single quotes before passing to powershell in single-quoted strings (#1411) (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1409](https://github.com/PowerShell/vscode-powershell/pull/1409) - - Rename file to match type name (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1408](https://github.com/PowerShell/vscode-powershell/pull/1408) - - Restore ability to start debug session when script run in PSIC hits breakpoint (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1407](https://github.com/PowerShell/vscode-powershell/pull/1407) - - Scroll the terminal to bottom for F8 executionPartial fix #1257 (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1414](https://github.com/PowerShell/vscode-powershell/pull/1414) - - Update grammar parsing for vscode-textmate v4 module (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1397](https://github.com/PowerShell/vscode-powershell/pull/1397) - - Allow debugging in interactive session with no dir change (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1402](https://github.com/PowerShell/vscode-powershell/pull/1402) - - Move lint directive after the file-header to fix lint error (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1366](https://github.com/PowerShell/vscode-powershell/pull/1366) - - Add support for side-by-side PS Core preview on Linux/macOS (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1391](https://github.com/PowerShell/vscode-powershell/pull/1391) - - Add PowerShell Online Help lookup to context menu (Thanks @corbob!) -- [PowerShell/vscode-powershell #1396](https://github.com/PowerShell/vscode-powershell/pull/1396) - - Add tslint rule file-header to enforce copyright in TS files (Thanks @rkeithhill!) -- [PowerShell/vscode-powershell #1355](https://github.com/PowerShell/vscode-powershell/pull/1355) - - Add syntax aware folding provider (Thanks @glennsarti!) -- [PowerShell/vscode-powershell #1395](https://github.com/PowerShell/vscode-powershell/pull/1395) - - Update community_snippets.md (Thanks @fullenw1!) -- [PowerShell/vscode-powershell #1382](https://github.com/PowerShell/vscode-powershell/pull/1382) - - Fix markdown syntax (Thanks @lipkau!) -- [PowerShell/vscode-powershell #1369](https://github.com/PowerShell/vscode-powershell/pull/1369) - - Update README.md with kbds and what to do if you find a vulnerability -- [PowerShell/vscode-powershell #1297](https://github.com/PowerShell/vscode-powershell/pull/1297) - - Added some snippets (#1297) (Thanks @SQLDBAWithABeard!) - -## 1.7.0 -### Wednesday, April 25, 2018 - -- [PowerShell/vscode-powershell #1285](https://github.com/PowerShell/vscode-powershell/pull/1285) - - Add a community snippet for date-annotated `Write-Verbose` messages. - -- [PowerShell/vscode-powershell #1228](https://github.com/PowerShell/vscode-powershell/issues/1228) - - Make comment-based help trigger always be `##` with a new setting `powershell.helpCompletion` to - allow you to select between help comment styles: `BlockComment` (default) or `LineComment`. - You can also specify Disabled to disable this functionality. - -- [PowerShell/vscode-powershell #603](https://github.com/PowerShell/vscode-powershell/issues/603) - - Fix PowerShell crashing on machines with IPv6 disabled. - -- [PowerShell/vscode-powershell #1243](https://github.com/PowerShell/vscode-powershell/issues/1243) - - Support custom PowerShell executable paths in user configuration which can be selected (via name) - in either user or workspace configuration. - -- [PowerShell/vscode-powershell #1264](https://github.com/PowerShell/vscode-powershell/pull/1264) - - Add support for [Visual Studio Live Share](https://code.visualstudio.com/visual-studio-live-share). - -- [PowerShell/vscode-powershell #1261](https://github.com/PowerShell/vscode-powershell/pull/1261) - - Add support for `$psEditor.GetEditorContext.CurrentFile.SaveAs("NewFileName.ps1")`. - -- [PowerShell/vscode-powershell #1252](https://github.com/PowerShell/vscode-powershell/pull/1252) - - Change the way the extension builds and runs, so that PowerShellEditorServices is self-contained. - -- [PowerShell/vscode-powershell #1248](https://github.com/PowerShell/vscode-powershell/pull/1248) - - Replace `$global:IsOSX` with `$global:IsMacOS`. - -- [PowerShell/vscode-powershell #1246](https://github.com/PowerShell/vscode-powershell/pull/1246) - - Create [community_snippets.md](./docs/community_snippets.md) for user created snippets. - -- [PowerShell/vscode-powershell #1155](https://github.com/PowerShell/vscode-powershell/issues/1155) - - Fix PSES crashes caused by running "Set PSScriptAnalyzer Rules" on an untitled file. - -- [PowerShell/vscode-powershell #1236](https://github.com/PowerShell/vscode-powershell/pull/1236) - - Stop an error occurring when VSCode trims trailing whitespace and sends document update messages. - -- [PowerShell/vscode-powershell #996](https://github.com/PowerShell/vscode-powershell/issues/996) - - Fix `Install-PSCode.ps1` crashing due to `$IsLinux` variable in older PowerShell versions. - -- [PowerShell/vscode-powershell #1234](https://github.com/PowerShell/vscode-powershell/pull/1234) - - Add snippets for Hashtable and PSCustomObject. - -- [PowerShell/vscode-powershell #1233](https://github.com/PowerShell/vscode-powershell/pull/1233) - - Add a keybinding for Show Addtional Commands to Shift-Alt-S. - -- [PowerShell/vscode-powershell #1227](https://github.com/PowerShell/vscode-powershell/pull/1227) - - Add an indicator for when PowerShell is running in the status bar. - -- [PowerShell/vscode-powershell #1225](https://github.com/PowerShell/vscode-powershell/pull/1225) - - Fix launch config not using temporary integrated console setting. - -- [PowerShell/vscode-powershell #1208](https://github.com/PowerShell/vscode-powershell/issues/1208) - - Stop configured temporary windows closing after running Pester tests. - -## 1.6.0 -### Thursday, February 22, 2018 - -#### Fixes and Improvements - -- [PowerShell/vscode-powershell #907](https://github.com/PowerShell/vscode-powershell/issues/907) - - Persist temp console debug session. - -- [PowerShell/vscode-powershell #1198](https://github.com/PowerShell/vscode-powershell/pull/1198) - - Enhance Start-EditorServices.ps1 for better logging and fix bugs. - -- [PowerShell/PowerShellEditorServices #413](https://github.com/PowerShell/PowerShellEditorServices/issues/413) - - Allow opening files as not previews to allow Open-EditorFile to open multiple files passed in. - -- [PowerShell/vscode-powershell #1177](https://github.com/PowerShell/vscode-powershell/issues/1177) - - Add function-advanced snippet. Thanks to [Benny1007](https://github.com/Benny1007)! - -- [PowerShell/vscode-powershell #1179](https://github.com/PowerShell/vscode-powershell/issues/1179) - - Switch onDebug to onDebugResolve:type for better debugging perf. - -- [PowerShell/vscode-powershell #1086](https://github.com/PowerShell/vscode-powershell/issues/1086) - - Add tslint to vscode-powershell and address all issues. - -- [PowerShell/vscode-powershell #1153](https://github.com/PowerShell/vscode-powershell/issues/1153) - - Add docs for ps remoting in vscode. - -- [PowerShell/vscode-powershell #1161](https://github.com/PowerShell/vscode-powershell/pull/1161) - - Check for the expected version of the PowerShell Editor Services module fails because of the wrong function parameters. Thanks to [ant-druha](https://github.com/ant-druha)! - -- [PowerShell/vscode-powershell #1141](https://github.com/PowerShell/vscode-powershell/pull/1141) - - Updated install script minified URL. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! - -- [PowerShell/PowerShellEditorServices #258](https://github.com/PowerShell/PowerShellEditorServices/issues/258) - - add .Save() to FileContext API. - -- [PowerShell/vscode-powershell #1137](https://github.com/PowerShell/vscode-powershell/pull/1137) - - Added 64bit support & vscode-insiders install support. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! - -- [PowerShell/vscode-powershell #1115](https://github.com/PowerShell/vscode-powershell/issues/1115) - - Fixed "Open in ISE" keyboard shortcut from overwriting basic editing keyboard shortcut. - -- [PowerShell/vscode-powershell #1111](https://github.com/PowerShell/vscode-powershell/issues/1111) - - Update examples tasks.json for 2.0.0 schema. - -## 1.5.1 -### Tuesday, November 14, 2017 - -- [PowerShell/vscode-powershell #1100](https://github.com/PowerShell/vscode-powershell/issues/1100) - - Fixed CodeLens on Pester test invocation fails with "Error: command 'vscode.startDebug' not found". - -- [PowerShell/vscode-powershell #1091](https://github.com/PowerShell/vscode-powershell/issues/1091) - - Fixed crash when editing remote file using psedit. - -- [PowerShell/vscode-powershell #1084](https://github.com/PowerShell/vscode-powershell/issues/1084) - - Fixed authenticode signature 'HashMismatch' on Start-EditorServices.ps1. - -- [PowerShell/vscode-powershell #1078](https://github.com/PowerShell/vscode-powershell/issues/1078) - - Fixed debug adapter process terminating when setting breakpoint in an Untitled file or in a Git diff window. - -- Update download.sh to remove macOS OpenSSL check since PowerShell Core Beta and higher no longer depend on OpenSSL. Thanks to [elovelan](https://github.com/elovelan)! - -- Get-Help -ShowWindow will no longer error in the PowerShell Integrated Console. The help window will appear but at the moment, it will appear behind VSCode. - -- Fix language server crash when processing a deep directory structure that exceeds max path. - -## 1.5.0 -### Friday, October 27, 2017 - -#### Fixes and Improvements - -- [PowerShell/vscode-powershell #820](https://github.com/PowerShell/vscode-powershell/issues/820) - - Added new "Upload Bug Report to GitHub" command to make it easy to post an issue to the vscode-powershell GitHub repo. Thanks to [Mark Schill](https://github.com/PowerSchill)! - -- [PowerShell/vscode-powershell #910](https://github.com/PowerShell/vscode-powershell/issues/910) - - Set-VSCodeHtmlContentView cmdlet now exposes `JavaScriptPaths` and `StyleSheetPaths` parameters to allow using JavaScript code and CSS stylesheets in VS Code HTML preview views. - -- [PowerShell/vscode-powershell #909](https://github.com/PowerShell/vscode-powershell/issues/909) - - Write-VSCodeHtmlContentView's AppendBodyContent now accepts input from the pipeline - -- [PowerShell/vscode-powershell #1071](https://github.com/PowerShell/vscode-powershell/pull/1071) - - Updated session menu to find PowerShell Core installs with the new pwsh.exe path - -- [PowerShell/vscode-powershell #842](https://github.com/PowerShell/vscode-powershell/issues/842) - - psedit can now open empty files in remote sessions - -- [PowerShell/vscode-powershell #1040](https://github.com/PowerShell/vscode-powershell/issues/1040) - - Non-PowerShell files opened in remote sessions using psedit can now be saved back to the remote server - -- [PowerShell/vscode-powershell #660](https://github.com/PowerShell/vscode-powershell/issues/660) - - Set/Enable/Disable/Remove-PSBreakpoint commands now cause the VS Code breakpoint UI to be updated while the debugger is active - -- [PowerShell/vscode-powershell #625](https://github.com/PowerShell/vscode-powershell/issues/625) - - Breakpoints are now cleared from the session when the debugger starts so that stale breakpoints from previous sessions are not hit - -- [PowerShell/vscode-powershell #1004](https://github.com/PowerShell/vscode-powershell/issues/1004) - - Handle exception case when finding references of a symbol - -- [PowerShell/vscode-powershell #942](https://github.com/PowerShell/vscode-powershell/issues/942) - - Temporary debugging session now does not hang when running "PowerShell Interactive Session" debugging configuration - -- [PowerShell/vscode-powershell #917](https://github.com/PowerShell/vscode-powershell/issues/917) - - Added PowerShell.InvokeRegisteredEditorCommand command to be used from HTML preview views for invoking editor commands registered in PowerShell. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! - -- [PowerShell/vscode-powershell #872](https://github.com/PowerShell/vscode-powershell/issues/872) - - Watch variables with children are now expandable - -- [PowerShell/vscode-powershell #1060](https://github.com/PowerShell/vscode-powershell/issues/1060) - - $psEditor.Workspace.NewFile() now works again in VSC 1.18.0 Insiders builds - -- [PowerShell/vscode-powershell #1046](https://github.com/PowerShell/vscode-powershell/issues/1046) - - Debugging now works again in VSC 1.18.0 Insiders builds - -- [PowerShell/PowerShellEditorServices #342](https://github.com/PowerShell/PowerShellEditorServices/issues/342) - - Unexpected file URI schemes are now handled more reliably - -- [PowerShell/PowerShellEditorServices #396](https://github.com/PowerShell/PowerShellEditorServices/issues/396) - - Resolved errors being written to Integrated Console when running native applications while transcription is turned on - -- [PowerShell/PowerShellEditorServices #529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - - Fixed an issue with loading the PowerShellEditorServices module in PowerShell Core 6.0.0-beta3 - -- [PowerShell/PowerShellEditorServices #533](https://github.com/PowerShell/PowerShellEditorServices/pull/533) - - Added new $psEditor.GetCommand() method for getting all registered editor commands. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! - -- [PowerShell/PowerShellEditorServices #535](https://github.com/PowerShell/PowerShellEditorServices/pull/535) - - Type information is now exposed on hover for variables in the Variables view - -## 1.4.3 -### Wednesday, September 13, 2017 - -- [#1016](https://github.com/PowerShell/vscode-powershell/issues/1016) - - Fixed a conflict with the "Azure Resource Manager for Visual Studio - Code" extension which prevented the PowerShell extension from loading - successfully. - -## 1.4.2 -### Tuesday, September 5, 2017 - -- [#993](https://github.com/PowerShell/vscode-powershell/issues/993) - - `powershell.powerShellExePath` using Sysnative path should be automatically - corrected when using 64-bit Visual Studio Code -- [#1008](https://github.com/PowerShell/vscode-powershell/issues/1008) - - Windows PowerShell versions (x64 and x86) are not enumerated correctly - when using 64-bit Visual Studio Code -- [#1009](https://github.com/PowerShell/vscode-powershell/issues/1009) - - PowerShell version indicator in status bar is missing tooltip -- [#1020](https://github.com/PowerShell/vscode-powershell/issues/1020) - - "Show Session Menu", "Show Integrated Console", and "Restart Current Session" - commands should cause PowerShell extension to be activated - -## 1.4.1 -### Thursday, June 22, 2017 - -- [PowerShell/PowerShellEditorServices#529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - - Fixed an issue with loading the extension with in PowerShell Core 6.0.0-beta3 - -## 1.4.0 -### Wednesday, June 21, 2017 - -#### New HTML content view commands enabling custom UI tabs - -You can now show editor tabs with custom HTML-based UI by using the -new HTML content view commands! This is the first step toward UI -extensions for VS Code written in PowerShell. - -Here's an example: - -```powershell -$view = New-VSCodeHtmlContentView -Title "My Custom View" -ShowInColumn One -Set-VSCodeHtmlContentView -View $view -Content "

Hello world!

" -Write-VSCodeHtmlContentView $view -Content "I'm adding new content!
" -``` - -And here's the result: - -![HTML view demo](https://user-images.githubusercontent.com/79405/27394133-f96c38cc-565f-11e7-8102-a3727014ea5a.GIF) - -Check out the cmdlet help for the following commands to learn more: - -- `New-VSCodeHtmlContentView` -- `Show-VSCodeHtmlContentView` -- `Close-VSCodeHtmlContentView` -- `Set-VSCodeHtmlContentView` -- `Write-VSCodeHtmlContentView` - -Since this is a first release, we've restricted the use of JavaScript -inside of the HTML. We will add this capability in a future release! - -#### Code formatting setting presets for common styles - -We've now added code formatting presets for the most common code style -conventions used in the PowerShell community: - -- **[OTBS](https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS_.28OTBS.29)** - - Known as the "One True Brace Style". Causes `else`, `catch`, and other - keywords to be "cuddled", keeping them on the same line as the previous - closing brace: - - ```powershell - if ($var -eq $true) { - # Do the thing - } else { - # Do something else - } - ``` - -- **[Stroustrup](https://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup)** - - Causes beginning curly braces to be placed on the same line as the statement: - - ```powershell - if ($var -eq $true) { - # Do the thing - } - else { - # Do something else - } - ``` - -- **[Allman](https://en.wikipedia.org/wiki/Indent_style#Allman_style)** - All curly braces are preceded by a newline: - - ```powershell - if ($var -eq $true) - { - # Do the thing - } - else - { - # Do something else - } - ``` - -- **Custom** - Allows full customization of the code formatting settings. - -In addition, code formatting now respects your `editor.insertSpaces` and -`editor.tabSize` settings! - -#### Debugging in a temporary PowerShell Integrated Console - -We've added the ability to debug your PowerShell code in a temporary -PowerShell Integrated Console so that you have a fresh runspace and -PowerShell process each time you hit F5! - -This setting is necessary if you are developing with PowerShell 5 -classes or modules using .NET assemblies because .NET types cannot -be reloaded inside of the same PowerShell process. This new setting -saves you from reloading your PowerShell session each time you debug -your code! - -You can configure this behavior in two ways: - -- Use the `launch.json` configuration parameter `createTemporaryIntegratedConsole`: - - ```json - { - "type": "PowerShell", - "request": "launch", - "name": "PowerShell Launch Current File in Temporary Console", - "script": "${file}", - "args": [], - "cwd": "${file}", - "createTemporaryIntegratedConsole": true - }, - ``` - -- Configure the setting `powershell.debugging.createTemporaryIntegratedConsole`: - - ```json - "powershell.debugging.createTemporaryIntegratedConsole": true, - ``` - -The default value for these settings is `false`, meaning that the temporary -console behavior is **opt-in**. - -Configuring the user or workspace setting will cause all debugging sessions -to be run in a temporary Integrated Console so it's useful if you would prefer -this to be the default behavior. The `launch.json` setting overrides the user -setting so you can always customize the behavior for a specific launch -configuration. - -#### NewFile() API and Out-CurrentFile command - -You can now create a new untitled file from within the Integrated Console -by using the `$psEditor.Workspace.NewFile()` command! Also, you can send -the formatted output of any PowerShell command to the current file by using -the `Out-CurrentFile` command: - -```powershell -Get-Process | Out-CurrentFile -``` - -Special thanks to [Doug Finke](https://github.com/dfinke) for the contribution! - -#### Other fixes and improvements - -- [#881](https://github.com/PowerShell/vscode-powershell/pull/881) - - When you select a different PowerShell version in the session menu, your choice - is persisted to the `powershell.powerShellExePath` setting. - -- [#891](https://github.com/PowerShell/vscode-powershell/issues/891) - - Pester CodeLenses now run tests without string interpolation of test names - -## 1.3.2 -### Monday, June 12, 2017 - -- [PowerShell/vscode-powershell#864](https://github.com/PowerShell/vscode-powershell/issues/864) - Improved the visibility of hyphen characters on the currently edited line in the PowerShell ISE theme (thanks [Stefan Stranger](https://github.com/stefanstranger)!) - -- [PowerShell/vscode-powershell#857](https://github.com/PowerShell/vscode-powershell/issues/855) - Typing a new function into a file no longer causes the language server to crash - -- [PowerShell/vscode-powershell#855](https://github.com/PowerShell/vscode-powershell/issues/855) - "Format Document" no longer hangs indefinitely - -- [PowerShell/vscode-powershell#859](https://github.com/PowerShell/vscode-powershell/issues/859) - Language server no longer hangs when opening a Pester test file containing dot-sourced script references - -- [PowerShell/vscode-powershell#856](https://github.com/PowerShell/vscode-powershell/issues/856) - CodeLenses for function definitions no longer count the definition itself as a reference and shows "0 references" when there are no uses of that function - -- [PowerShell/vscode-powershell#838](https://github.com/PowerShell/vscode-powershell/issues/838) - Right-clicking a debugger variable and selecting "Add to Watch" now has the desired result - -- [PowerShell/vscode-powershell#837](https://github.com/PowerShell/vscode-powershell/issues/837) - Debugger call stack now navigates correctly to the user's selected stack frame - -- [PowerShell/vscode-powershell#862](https://github.com/PowerShell/vscode-powershell/issues/862) - Terminating errors in the language server now close the Integrated Console immediately and prompt the user to restart the session - -- [PowerShell/PowerShellEditorServices#505](https://github.com/PowerShell/PowerShellEditorServices/issues/505) - Added improved cmdlet help in the PowerShellEditorServices.Commands module - -- [PowerShell/PowerShellEditorServices#509](https://github.com/PowerShell/PowerShellEditorServices/issues/509) - Importing the PowerShellEditorServices.Commands module no longer causes errors to be written about missing help languages - -## 1.3.1 -### Friday, June 9, 2017 - -#### Fixes and improvements - -- [#850](https://github.com/PowerShell/vscode-powershell/issues/850) - - Fixed an issue where lower-cased "describe" blocks were not identified by - the CodeLens feature. - -- [#851](https://github.com/PowerShell/vscode-powershell/issues/851) - - Fixed an issue where the language server would hang when typing out a describe - block. - -- [#852](https://github.com/PowerShell/vscode-powershell/issues/852) - - Fixed an issue where Pester test names would not be detected correctly when - other arguments like -Tags were being used on a Describe block. - -## 1.3.0 -### Friday, June 9, 2017 - -#### CodeLens for running and debugging Pester tests - -We've added two new CodeLens actions that show up above Describe blocks in -your Pester tests, "Run tests" and "Debug tests". By clicking one of these -CodeLenses, your tests will be executed in the Integrated Console with -the debugger attached. You can now set breakpoints and quickly debug a portion -of your test script: - -![Pester CodeLens](https://user-images.githubusercontent.com/79405/26988706-3c054ed0-4d05-11e7-87f0-5bbf16ee73ef.GIF) - -#### CodeLens support for finding references of a function or cmdlet - -We've also added CodeLenses for showing the number of references for a function or -cmdlet that is defined in a script. If you click this CodeLens, the references -pane will appear so that you can navigate through all of the references: - -![References CodeLens](https://user-images.githubusercontent.com/79405/26989245-384a4866-4d07-11e7-9c1e-076dbd7d6eb4.GIF) - -We will add CodeLens support for PowerShell 5+ classes and class methods in a future -update! - -#### Document symbol support for Pester tests - -We've also added document symbol support for Pester tests so that you can easily -navigate among the Describe, Context, and It blocks in large Pester script files: - -![Pester symbols](https://user-images.githubusercontent.com/79405/26989077-91e7a306-4d06-11e7-8e26-916bb78720f8.GIF) - -#### New PowerShell ISE theme - -We now include a new color theme that tries to provide a faithful interpretation -of the PowerShell ISE's style, including a blue console background! To use this -theme open the Command Palette (Ctrl+Shift+P), run the "Preferences: Color Theme" -command, then select "PowerShell ISE". - -![ISE theme](https://user-images.githubusercontent.com/79405/26988805-9769aea6-4d05-11e7-81fc-da79bf1ec3cb.png) - -This is a first attempt at making this happen so [give us feedback](https://git.io/v9jnL) -if you think that the colors can be improved! Super huge thanks to -[Matt McNabb](https://twitter.com/mcnabbmh) for putting this together! - -#### New cmdlets inside the Integrated Console - -Thanks to new PowerShell Editor Services co-maintainer [Patrick Meinecke](https://github.com/SeeminglyScience), -we've gained a new set of useful commands for interacting with the $psEditor APIs -within the Integrated Console: - -- [Find-Ast](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Find-Ast.md) -- [Get-Token](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Get-Token.md) -- [ConvertFrom-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertFrom-ScriptExtent.md) -- [ConvertTo-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertTo-ScriptExtent.md) -- [Set-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Set-ScriptExtent.md) -- [Join-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Join-ScriptExtent.md) -- [Test-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Test-ScriptExtent.md) -- [Import-EditorCommand](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Import-EditorCommand.md) - -This should also resolve the issues some people were seeing when we tried -to load the unsigned temporary script containing `Register-EditorCommand` -on machines with an AllSigned execution policy ([#784]([https://github.com/PowerShell/vscode-powershell/issues/784])). - -#### Fixes and improvements - -- [#827](https://github.com/PowerShell/vscode-powershell/issues/827) - - Fixed an issue where an Output panel will appear with an error when you close - the PowerShell Integrated Terminal - -## 1.2.1 -### Thursday, June 1, 2017 - -#### Fixes and improvements - -- [PowerShell/PowerShellEditorServices#478](https://github.com/PowerShell/PowerShellEditorServices/issues/478) - - Dynamic comment help snippets now generate parameter fields correctly - when `<#` is typed above a `param()` block. - -- [#808](https://github.com/PowerShell/vscode-powershell/issues/808) - - An extra `PS>` is no longer being written to the Integrated Console for - some users who have custom prompt functions. - -- [#813](https://github.com/PowerShell/vscode-powershell/issues/813) - - Finding references of symbols across the workspace now properly handles - inaccessible folders and file paths - -- [#810](https://github.com/PowerShell/vscode-powershell/issues/810) - - `$psEditor.GetEditorContext()` now doesn't throw exceptions when in an - untitled file - -- [#807](https://github.com/PowerShell/vscode-powershell/issues/807) - - The users's previously selected PowerShell session type is now retained - when running the "PowerShell: Restart Current Session" command. - -- [#821](https://github.com/PowerShell/vscode-powershell/issues/821) - - Note properties on PSObjects are now visible in the debugger's Variables - view - -## 1.2.0 -### Wednesday, May 31, 2017 - -#### Dynamic comment-based help snippets now work inside functions ([#763](https://github.com/PowerShell/vscode-powershell/issues/748)) - -You asked for it, you got it! Dynamic comment-based help snippets now work -inside function definitions, both above the `param()` block and at the end -of the function body: - -![Comment help GIF](https://cloud.githubusercontent.com/assets/79405/26637844/6e76cfa6-45d5-11e7-89b8-a2d6a559536b.GIF) - -*NOTE: There is an issue where parameter sections don't get generated inside of a function -with a `[CmdletBinding()]` attribute. This is being tracked at [PowerShell/PSScriptAnalyzer#768](https://github.com/PowerShell/PSScriptAnalyzer/issues/768).* - -#### Session menu now contains entries for PowerShell Core installations on Windows ([#794](https://github.com/PowerShell/vscode-powershell/issues/794)) - -It's now much easier to switch between Windows PowerShell and PowerShell Core installs -on Windows. When you run the "PowerShell: Show Session Menu" command or click the -PowerShell version indication in the status bar you'll now see PowerShell Core entries -in the menu: - -![Session menu](https://cloud.githubusercontent.com/assets/79405/26637984/d177f5f8-45d5-11e7-9def-705b3fa68953.png) - -#### Improved PSScriptAnalyzer marker display and suppression snippets ([#781](https://github.com/PowerShell/vscode-powershell/issues/781)) and ([#783](https://github.com/PowerShell/vscode-powershell/issues/783)) - -The green squiggle markers you receive from PSScriptAnalyzer now include the -name of the corresponding rule in their description: - -![Rule name](https://cloud.githubusercontent.com/assets/79405/26638073/15aaaaae-45d6-11e7-93a0-cf6d5397553e.png) - -This is really helpful with the new rule suppression snippets contributed by -[Jos Verlinde](https://github.com/Josverl)! You can access them by typing -`suppress-` and selecting one of the suppression snippet options: - -![Suppress rule](https://cloud.githubusercontent.com/assets/79405/26638390/d8c42164-45d6-11e7-8844-a34a314654a5.GIF) - -#### New built-in Pester problem matcher ([#798](https://github.com/PowerShell/vscode-powershell/issues/798)) - -We now include a built-in [problem matcher](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher) -for Pester test output so that you don't need to define one in your `tasks.json` -file any longer! You can reference the built-in problem matcher in your test -tasks by using the name `$pester`: - -```json - { - "taskName": "Test", - "suppressTaskName": true, - "isTestCommand": true, - "showOutput": "always", - "args": [ "Invoke-Pester -PesterOption @{IncludeVSCodeMarker=$true}" ], - "problemMatcher": "$pester" - } -``` - -*NOTE: There is an issue with problem matchers when using the new `2.0.0` -version of VS Code's task runner. Pester errors may show up multiple -times in the Problems panel. This issue is being tracked at -[#797](https://github.com/PowerShell/vscode-powershell/issues/797).* - -#### Other fixes and improvements - -- [#710](https://github.com/PowerShell/vscode-powershell/issues/710) - - Variable definitions can now be found across the workspace - -- [#771](https://github.com/PowerShell/vscode-powershell/issues/771) - - Improved dynamic comment help snippet performance in scripts with many functions - -- [#786](https://github.com/PowerShell/vscode-powershell/issues/786) - - Running the "Show Integrated Console" command will now start the extension - if it isn't already started - -- [#774](https://github.com/PowerShell/vscode-powershell/issues/774) - - Pressing Enter now causes custom prompt functions to be fully evaluated - -- [#770](https://github.com/PowerShell/vscode-powershell/issues/770) - - Fixed issue where custom prompt function might be written twice when - starting the integrated console - -- [#767](https://github.com/PowerShell/vscode-powershell/issues/767) - - Fixed placeholder navigation for many built-in snippets - -- [#782](https://github.com/PowerShell/vscode-powershell/issues/782) - - Fixed extension host crash when restarting the PowerShell session - -- [#737](https://github.com/PowerShell/vscode-powershell/issues/737) - - Fixed hangs and high CPU when restarting or switching between PowerShell sessions - -- [#777](https://github.com/PowerShell/vscode-powershell/issues/777) - - Changed "Starting PowerShell" message to clearly indicate that we're in the - PowerShell Integrated Console - -## 1.1.0 -### Thursday, May 18, 2017 - -#### New dynamic snippet for adding comment-based help ([#748](https://github.com/PowerShell/vscode-powershell/issues/748)) - -We've added a really cool new feature that enables you to create comment-based -help blocks with ease! When you've defined a function in a PowerShell script -file, you can now start typing a comment block above the function definition -and it will be completed for you: - -![Help Comment GIF](https://cloud.githubusercontent.com/assets/79405/26216440/f31a47c8-3bb8-11e7-9fbc-7e3fb596c0ea.GIF) - -This comment block works like a snippet, allowing you to tab through the fields -to quickly add documentation for the parts you care about. - -This is a first pass for this feature and we plan to do more with it in the future. -Please feel free to [file feature requests](https://git.io/v9jnL) for anything else -you'd like to see! - -#### Breakpoints hit in the Integrated Console now activate the debugger UI ([#619](https://github.com/PowerShell/vscode-powershell/issues/619)) - -In previous releases it was necessary to start the "PowerShell Interactive Session" -debugging configuration before you could run a command or script from the Integrated -Console and hit breakpoints in the editor UI. We've just removed this limitation! - -Now when you set a breakpoint using `Set-PSBreakpoint` and run a script or command in the -Integrated Console, the debugger UI now gets activated: - -![Debugger Activate GIF](https://cloud.githubusercontent.com/assets/79405/26217019/d17708f2-3bba-11e7-982f-4d481c2cf533.GIF) - -Note that breakpoints set in the Integrated Console [still do not show up](https://github.com/PowerShell/vscode-powershell/issues/660) -in the editor UI; this requires [changes to VS Code](https://github.com/Microsoft/vscode/issues/8642) -that we'll be contributing for their next feature release. - -#### Improved output when loading profile scripts ([#663](https://github.com/PowerShell/vscode-powershell/issues/663) and [#689](https://github.com/PowerShell/vscode-powershell/issues/689)) - -We now write the errors and Write-Output calls that occur while loading profile -scripts so that it's easier to diagnose issues with your profile scripts. This -fix will help us identify the things missing from the Integrated Console which -cause your profile scripts to fail (like the current lack of a [PrivateData object for setting console colors](https://github.com/PowerShell/vscode-powershell/issues/571)). - -Please feel free to [file issues](https://git.io/v9jnL) for anything that causes -your profile scripts to throw errors when they get loaded! - -#### Other fixes and improvements - -- [#751](https://github.com/PowerShell/vscode-powershell/issues/751) - - Removed keybinding for the "Find PowerShell Modules from the Gallery" command - because it conflicts with VS Code's default "Format Selection" keybinding. - -- [#739](https://github.com/PowerShell/vscode-powershell/issues/739) - - Fixed wording of PowerShell extension commands to have consistent capitalization. - Thanks to [@AndySchneiderDev](https://github.com/AndySchneiderDev) for the - contribution! - -## 1.0.0 -### Wednesday, May 10, 2017 - -We are excited to announce that we've reached version 1.0! For more information, -please see the [official announcement](https://blogs.msdn.microsoft.com/powershell/2017/05/10/announcing-powershell-for-visual-studio-code-1-0/) -on the PowerShell Team Blog. - -#### New script argument UI when debugging ([#705](https://github.com/PowerShell/vscode-powershell/issues/705)) - -You can now set PowerShell debugger configurations to prompt for arguments to be -passed to your script when it is executed. This is configured using the new -`${command:SpecifyScriptArgs}` configuration variable in `launch.json`: - -```json - { - "type": "PowerShell", - "request": "launch", - "name": "PowerShell Launch DebugTest.ps1 w/Args Prompt", - "script": "${workspaceRoot}/DebugTest.ps1", - "args": [ "${command:SpecifyScriptArgs}" ], - "cwd": "${file}" - } -``` - -When you launch this configuration you will see a UI popup asking for arguments: - - -![image](https://cloud.githubusercontent.com/assets/5177512/25560503/e60e9822-2d12-11e7-9837-29464d077082.png) - -You can type your arguments to the script as you would in PowerShell: - -``` --Count 5 -``` - -In future executions of this configuration, you will be presented with the arguments -you typed the last time you ran it so that you can easily edit them and test variations! - -#### New hash table alignment formatting rule ([#672](https://github.com/PowerShell/vscode-powershell/issues/672)) - -We've added a new code formatting rule that automatically aligns the equal sign -in assignments of keys in hash tables or DSC configurations. It also works with -nested hash tables! Here's a simple example: - -**Before** - -```powershell -$formatTest = @{ - Apple = 4 - Tangerine = @{ - Orange = 2 - CornflowerBlue = 6 - } - Banana = 3 -} -``` - -**After** - -```powershell - -$formatTest = @{ - Apple = 4 - Tangerine = @{ - Orange = 2 - CornflowerBlue = 6 - } - Banana = 3 -} -``` - -This formatting rule is enabled by default but can be disabled with the following -setting: - -``` -"powershell.codeFormatting.alignPropertyValuePairs": false -``` - -#### Added basic module-wide function references support - -In the past, finding the references or definition of a function in `FileA.ps1` only -worked if `FileA.ps1` had an explicit dot-source invocation of `FileB.ps1`. We have -removed this limitation so that you can now find definitions and references of any -function across all the script files in your project folder! This is especially -useful if you write PowerShell modules where all of the source files are dot-sourced -inside of the .psm1 file. - -This new implementation is very basic and may give unexpected results, so please [file -an issue on GitHub](https://github.com/PowerShell/vscode-powershell/issues) if you get -a result you did not expect! - -#### Other integrated console and debugger improvements - -- Fixed [#698](https://github.com/PowerShell/vscode-powershell/issues/698) - - When debugging scripts in the integrated console, the cursor position should now - be stable after stepping through your code! Please let us know if you see any - other cases where this issue appears. - -- Fixed [#626](https://github.com/PowerShell/vscode-powershell/issues/626) - - Fixed an issue where debugging a script in one VS Code window would cause that script's - output to be written to a different VS Code window in the same process. - -- Fixed [#618](https://github.com/PowerShell/vscode-powershell/issues/618) - - Pressing enter on an empty command line in the Integrated Console no longer adds the - empty line to the command history. - -- Fixed [#617](https://github.com/PowerShell/vscode-powershell/issues/617) - - Stopping the debugger during a prompt for a mandatory script parameter no - longer crashes the language server. - -- Fixed [PowerShellEditorServices #428](https://github.com/PowerShell/PowerShellEditorServices/issues/428) - - Debugger no longer hangs when you stop debugging while an input or choice prompt is - active in the integrated console. - -## 0.12.2 -### Friday, April 7, 2017 - -- Fixed [#662](https://github.com/PowerShell/vscode-powershell/issues/662) - - Changed usage of `$env:PSMODULEPATH` to `$env:PSModulePath` to conform to - a recent change in PowerShell 6 ([PowerShell/PowerShell#3255](https://github.com/PowerShell/PowerShell/pull/3255)) - which makes the casing of `PSModulePath` consistent between Windows and - the *NIX platforms. - - **NOTE: This is a breaking change for PowerShell extension users on Linux and macOS** - - If you are using PowerShell 6.0.0-alpha.17 or lower you **will** need to upgrade - to 6.0.0-alpha.18. - -- Fixed [#645](https://github.com/PowerShell/vscode-powershell/issues/645) - - "Go to Definition" or "Find References" now work in untitled scripts without - crashing the session -- Fixed [#632](https://github.com/PowerShell/vscode-powershell/issues/632) - - Debugger no longer hangs when launched while PowerShell session is still - initializing -- Fixed [#655](https://github.com/PowerShell/vscode-powershell/issues/655) - - Fixed an issue with current working directory being set incorrectly when - debugging untitled script files -- Fixed [PowerShellEditorServices #430](https://github.com/PowerShell/PowerShellEditorServices/issues/430) - - Resolved occasional IntelliSense slowness by preventing the implicit loading - of the PowerShellGet and PackageManagement modules. This change will be reverted - once a bug in PackageManagement is fixed. -- Fixed [PowerShellEditorServices #427](https://github.com/PowerShell/PowerShellEditorServices/issues/427) - - Fixed an occasional crash when requesting editor IntelliSense while running - a script in the debugger -- Fixed [PowerShellEditorServices #416](https://github.com/PowerShell/PowerShellEditorServices/issues/416) - - Cleaned up errors that would appear in the `$Errors` variable from the use - of `Get-Command` and `Get-Help` in IntelliSense results - -## 0.12.1 -### Tuesday, April 4, 2017 - -- Fixed [#648](https://github.com/PowerShell/vscode-powershell/issues/648) - - Resolved an error when launching an untitled script file in a workspace - with no launch.json or in a window without a workspace path - -## 0.12.0 -### Tuesday, April 4, 2017 - -#### Debugging untitled files ([#555](https://github.com/PowerShell/vscode-powershell/issues/555)) - -You can now debug untitled files that are set to the PowerShell language mode. When you -create a new untitled file, use the "Change Language Mode" command (Ctrl+K M) -and choose "PowerShell" from the menu that appears. You can now press F5 to start -debugging the script file without saving it. - -In the upcoming 1.11.0 release of Visual Studio Code (or in the current VS Code Insiders -release), you can configure the new `files.defaultLanguage` setting to `powershell` in either -your User or Workspace settings to cause all untitled files to be created with the PowerShell -mode by default. This will allow you to create new PowerShell scripts and debug them -immediately without saving first! - -#### New right-click context menu for Run Selection ([#581](https://github.com/PowerShell/vscode-powershell/issues/581)) - -By user request, we've also added a new "Run Selection" item in the right-click context menu -for PowerShell script files: - -![image](https://cloud.githubusercontent.com/assets/79405/24670885/a18513fe-1924-11e7-91d3-dc14c6cbfad9.png) - -#### Debugging improvements - -- Fixed [#620](https://github.com/PowerShell/vscode-powershell/issues/620) - - PowerShell session now does not crash when a breakpoint is hit outside of - debug mode - -- Fixed [#614](https://github.com/PowerShell/vscode-powershell/issues/614) - - Auto variables are now populating correctly in the debugger. **NOTE**: There is - a known issue where all of a script's variables begin to show up in the - Auto list after running a script for the first time. This is caused by - a change in 0.11.0 where we now dot-source all debugged scripts. We will - provide an option for this behavior in the future. - -- Fixed [#641](https://github.com/PowerShell/vscode-powershell/issues/641) - - PowerShell script files with capitalized extensions (.PS1, .PSM1) can now - be launched in the debugger - -- Fixed [#616](https://github.com/PowerShell/vscode-powershell/issues/616) - - Debugger now shows column position indicators when debugging pipelines or - nested expressions: - - ![image](https://cloud.githubusercontent.com/assets/79405/24316990/2157480e-10b0-11e7-8a61-19fde63edfb7.png) - -#### Integrated console improvements - -- Fixed [PowerShell/PowerShellEditorServices#411](https://github.com/PowerShell/PowerShellEditorServices/issues/411) - - Commands run outside of the integrated console prompt now interrupt the prompt - correctly. This resolves a class of issues that appear when running commands - in the extension like "New Project from Plaster Template" or any `$psEditor` - commands added with the "Register-EditorCommand" function. Running any of - these commands will now cause the current input prompt to be cancelled so that - the command's output will be written correctly. - -#### Code formatting improvements - -- Fixed [#595](https://github.com/PowerShell/vscode-powershell/issues/595) - - High CPU usage when using formatOnType has now been resolve - -- Fixed [#559](https://github.com/PowerShell/vscode-powershell/issues/559) - - The `newLineAfterCloseBrace` behavior has been improved to respect common syntax - usages - -- Fixed[PowerShell/PowerShellEditorServices#380](https://github.com/PowerShell/PowerShellEditorServices/issues/380) - - The `whitespaceBeforeOpenBrace` behavior now leaves "magic" functions with the - correct formatting. For example: `(0 .. 10).foreach{$_}` now does not have a - whitespace inserted before the `{`. - -#### New Project with Plaster improvements - -- Fixed [#643](https://github.com/PowerShell/vscode-powershell/issues/643) - - Running Plaster using the New Project command now interrupts the command prompt - correctly - -- Fixed [#504](https://github.com/PowerShell/vscode-powershell/issues/504) - - Confirming default values in Plaster input prompts by pressing Enter now works - correctly - -#### Other fixes and improvements - -- Added [#639](https://github.com/PowerShell/vscode-powershell/pull/639) and - [#640](https://github.com/PowerShell/vscode-powershell/pull/640) - - Our configuration setting descriptions have been edited for superior clarity - thanks to [June Blender](https://github.com/juneb)! - -- Fixed [#611](https://github.com/PowerShell/vscode-powershell/pull/640) - - Example-* snippets are now displaying correctly in IntelliSense results - -- Added [#624](https://github.com/PowerShell/vscode-powershell/pull/624) - - When you update the PowerShell extension after this release, you will now see - version update indicators which offer to display the changelog in a preview - tab - -## 0.11.0 -### Wednesday, March 22, 2017 - -#### Remotely edited files can now be saved - -- Added [#583](https://github.com/PowerShell/vscode-powershell/issues/583) - - When you open files in a remote PowerShell session with the `psedit` command, - their updated contents are now saved back to the remote machine when you save - them in the editor. - -#### Integrated console improvements - -- Fixed [#533](https://github.com/PowerShell/vscode-powershell/issues/533) - - The backspace key now works in the integrated console on Linux and macOS. This - fix also resolves a few usability problems with the integrated console on all - supported OSes. - -- Fixed [542](https://github.com/PowerShell/vscode-powershell/issues/542) - - Get-Credential now hides keystrokes correctly on Linux and macOS. - -We also added some new settings ([#580](https://github.com/PowerShell/vscode-powershell/issues/580), -[#588](https://github.com/PowerShell/vscode-powershell/issues/588)) to allow fine-tuning -of the integrated console experience: - -- `powershell.startAutomatically` (default: `true`) - If true, causes PowerShell extension - features to start automatically when a PowerShell file is opened. If false, the user must - initiate startup using the 'PowerShell: Restart Current Session' command. IntelliSense, - code navigation, integrated console, code formatting, and other features will not be - enabled until the extension has been started. Most users will want to leave this - setting to `true`, though it was added to save CPU cycles if you often use new VS Code - instances to quickly view PowerShell files. - -- `powershell.integratedConsole.showOnStartup` (default: `true`) - If true, causes the - integrated console to be shown automatically when the PowerShell extension is initialized. - -- `powershell.integratedConsole.focusConsoleOnExecute` (default: `true`) - If `true`, - causes the integrated console to be focused when a script selection is run or a - script file is debugged. - -#### Interactive debugging improvements - -- Added [#540](https://github.com/PowerShell/vscode-powershell/issues/540) - - The scripts that you debug are now dot-sourced into the integrated console's - session, allowing you to experiment with the results of your last execution. - -- Added [#600](https://github.com/PowerShell/vscode-powershell/issues/600) - - Debugger commands like `stepInto`, `continue`, and `quit` are now available - in the integrated console while debugging a script. - -- Fixed [#596](https://github.com/PowerShell/vscode-powershell/issues/596) - - VS Code's Debug Console now warns the user when it is used while debugging - a script. All command evaluation now happens through the integrated console - so this message should help alleviate confusion. - -#### Other fixes and improvements - -- Fixed [#579](https://github.com/PowerShell/vscode-powershell/issues/579) - - Sorting of IntelliSense results is now consistent with the PowerShell ISE -- Fixed [#591](https://github.com/PowerShell/vscode-powershell/issues/591) - - "Editor commands" registered with the `Register-EditorCommand` function are - now sorted alphabetically by their `Name` field, causing commands to be grouped - based on their source module. -- Fixed [#575](https://github.com/PowerShell/vscode-powershell/issues/575) - - The interactive console no longer starts up with errors in the `$Error` variable. -- Fixed [#599](https://github.com/PowerShell/vscode-powershell/issues/599) - - The [SSASCMDLETS module](https://msdn.microsoft.com/en-us/library/hh213141.aspx?f=255&MSPPError=-2147217396) - from SQL Server Analytics Service should now load correctly in the integrated - console. - -## 0.10.1 -### Thursday, March 16, 2017 - -#### Fixes and improvements - -- Fixed [#566](https://github.com/PowerShell/vscode-powershell/issues/566) - - Enable editor IntelliSense while stopped at a breakpoint -- Fixed [#556](https://github.com/PowerShell/vscode-powershell/issues/556) - - Running and debugging scripts in the integrated console should not steal focus from the editor -- Fixed [#543](https://github.com/PowerShell/vscode-powershell/issues/543) - - Keyboard input using AltGr Ctrl+Alt modifiers does not work -- Fixed [#421](https://github.com/PowerShell/vscode-powershell/issues/421) - - Session startup should give a helpful error message if ConstrainedLanguage mode is turned on -- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401) - - Session startup should indicate if current PowerShell version is unsupported (PSv1 and v2) -- Fixed [#454](https://github.com/PowerShell/vscode-powershell/issues/454) - - ExecutionPolicy set via group policy or registry key should not cause language server to crash -- Fixed [#532](https://github.com/PowerShell/vscode-powershell/issues/532) - - DEVPATH environment variable not being set for interactive console session -- Fixed [PowerShellEditorServices #387](https://github.com/PowerShell/PowerShellEditorServices/issues/387) - - Write-(Warning, Verbose, Debug) are missing message prefixes and foreground colors -- Fixed [PowerShellEditorServices #382](https://github.com/PowerShell/PowerShellEditorServices/issues/382) - - PSHostUserInterface implementation should set SupportsVirtualTerminal to true - -## 0.10.0 -### Tuesday, March 14, 2017 - -#### New interactive console experience - -We are excited to provide you with the first release of our new interactive -console experience! When you open up a PowerShell script file, you will -be greeted with a new VS Code integrated terminal window called -"PowerShell Integrated Console" - -![integrated console screenshot](https://cloud.githubusercontent.com/assets/79405/23910661/b599f2ee-0897-11e7-9426-00af794c10b5.png) - -In this console you will have an experience that falls somewhere between -the PowerShell ISE and the PowerShell console host: - -- Tab completion of commands and their parameters -- Basic command history, accessed using the up/down arrow keys -- The `psedit` command opens existing files in an editor pane -- Pressing F8 in an editor pane runs the current line or selection in the console -- Native applications like `git` are fully supported -- Script debugging shares the same console session with the editor for - a true ISE-like debugging experience - -It even works with your fancy prompt function if configured in your -VS Code profile (`$HOME\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1`): - -![custom prompt screenshot](https://cloud.githubusercontent.com/assets/79405/23910654/b1bca66c-0897-11e7-81b1-70eff5b97c21.png) - -The integrated console is supported on PowerShell v3 through v6 and works -on Linux and macOS with PowerShell Core. By default you don't have to -configure which PowerShell to run, we will pick an appropriate default -based on your platform. If you'd like to choose a different install -of PowerShell you can always change the `powershell.developer.powerShellExePath` -setting. - -Keep in mind that this is the first release for this feature and there are -bound to be issues and missing functionality. Please feel free to file -GitHub issues for any bugs or feature requests! - -##### Known Issues and Limitations - -- [#535](https://github.com/PowerShell/vscode-powershell/issues/535) PSReadline - is currently **not** supported in the integrated console. We will enable this - in a future release. -- [#534](https://github.com/PowerShell/vscode-powershell/issues/534) Integrated console - prompt is not restarted when you stop the debugging of a local runspace in another - process. This will be addressed soon in a patch update. -- [#533](https://github.com/PowerShell/vscode-powershell/issues/533) Backspace key - does not work in the integrated console on Linux and macOS. The workaround for now - is to use Ctrl+H instead of the Backspace key. This will be addressed - soon in a patch update. -- [#536](https://github.com/PowerShell/vscode-powershell/issues/536) Integrated console - sometimes does not have a scrollbar at startup. The workaround is to resize the width - of the VS Code window slightly and the scrollbar will appear. This will be addressed - soon in a patch update. - -#### Get-Credential and PSCredential support - -Now that we have the integrated console, we have added support for the `Get-Credential` -cmdlet, `Read-Host -AsSecureString`, and any input prompt of type `SecureString` or `PSCredential`. -When you run any of these cmdlets you will be prompted inside the integrated console: - -![credential screenshot](https://cloud.githubusercontent.com/assets/79405/23910668/bac9019c-0897-11e7-80e2-eaf1b9e507f8.png) - -#### Code formatting improvements - -We now support VS Code's `editor.formatOnType` setting so that your code gets formatted -as you type! Formatting will be triggered when you press Enter or the closing curly -brace character `}`. - -Based on your feedback, we've also added new code formatting options, all of which -are turned on by default: - -- `powershell.codeFormatting.newLineAfterCloseBrace` - Causes a newline to be inserted - after a closing brace in multi-line expressions like if/else -- `powershell.codeFormatting.whitespaceBeforeOpenBrace` - Causes whitespace to be - inserted before an open brace like `Foreach-Object {` -- `powershell.codeFormatting.whitespaceBeforeOpenParen` - Causes whitespace to be - inserted before an open parentheses like `if (` -- `powershell.codeFormatting.whitespaceAroundOperator` - Causes whitespace to be - inserted around operators like `=` or `+` -- `powershell.codeFormatting.whitespaceAfterSeparator` - Causes whitespace to be - inserted around separator characters like `;` and `,` -- `powershell.codeFormatting.ignoreOneLineBlock` - Single-line expressions, like - small if/else statements, will not be expanded to multiple lines. - -We've also made many improvements to the performance and stability of the formatter. - -#### Debugging improvements - -We've added a new configuration for debugging your Pester tests. By default it -merely runs `Invoke-Pester` at the workspace path, but you can also edit the -configuation to add additional arguments to be passed through. - -We've also added support for column breakpoints. Now you can set a breakpoint -directly within a pipeline by placing your cursor at any column on a line and -running the `Debug: Column Breakpoint` command: - -![column breakpoint screenshot](https://cloud.githubusercontent.com/assets/79405/23910649/aaef70e4-0897-11e7-93b7-0d729969a1e2.png) - -For the latest PowerShell Core release ([6.0.0-alpha.17](https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-alpha.17)), -we have also added the ability to step into ScriptBlocks that are executed on another -machine using `Invoke-Command -Computer`. - -Set a breakpoint on an `Invoke-Command` line and then once it's hit: - -![Invoke-Command screenshot](https://cloud.githubusercontent.com/assets/79405/23911032/c01b8ff6-0898-11e7-89e3-02a31d419fc5.png) - -Press `F11` and you will step into the ScriptBlock. You can now continue to use -"step in" and trace the ScriptBlock's execution on the remote machine: - -![remote script listing screenshot](https://cloud.githubusercontent.com/assets/79405/23918844/ca86cf28-08b1-11e7-8014-c689cdcccf87.png) - -Note that you cannot currently set breakpoints in the script listing file as -this code is being executed without an actual script file on the remote machine. - -#### Other fixes and improvements - -- Fixed [#427](https://github.com/PowerShell/vscode-powershell/issues/427) - - The keybinding for "Expand Alias" command has been changed to Shift+Alt+E -- Fixed [#519](https://github.com/PowerShell/vscode-powershell/issues/519) - - Debugger hangs after continuing when watch expressions are set -- Fixed [#448](https://github.com/PowerShell/vscode-powershell/issues/448) - - Code formatter should keep indentation for multi-line pipelines -- Fixed [#518](https://github.com/PowerShell/vscode-powershell/issues/518) - - Code formatter fails when dollar-paren `$()` expressions are used -- Fixed [#447](https://github.com/PowerShell/vscode-powershell/issues/447) - - Code formatter crashes when run on untitled documents - -## 0.9.0 -### Thursday, January 19, 2017 - -#### New PowerShell code formatter - -We've added a formatter for PowerShell code which allows you to format an -entire file or a selection within a file. You can access this formatter by -running VS Code's `Format Document` and `Format Selection` commands inside -of a PowerShell file. - -You can configure code formatting with the following settings: - -- `powershell.codeFormatting.openBraceOnSameLine` - Places open brace on the - same line as its associated statement. Default is `true`. -- `powershell.codeFormatting.newLineAfterOpenBrace` - Ensures that a new line - occurs after an open brace (unless in a pipeline statement on the same line). - Default is `true` -- `editor.tabSize` - Specifies the indentation width for code blocks. This - is a VS Code setting but it is respected by the code formatter. -- `editor.formatOnSave` - If true, automatically formats when they are saved. - This is a VS Code setting and may also affect non-PowerShell files. - -Please note that this is only a first pass at PowerShell code formatting, it -may not format your code perfectly in all cases. If you run into any issues, -please [file an issue](https://github.com/PowerShell/vscode-powershell/issues/new) -and give us your feedback! - -#### Streamlined debugging experience - launch.json is now optional! - -**NOTE: This improvement depends on VS Code 1.9.0 which is due for release -early February!** However, you can try it out right now with the [VS Code Insiders](https://code.visualstudio.com/insiders) -release. - -Thanks to a new improvement in VS Code's debugging APIs, we are now able to -launch the PowerShell debugger on a script file without the need for a `launch.json` -file. You can even debug individual PowerShell scripts without opening a -workspace folder! Don't worry, you can still use a `launch.json` file to configure -specific debugging scenarios. - -We've also made debugger startup much more reliable. You will no longer see the -dreaded "Debug adapter terminated unexpectedly" message when you try to launch -the debugger while the language server is still starting up. - -#### Support for debugging remote and attached runspaces - -We now support remote PowerShell sessions via the [`Enter-PSSession`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pssession) -cmdlet. This cmdlet allows you to create a PowerShell session on another machine -so that you can run commands or debug scripts there. The full debugging -experience works with these remote sessions on PowerShell 4 and above, allowing -you to set breakpoints and see remote files be opened locally when those breakpoints -are hit. - -For PowerShell 5 and above, we also support attaching to local and remote PowerShell -host processes using the [`Enter-PSHostProcess`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pshostprocess) -and [`Debug-Runspace`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.utility/debug-runspace) -cmdlets. This allows you to jump into another process and then debug a script that -is already running in one of the runspaces in that process. The debugger will break -execution of the running script and then the associated script file will be opened -in the editor so that you can set breakpoints and step through its execution. - -We've also added a new `launch.json` configuration for debugging PowerShell host processes: - -![Process launch configuration screenshot](https://cloud.githubusercontent.com/assets/79405/22089468/391e8120-dda0-11e6-950c-64f81b364c35.png) - -When launched, the default "attach" configuration will prompt you with a list of -PowerShell host processes on the local machine so that you can easily select one -to be debugged: - -![Process selection UI screenshot](https://cloud.githubusercontent.com/assets/79405/22081037/c205e516-dd76-11e6-834a-66f4c38e181d.png) - -You can also edit the launch configuration to hardcode the launch parameters, even -setting a remote machine to connect to before attaching to the remote process: - -```json - { - "type": "PowerShell", - "request": "attach", - "name": "PowerShell Attach to Host Process", - "computerName": "my-remote-machine", - "processId": "12345", - "runspaceId": 1 - } -``` - -Please note that we currently do not yet support initiating remote sessions from Linux -or macOS. This will be supported in an upcoming release. - -#### Initial support for remote file opening using `psedit` - -Another nice improvement is that we now support the `psedit` command in remote and -attached sessions. This command allows you to open a file in a local or remote session -so that you can set breakpoints in it using the UI before launching it. For now these -remotely-opened files will not be saved back to the remote session when you edit and -save them. We plan to add this capability in the next feature update. - -#### New "interactive session" debugging mode - -You can now create a new launch configuration which drops you directly into the -debug console so that you can debug your scripts and modules however you wish. -You can call Set-PSBreakpoint to set any type of breakpoint and then invoke your -code through the console to see those breakpoints get hit. This mode can also be -useful for debugging remote sessions. - -![Interactive session config screenshot](https://cloud.githubusercontent.com/assets/79405/22089502/5e56b4c6-dda0-11e6-8a51-f24e29ce7988.png) - -Please note that this is NOT a replacement for a true interactive console experience. -We've added this debugging configuration to enable a few other debugging scenarios, like -debugging PowerShell modules, while we work on a true interactive console experience using -VS Code's Terminal interface. - -#### New document symbol support for PSD1 files - -We've extended our document symbol support to `.psd1` files to make it really easy to -navigate through them. When you have a `.psd1` file open, run the `Go to Symbol in File...` -command (Ctrl + Shift + O) and you'll see this popup: - -![psd1 symbol screenshot](https://cloud.githubusercontent.com/assets/79405/22094872/85c7d9a2-ddc5-11e6-9bee-5fc8c3dae097.png) - -You can type a symbol name or navigate using your arrow keys. Once you select one of the -symbol names, the editor pane will jump directly to that line. - -#### Other fixes and improvements - -- Added a new `Open Examples Folder` command to easily open the extension's - example script folder. -- Added a new setting `powershell.developer.powerShellExeIsWindowsDevBuild` - which, when true, indicates that the `powerShellExePath` points to a Windows - PowerShell development build. -- Fixed [#395](https://github.com/PowerShell/vscode-powershell/issues/395): - Quick Fix for PSAvoidUsingAliases rule replaces the entire command -- Fixed [#396](https://github.com/PowerShell/vscode-powershell/issues/396): - Extension commands loaded in PowerShell profile are not being registered -- Fixed [#391](https://github.com/PowerShell/vscode-powershell/issues/391): - DSC IntelliSense can cause the language server to crash -- Fixed [#400](https://github.com/PowerShell/vscode-powershell/issues/400): - Language server can crash when selecting PSScriptAnalyzer rules -- Fixed [#408](https://github.com/PowerShell/vscode-powershell/issues/408): - Quick fix requests meant for other extensions crash the language server -- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401): - Extension startup should indicate if the current PowerShell version is unsupported -- Fixed [#314](https://github.com/PowerShell/vscode-powershell/issues/314): - Errors/Warnings still show up in Problems window when file is closed -- Fixed [#388](https://github.com/PowerShell/vscode-powershell/issues/388): - Syntax errors are not reported when powershell.scriptAnalysis.enable is set to false - -## 0.8.0 -### Friday, December 16, 2016 - -#### Improved PowerShell session management - -It's now much easier to manage the active PowerShell session. We've added a -new item to the status bar to indicate the state of the session and the version -of PowerShell you're using: - -![Screenshot of status indicator](https://cloud.githubusercontent.com/assets/79405/21247551/fcf2777c-c2e4-11e6-9659-7349c35adbcd.png) - -When this status item is clicked, a new menu appears to give you some session -management options: - -![Screenshot of session menu](https://cloud.githubusercontent.com/assets/79405/21247555/009fa64c-c2e5-11e6-8171-76914d3366a0.png) - -You can restart the active session, switch between 32-bit and 64-bit PowerShell on -Windows or switch to another PowerShell process (like a 6.0 alpha build) that -you've configured with the `powershell.developer.powerShellExePath`. - -We've also improved the overall experience of loading and using the extension: - -- It will prompt to restart the PowerShell session if it crashes for any reason -- It will also prompt to restart the session if you change any relevant PowerShell - configuration setting like the aforementioned `powershell.developer.powerShellExePath`. -- You can easily access the logs of the current session by running the command - `Open PowerShell Extension Logs Folder`. - -#### Create new modules with Plaster - -In this release we've added integration with the [Plaster](https://github.com/PowerShell/Plaster) -module to provide a `Create New Project from Plaster Template` command. This command will -walk you through the experience of selecting a template and filling in all of -the project details: - -![Screenshot of Plaster template selection](https://cloud.githubusercontent.com/assets/79405/21247560/087b47a4-c2e5-11e6-86e7-ba3727b5e36d.png) - -![Screenshot of Plaster input](https://cloud.githubusercontent.com/assets/79405/21247562/0a79b130-c2e5-11e6-97e9-cfd672803f75.png) - -We include one basic project template by default and will add more in the very -near future. However, you won't need to update the PowerShell extension to get these -new templates, they will appear when you install an update to the Plaster module from -the [PowerShell Gallery](https://www.powershellgallery.com/). - -Check out [Plaster's documentation](https://github.com/PowerShell/Plaster/tree/master/docs/en-US) -for more details on how it can be used and how you can create your own templates. - -#### New "quick fix" actions for PSScriptAnalyzer rules - -The PowerShell extension now uses any "suggested corrections" which are returned with -a rule violation in your script file to provide a "quick fix" option for the affected -section of code. For example, when the `PSAvoidUsingCmdletAliases` rule finds the use -of a non-whitelisted alias, you will see a light bulb icon that gives the option to -change to the full name (right click or Ctrl+. on the marker): - -![Screenshot of PSScriptAnalyzer quick fix](https://cloud.githubusercontent.com/assets/79405/21247558/05887e86-c2e5-11e6-9c67-e4558a7e2dba.png) - -If you'd like to see more quick fixes for PowerShell code, head over to the -[PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) GitHub page and -get involved! - -#### Easily enable and disable PSScriptAnalyzer rules - -Another improvement related to PSScriptAnalyzer is the ability to change the active -PSScriptAnalyzer rules in the current editing session using a helpful selection menu: - -![Screenshot of PSScriptAnalyzer rule selection](https://cloud.githubusercontent.com/assets/79405/21247557/037888b6-c2e5-11e6-816f-6732e13cddb7.png) - -You can enable and disable active rules by running the `Select PSScriptAnalyzer Rules` -command. For now this only changes the active session but in a future release we will -modify your PSScriptAnalyzer settings file so that the changes are persisted to future -editing sessions. - -#### New "hit count" breakpoints in the debugger - -When debugging PowerShell scripts you can now set "hit count" breakpoints which -cause the debugger to stop only after the breakpoint has been encountered a specified -number of times. - -![Screenshot of a hit count breakpoint](https://cloud.githubusercontent.com/assets/79405/21247563/0c159202-c2e5-11e6-8c91-36791c4fa804.png) - -#### Other fixes and improvements - -- We now provide snippets for the `launch.json` configuration file which make it easier - to add new PowerShell debugging configurations for your project. -- In PowerShell `launch.json` configurations, the `program` parameter has now been - renamed to `script`. Configurations still using `program` will continue to work. -- Fixed #353: Cannot start PowerShell debugger on Windows when offline -- Fixed #217: PowerShell output window should be shown when F8 is pressed -- Fixed #292: Check for Homebrew's OpenSSL libraries correctly on macOS -- Fixed #384: PowerShell snippets broken in VS Code 1.8.0 - -## 0.7.2 -### Friday, September 2, 2016 - -- Fixed #243: Debug adapter process has terminated unexpectedly -- Fixed #264: Add check for OpenSSL on OS X before starting the language service -- Fixed #271: PSScriptAnalyzer settings path isn't being passed along -- Fixed #273: Debugger crashes after multiple runs -- Fixed #274: Extension crashes on Ctrl+Hover - -## 0.7.1 -### Tuesday, August 23, 2016 - -- "Auto" variable scope in debugger UI now expands by default -- Fixed #244: Extension fails to load if username contains spaces -- Fixed #246: Restore default PSScriptAnalyzer ruleset -- Fixed #248: Extension fails to load on Windows 7 with PowerShell v3 - -## 0.7.0 -### Thursday, August 18, 2016 - -#### Introducing support for Linux and macOS! - -This release marks the beginning of our support for Linux and macOS via -the new [cross-platform release of PowerShell](https://github.com/PowerShell/PowerShell). -You can find installation and usage instructions at the [PowerShell GitHub repository](https://github.com/PowerShell/PowerShell). - -## 0.6.2 -### Friday, August 12, 2016 - -- Fixed #231: In VS Code 1.4.0, IntelliSense has stopped working -- Fixed #193: Typing "n" breaks intellisense -- Fixed #187: Language server sometimes crashes then $ErrorActionPreference = "Stop" - -## 0.6.1 -### Monday, May 16, 2016 - -- Fixed #180: Profile loading should be enabled by default -- Fixed #183: Language server sometimes fails to initialize preventing IntelliSense, etc from working -- Fixed #182: Using 'Run Selection' on a line without a selection only runs to the cursor position -- Fixed #184: When running a script in the debugger, $host.Version reports wrong extension version - -## 0.6.0 -### Thursday, May 12, 2016 - -#### Added a new cross-editor extensibility model - -- We've added a new extensibility model which allows you to write PowerShell - code to add new functionality to Visual Studio Code and other editors with - a single API. If you've used `$psISE` in the PowerShell ISE, you'll feel - right at home with `$psEditor`. Check out the [documentation](https://powershell.github.io/PowerShellEditorServices/guide/extensions.html) - for more details! - -#### Support for user and system-wide profiles - -- We've now introduced the `$profile` variable which contains the expected - properties that you normally see in `powershell.exe` and `powershell_ise.exe`: - - `AllUsersAllHosts` - - `AllUsersCurrentHost` - - `CurrentUserAllHosts` - - `CurrentUserCurrentHost` -- In Visual Studio Code the profile name is `Microsoft.VSCode_profile.ps1`. -- `$host.Name` now returns "Visual Studio Code Host" and `$host.Version` returns - the version of the PowerShell extension that is being used. - -#### Other improvements - -- IntelliSense for static methods and properties now works correctly. If you - type `::` after a type such as `[System.Guid]` you will now get the correct - completion results. This also works if you press `Ctrl+Space` after the `::` - characters. -- `$env` variables now have IntelliSense complete correctly. -- Added support for new VSCode command `Debug: Start Without Debugging`. Shortcut - for this command is Ctrl+F5. -- Changed the keyboard shortcut for `PowerShell: Expand Alias` from Ctrl+F5 to Ctrl+Alt+e. -- Added support for specifying a PSScriptAnalyzer settings file by - providing a full path in your User Settings for the key `powershell.scriptAnalysis.settingsPath`. - You can also configure the same setting in your project's `.vscode\settings.json` - file to contain a workspace-relative path. If present, this workspace-level setting - overrides the one in your User Settings file. See the extension's `examples\.vscode\settings.json` - file for an example. -- The debug adapter now does not crash when you attempt to add breakpoints - for files that have been moved or don't exist. -- Fixed an issue preventing output from being written in the debugger if you - don't set a breakpoint before running a script. - -#### New configuration settings - -- `powershell.scriptAnalysis.settingsPath`: Specifies the path to a PowerShell Script Analyzer settings file. Use either an absolute path (to override the default settings for all projects) or use a path relative to your workspace. - -## 0.5.0 -### Thursday, March 10, 2016 - -#### Support for PowerShell v3 and v4 - -- Support for PowerShell v3 and v4 is now complete! Note that for this release, - Script Analyzer support has been disabled for PS v3 and v4 until we implement - a better strategy for integrating it as a module dependency - -#### Debugging improvements - -- Added support for command breakpoints. - - Hover over the Debug workspace's 'Breakpoints' list header and click the 'Add' - button then type a command name (like `Write-Output`) in the new text box that - appears in the list. - -- Added support for conditional breakpoints. - - Right click in the breakpoint margin to the left of the code editor and click - 'Add conditional breakpoint' then enter a PowerShell expression in the text box - that appears in the editor. - -#### Other improvements - -- Added a preview of a possible project template for PowerShell Gallery modules in - the `examples` folder. Includes a PSake build script with Pester test, clean, - build, and publish tasks. See the `examples\README.md` file for instructions. - Check it out and give your feedback on GitHub! -- `using 'module'` now resolves relative paths correctly, removing a syntax error that - previously appeared when relative paths were used -- Calling `Read-Host -AsSecureString` or `Get-Credential` from the console now shows an - appropriate "not supported" error message instead of crashing the language service. - Support for these commands will be added in a later release. - -#### New configuration settings - -- `powershell.useX86Host`: If true, causes the 32-bit language service to be used on 64-bit Windows. On 32-bit Windows this setting has no effect. - -## 0.4.1 -### Wednesday, February 17, 2016 - -- Updated PSScriptAnalyzer 1.4.0 for improved rule marker extents -- Added example Pester task for running tests in the examples folder -- Fixed #94: Scripts fail to launch in the debugger if the working directory path contains spaces - -## 0.4.0 -### Tuesday, February 9, 2016 - -#### Debugging improvements - -[@rkeithhill](https://github.com/rkeithhill) spent a lot of time polishing the script debugging experience for this release: - -- You can now pass arguments to scripts in the debugger with the `args` parameter in launch.json -- You can also run your script with the 32-bit debugger by changing the `type` parameter in launch.json to "PowerShell x86" (also thanks to [@adamdriscoll](https://github.com/adamdriscoll)!) -- The new default PowerShell debugger configuration now launches the active file in the editor -- You can also set the working directory where the script is run by setting the `cwd` parameter in launch.json to an absolute path. If you need a workspace relative path, use ${workspaceRoot} to create an absolute path e.g. `"${workspaceRoot}/modules/foo.psm1"`. - -We recommend deleting any existing `launch.json` file you're using so that a new one will -be generated with the new defaults. - -#### Console improvements - -- Improved PowerShell console output formatting and performance - - The console prompt is now displayed after a command is executed - - Command execution errors are now displayed correctly in more cases - - Console output now wraps at 120 characters instead of 80 characters - -- Added choice and input prompt support - - When executing code using the 'Run Selection' command, choice and input prompts appear as VS Code UI popups - - When executing code in the debugger, choice and input prompts appear in the Debug Console - -#### New commands - -- "Find/Install PowerShell modules from the gallery" (`Ctrl+K Ctrl+F`): Enables you to find and install modules from the PowerShell Gallery (thanks [@dfinke](https://github.com/dfinke)!) -- "Open current file in PowerShell ISE" (`Ctrl+Shift+i`): Opens the current file in the PowerShell ISE (thanks [@janegilring](https://github.com/janegilring)!) - -#### Editor improvements - -- Path auto-completion lists show just the current directory's contents instead of the full path (which had resulted in clipped text) -- Parameter auto-completion lists are now sorted in the same order as they are in PowerShell ISE where command-specific parameters preceed the common parameters -- Parameter auto-completion lists show the parameter type -- Command auto-completion lists show the resolved command for aliases and the path for executables -- Many improvements to the PowerShell snippets, more clearly separating functional and example snippets (all of the latter are prefixed with `ex-`) -- Added some additional example script files in the `examples` folder - -#### New configuration settings - -- `powershell.developer.editorServicesLogLevel`: configures the logging verbosity for PowerShell Editor Services. The default log level will now write less logs, improving overall performance - -## 0.3.1 -### Thursday, December 17, 2015 - -- Fix issue #49, Debug Console does not receive script output - -## 0.3.0 -### Tuesday, December 15, 2015 - -- Major improvements in variables retrieved from the debugging service: - - Global and script scope variables are now accessible - - New "Auto" scope which shows only the variables defined within the current scope - - Greatly improved representation of variable values, especially for dictionaries and - objects that implement the ToString() method -- Added new "Expand Alias" command which resolves command aliases used in a file or - selection and updates the source text with the resolved command names -- Reduced default Script Analyzer rules to a minimal list -- Fixed a wide array of completion text replacement bugs -- Improved extension upgrade experience - -## 0.2.0 -### Monday, November 23, 2015 - -- (Experimental) Added a new "Run selection" (F8) command which executes the current code selection and displays the output -- Added a new online help command! Press Ctrl+F1 to get help for the symbol under the cursor. -- Enabled PowerShell language features for untitled and in-memory (e.g. in Git diff viewer) PowerShell files -- Added `powershell.scriptAnalysis.enable` configuration variable to allow disabling script analysis for performance (issue #11) -- Fixed issue where user's custom PowerShell snippets did not show up -- Fixed high CPU usage when completing or hovering over an application path - -## 0.1.0 -### Wednesday, November 18, 2015 - -Initial release with the following features: - -- Syntax highlighting -- Code snippets -- IntelliSense for cmdlets and more -- Rule-based analysis provided by PowerShell Script Analyzer -- Go to Definition of cmdlets and variables -- Find References of cmdlets and variables -- Document and workspace symbol discovery -- Local script debugging and basic interactive console support +# PowerShell Preview Extension Release History + +## v2019.11.0 +### Thursday, October 31, 2019 + +##### Special Note +In this release of the preview extension, +we've merged significant architectural work into PowerShell Editor Services. +After several months of work, PSES now uses the Omnisharp LSP library +to handle Language Server Protocol interaction instead of rolling its own, +allowing PSES to concentrate on being a good PowerShell backend. +We hope you'll see increased performance and stability in this release. +As always, [please let us know if you find any issues](https://github.com/PowerShell/vscode-powershell/issues/new/choose). + +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- ๐Ÿ”ง [vscode-PowerShell #2262](https://github.com/PowerShell/vscode-PowerShell/pull/2262) - + Introduce `powershell.integratedConsole.useLegacyReadline` setting disable PSReadLine. +- ๐Ÿ›ซ๐Ÿ›[vscode-powershell #2217](https://github.com/PowerShell/vscode-PowerShell/pull/2238) - + Discover new PowerShell installations, fix startup issue with Windows PowerShell. +- ๐Ÿ“บ [vscode-PowerShell #2225](https://github.com/PowerShell/vscode-PowerShell/pull/2225) - + Surface `InvokeRegisteredEditorCommand` in the Command Palette. (Thanks @jpogran!) +- ๐Ÿ“บ [vscode-PowerShell #2224](https://github.com/PowerShell/vscode-PowerShell/pull/2224) - + Provide Run Selection button in editor title menu. (Thanks @jpogran!) +- ๐Ÿ‘ท [vscode-powershell #2229](https://github.com/PowerShell/vscode-PowerShell/pull/2232) - + Fix version check in Install-VSCode.ps1. +- ๐Ÿš‚ [vscode-PowerShell #2226](https://github.com/PowerShell/vscode-PowerShell/pull/2226) - + Changes needed for Omnisharp migration of PowerShellEditorServices. +- ๐Ÿ” [vscode-powershell #2144](https://github.com/PowerShell/vscode-PowerShell/pull/2223) - + Fix debugging restart capability by ensuring the session file is not deleted. + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- ๐Ÿ› [PowerShellEditorServices #1080](https://github.com/PowerShell/PowerShellEditorServices/pull/1080) - + Remove extra newline in GetComment feature. +- ๐Ÿ› [PowerShellEditorServices #1079](https://github.com/PowerShell/PowerShellEditorServices/pull/1079) - + Fix duplicate diagnostics caused by DidChange handler. +- ๐Ÿ”ง [PowerShellEditorServices #1076](https://github.com/PowerShell/PowerShellEditorServices/pull/1076) - + Graduate PSReadLine feature and add UseLegacyReadLine. +- โš™๏ธ [PowerShellEditorServices #1075](https://github.com/PowerShell/PowerShellEditorServices/pull/1075) - + Lock OmniSharp dependencies to v0.14.0. (Thanks @mholo65!) +- ๐Ÿ“Ÿ [PowerShellEditorServices #1064](https://github.com/PowerShell/PowerShellEditorServices/pull/1064) - + Add support for terminal error color settings in PS7. +- ๐Ÿ› [PowerShellEditorServices #1073](https://github.com/PowerShell/PowerShellEditorServices/pull/1073) - + Fix prerelease version discovery and fix omnisharp change. +- ๐Ÿ› [PowerShellEditorServices #1065](https://github.com/PowerShell/PowerShellEditorServices/pull/1065) - + Fix TEMP debugging. +- ๐Ÿ› [vscode-powershell #1753](https://github.com/PowerShell/PowerShellEditorServices/pull/1072) - + Override PSRL ReadKey on Windows as well. +- ๐Ÿš‚ [PowerShellEditorServices #1056](https://github.com/PowerShell/PowerShellEditorServices/pull/1056) - + Re-architect PowerShell Editor Services to use the Omnisharp LSP platform. +- ๐Ÿ› [vscode-powershell #2116](https://github.com/PowerShell/PowerShellEditorServices/pull/1044) - + Fix UNC intellisense backslash. + +## v2019.9.0 +### Monday, September 23, 2019 +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- ๐Ÿ‘ท [vscode-powershell #1961](https://github.com/PowerShell/vscode-powershell/pull/1961) - + Changelog tools. +- ๐Ÿ› [vscode-powershell #2141](https://github.com/PowerShell/vscode-powershell/pull/2141) - + Null check on activeTerminal to workaround vscode behavior. +- โœจ [vscode-powershell #2105](https://github.com/PowerShell/vscode-powershell/pull/2105) - + Prompt to update PowerShell version. +- ๐Ÿ”Ž [vscode-powershell #2165](https://github.com/PowerShell/vscode-powershell/pull/2165) - + Add powershell.codeFormatting.autoCorrectAliases setting to add support for optionally correcting aliases as well (added in PSSA 1.18.2). Disabled by default.. (Thanks @bergmeister!) +- โœจ [vscode-powershell #2160](https://github.com/PowerShell/vscode-powershell/pull/2160) - + Added functionality to install the User variant of Stable Edition. (Thanks @Lothindir!) +- โœจ [vscode-powershell #2156](https://github.com/PowerShell/vscode-powershell) - + Default to PowerShell Core on Windows if it's installed. (Thanks @SydneyhSmith!) +- โœจ [vscode-powershell #2084](https://github.com/PowerShell/vscode-powershell/pull/2084) - + Implement #1611 - provide dynamic debug config. (Thanks @rkeithhill!) +- โœจ [vscode-powershell #2024](https://github.com/PowerShell/vscode-powershell/pull/2039) - + Add machine scope per VS Code team request. +- โœจ [vscode-powershell #2081](https://github.com/PowerShell/vscode-powershell/pull/2081) - + Add param-block snippet. (Thanks @AspenForester!) +- ๐Ÿงน [vscode-powershell #2062](https://github.com/PowerShell/vscode-powershell/pull/2062) - + Remove redundant snippets. (Thanks @travis-c-lagrone!) +- โœจ [vscode-powershell #1974](https://github.com/PowerShell/vscode-powershell/pull/1974) - + Add #Requires snippets. (Thanks @travis-c-lagrone!) +- ๐Ÿงน [vscode-powershell #2063](https://github.com/PowerShell/vscode-powershell/pull/2063) - + Remove redundant community snippets. (Thanks @travis-c-lagrone!) +- ๐Ÿ‘ท [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell/pull/2065) - + Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments'. (Thanks @travis-c-lagrone!) +- ๐Ÿ“” [vscode-powershell #2065](https://github.com/PowerShell/vscode-powershell) - + Docs updates. (Thanks @SydneyhSmith!) +- ๐Ÿ‘ท [vscode-powershell #2038](https://github.com/PowerShell/vscode-powershell/pull/2038) - + Add ADS insiders gallery file to update script. +- ๐Ÿ”Ž [vscode-powershell #2037](https://github.com/PowerShell/vscode-powershell/pull/2037) - + Update PSScriptAnalyzer docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) +- ๐Ÿ› [vscode-powershell #2035](https://github.com/PowerShell/vscode-powershell/pull/2035) - + #1019: Get format settings from document editor instead of global. (Thanks @tillig!) +- ๐Ÿ‘ท [vscode-powershell #2025](https://github.com/PowerShell/vscode-powershell/pull/2025) - + Fix node version detect logic to handle node v10. (Thanks @rkeithhill!) +- โœจ [vscode-powershell #1946](https://github.com/PowerShell/vscode-powershell/pull/1946) - + Add ArgumentCompleter snippets. (Thanks @travis-c-lagrone!) +- ๐Ÿงน [vscode-powershell #2015](https://github.com/PowerShell/vscode-powershell/pull/2015) - + Fix node types version. + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- ๐Ÿ› [PowerShellEditorServices #1022](https://github.com/PowerShell/PowerShellEditorServices/pull/1022) - + Catch stream exceptions for some Debug Adapter stability. +- ๐Ÿ”Ž [PowerShellEditorServices #1021](https://github.com/PowerShell/PowerShellEditorServices/pull/1021) - + Add AutoCorrectAliases setting (PR to be made in VS-Code repo as well) to add support for optionally correcting aliases as well (added in PSSA 1.18.2). (Thanks @bergmeister!). +- ๐Ÿ› [vscode-powershell #1994](https://github.com/PowerShell/PowerShellEditorServices/pull/1000) - + Fix crash when setBreakpoint from VSCode sends a git:/ URI. +- ๐Ÿงน [PowerShellEditorServices #988](https://github.com/PowerShell/PowerShellEditorServices/pull/988) - + Remove consoleecho lib for PowerShell 7. +- ๐Ÿ“” [PowerShellEditorServices #986](https://github.com/PowerShell/PowerShellEditorServices) - + Documentation updates. (Thanks @SydneyhSmith!) +- โš™๏ธ [PowerShellEditorServices #981](https://github.com/PowerShell/PowerShellEditorServices/pull/981) - + Update NewtonSoft.Json dependency from 10.0.3 to 11.02 since PS 6.0 has been deprecated. (Thanks @bergmeister!) +- ๐Ÿ› [vscode-powershell #2007](https://github.com/PowerShell/PowerShellEditorServices/pull/974) - + Defend against crash when no PSScriptAnalyzer is found. +- ๐Ÿ‘ท [PowerShellEditorServices #978](https://github.com/PowerShell/PowerShellEditorServices/pull/977) - + Delete stale WebSocket code. + +## v2019.5.0 +### Wednesday, May 22, 2019 +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- โœจ [vscode-PowerShell #1880](https://github.com/PowerShell/vscode-powershell/pull/1911) - + Move to date-based versioning +- โœจ [vscode-PowerShell #1954](https://github.com/PowerShell/vscode-PowerShell/pull/1954) - + Allow passing runspace name +- โœจ [vscode-PowerShell #1945](https://github.com/PowerShell/vscode-PowerShell/pull/1945) - + Edit snippets to support $TM_SELECTED_TEXT (Thanks @travis-c-lagrone!) +- ๐Ÿ‘ท [vscode-PowerShell #1942](https://github.com/PowerShell/vscode-PowerShell/pull/1942) - + Stop supporting 6.0 +- โœจ [vscode-PowerShell #1928](https://github.com/PowerShell/vscode-PowerShell/pull/1928) - + Add RunCode command for CodeLens providers +- ๐Ÿ› [vscode-PowerShell #1927](https://github.com/PowerShell/vscode-PowerShell/pull/1927) - + Fix change session by moving to async/await promise +- ๐Ÿ› [vscode-PowerShell #1931](https://github.com/PowerShell/vscode-PowerShell/pull/1931) - + Fix upload bug report +- ๐Ÿ› [vscode-PowerShell #1925](https://github.com/PowerShell/vscode-PowerShell/pull/1925) - + Fix error in HtmlContentView.ShowContent when no JS/CSS provided (Thanks @rkeithhill!) +- ๐Ÿ› [vscode-PowerShell #1919](https://github.com/PowerShell/vscode-PowerShell/pull/1919) - + Fix CustomViews by switching to WebViews +- ๐Ÿ› [vscode-PowerShell #1922](https://github.com/PowerShell/vscode-PowerShell/pull/1922) - + Fix small typo in Function-Inline description (Thanks @V-ed!) +- โœจ [vscode-PowerShell #1908](https://github.com/PowerShell/vscode-PowerShell/pull/1908) - + Add PowerShell version telemetry +- ๐Ÿ“– [vscode-PowerShell #1900](https://github.com/PowerShell/vscode-PowerShell/pull/1900) - + Small update to Azure Data Studio marketplace README (Thanks @SQLvariant!) +- ๐Ÿ’ป [vscode-PowerShell #1871](https://github.com/PowerShell/vscode-PowerShell/pull/1871) - + Change CI to use Azure Pipelines +- ๐Ÿ› [vscode-PowerShell #1867](https://github.com/PowerShell/vscode-PowerShell/pull/1867) - + Change whitespace settings to camelCase +- ๐Ÿ› [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - + Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSScriptAnalyzer issues are fixed (Thanks @bergmeister!) +- ๐Ÿ› [vscode-powershell #1822](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - + Set featureFlag default to null so that it can be resolved by settings +- ๐Ÿ’ป [vscode-PowerShell #1839](https://github.com/PowerShell/vscode-PowerShell/pull/1839) - + Add initial credscan config ymls for CI +- ๐Ÿ› [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - + Don't use -EncodedCommand to start PowerShell on Windows +- ๐Ÿ› [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - + Switch to current lowercase names for powershell and mdlint extensions (Thanks @rkeithhill!) +- ๐Ÿ‘ท [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - + Update to official TSLint extension in extensions.json, old version deprecated (Thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- โœจ [PowerShellEditorServices #951](https://github.com/PowerShell/PowerShellEditorServices/pull/951) - + Allow passing RunspaceName +- ๐Ÿšจ [PowerShellEditorServices #944](https://github.com/PowerShell/PowerShellEditorServices/pull/944) - + Add integration testing module with simple tests to verify PSES starts and stops +- ๐Ÿ› [PowerShellEditorServices #954](https://github.com/PowerShell/PowerShellEditorServices/pull/955) - + Ensure NamedPipeServerStream is assigned in Windows PowerShell +- โœจ [PowerShellEditorServices #952](https://github.com/PowerShell/PowerShellEditorServices/pull/952) - + Update to PSReadLine 2.0.0-beta4 +- โœจ [PowerShellEditorServices #877](https://github.com/PowerShell/PowerShellEditorServices/pull/877) - + Add filtering for CodeLens and References (Thanks @glennsarti!) +- ๐Ÿ› [vscode-powershell #1933](https://github.com/PowerShell/PowerShellEditorServices/pull/949) - + Stop crash when workspace doesn't exist +- ๐Ÿ‘ท [PowerShellEditorServices #878](https://github.com/PowerShell/PowerShellEditorServices/pull/878) - + Remove native named pipes implementation +- ๐Ÿ› [PowerShellEditorServices #947](https://github.com/PowerShell/PowerShellEditorServices/pull/947) - + Fix silent failure in VSCode WebViews by using Id for dictionary since multiple pages could have the same title +- ๐Ÿ› [PowerShellEditorServices #946](https://github.com/PowerShell/PowerShellEditorServices/pull/946) - + Rename to use async +- ๐Ÿ‘ท [PowerShellEditorServices #943](https://github.com/PowerShell/PowerShellEditorServices/pull/943) - + Improvements to the log parsing module (Thanks @rkeithhill!) +- ๐Ÿ’ป [PowerShellEditorServices #921](https://github.com/PowerShell/PowerShellEditorServices/pull/921) - + Set up CI with Azure Pipelines +- ๐Ÿ› [PowerShellEditorServices #908](https://github.com/PowerShell/PowerShellEditorServices/pull/908) - + Fix issue with reference code lens not working with UNC paths (Thanks @rkeithhill!) +- ๐Ÿ› [vscode-powershell #1571](https://github.com/PowerShell/PowerShellEditorServices/pull/911) - + Fix faulty netfx check +- ๐Ÿ› [PowerShellEditorServices #906](https://github.com/PowerShell/PowerShellEditorServices/pull/906) - + Fix New-EditorFile with no folder or no files open +- โœจ [vscode-powershell #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - + Improve path auto-completion (Thanks @rkeithhill!) +- ๐Ÿ› [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - + Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) +- ๐Ÿ‘ท [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - + Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) +- ๐Ÿ‘ท [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - + Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) +- ๐Ÿ’ป [PowerShellEditorServices #904](https://github.com/PowerShell/PowerShellEditorServices/pull/904) - + Add initial credscan configuation ymls for CI +- ๐Ÿ› [PowerShellEditorServices #901](https://github.com/PowerShell/PowerShellEditorServices/pull/901) - + Switch to current lowercase names for powershell and mdlint exts (Thanks @rkeithhill!) + +## v2.0.0-preview.3 +### Wednesday, April 10, 2019 +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1865](https://github.com/PowerShell/vscode-powershell/pull/1867) - + Change casing of `powershell.codeformatting` settings for consistency: + - `powershell.codeformatting.WhitespaceInsideBrace` is now `powershell.codeformatting.whitespaceInsideBrace` + - `powershell.codeformatting.WhitespaceAroundPipe` is now `powershell.codeformatting.whitespaceAroundPipe` +- [vscode-PowerShell #1852](https://github.com/PowerShell/vscode-PowerShell/pull/1852) - + Turn `powershell.codeformatting.useCorrectCasing` setting off by default until PSSA issues are fixed (Thanks @bergmeister!) +- [vscode-PowerShell #1838](https://github.com/PowerShell/vscode-PowerShell/pull/1838) - + Set PSReadLine featureFlag default to null so that it can be resolved by settings +- [vscode-PowerShell #1837](https://github.com/PowerShell/vscode-PowerShell/pull/1837) - + Do not use -EncodedCommand on Windows +- [vscode-PowerShell #1825](https://github.com/PowerShell/vscode-PowerShell/pull/1825) - + Switch to current lowercase names for powershell and mdlint recommended extensions (Thanks @rkeithhill!) +- [vscode-PowerShell #1823](https://github.com/PowerShell/vscode-PowerShell/pull/1823) - + Update to official TSLint ext in extensions.json, old version deprecated (Thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #902](https://github.com/PowerShell/PowerShellEditorServices/pull/902) - + Improve path auto-completion (Thanks @rkeithhill!) +- [PowerShellEditorServices #910](https://github.com/PowerShell/PowerShellEditorServices/pull/910) - + Fix UseCorrectCasing to be actually configurable via `powershell.codeFormatting.useCorrectCasing` (Thanks @bergmeister!) +- [PowerShellEditorServices #909](https://github.com/PowerShell/PowerShellEditorServices/pull/909) - + Use global.json to pin .Net Core SDK version and update it from 2.1.402 to 2.1.602 (Thanks @bergmeister!) +- [PowerShellEditorServices #903](https://github.com/PowerShell/PowerShellEditorServices/pull/903) - + Move temp folder into repo to avoid state that causes build errors from time to time when rebuilding locally (and packages have updated) (Thanks @bergmeister!) + +## v2.0.0-preview.2 +### Friday, March 29, 2019 + +### Highlights + +* `Write-Progress` work in the integrated console โฐ +* Support for [PSScriptAnalyzer 1.18](https://github.com/PowerShell/PSScriptAnalyzer/releases/tag/1.18.0) ๐Ÿ“ +* The ability to debug any runspace in any process ๐Ÿ”Ž +* PSReadLine enabled by default on Windows ๐ŸŽจ +* (Bug fix!) You can open untitled workspaces/folders again! ๐Ÿ›โ˜ ๏ธ + +There are a lot more goodies in this version. Checkout the changelog below! + +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1794](https://github.com/PowerShell/vscode-PowerShell/pull/1794) - + Make PSReadLine default on Windows +- [vscode-PowerShell #1736](https://github.com/PowerShell/vscode-PowerShell/pull/1736) - + Enable attach to process on Linux and macOS +- [vscode-PowerShell #1729](https://github.com/PowerShell/vscode-PowerShell/pull/1729) - + Handle Pester Describe block strings with single quotes inside it (Thanks @bergmeister!) +- [vscode-PowerShell #1741](https://github.com/PowerShell/vscode-PowerShell/pull/1741) - + Update build to clear node modules directory (Thanks @corbob!) +- [vscode-PowerShell #1743](https://github.com/PowerShell/vscode-PowerShell/pull/1743) - + Fix right-click help lookup not always working (Thanks @corbob!) +- [vscode-PowerShell #1746](https://github.com/PowerShell/vscode-PowerShell/pull/1746) - + Add label property to debug config, change pkg name to lowercase (Thanks @rkeithhill!) +- [vscode-PowerShell #1749](https://github.com/PowerShell/vscode-PowerShell/pull/1749) - + Add the Install-VSCode.ps1 script to signing +- [vscode-PowerShell #1747](https://github.com/PowerShell/vscode-PowerShell/pull/1747) - + Modify `powerShellDefaultVersion` description to make clearer (Thanks @rkeithhill!) +- [vscode-PowerShell #1755](https://github.com/PowerShell/vscode-PowerShell/pull/1755) - + Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) +- [vscode-PowerShell #1773](https://github.com/PowerShell/vscode-PowerShell/pull/1773) - + Change debugger type field back to `PowerShell` from `powershell` (Thanks @rkeithhill!) +- [vscode-PowerShell #1757](https://github.com/PowerShell/vscode-PowerShell/pull/1757) - + Match Install-VSCode.ps1 script url with the one from master branch (Thanks @rafaltra!) +- [vscode-PowerShell #1774](https://github.com/PowerShell/vscode-PowerShell/pull/1774) - + Switch to `EncodedCommand` for script execution +- [vscode-PowerShell #1764](https://github.com/PowerShell/vscode-PowerShell/pull/1764) - + Added Pester, ShouldProcess and Calculated Property PS Snippets (Thanks @brettmillerb!) +- [vscode-PowerShell #1776](https://github.com/PowerShell/vscode-PowerShell/pull/1776) - + Migrate Pester version detection into an InovkePester stub script (Thanks @rkeithhill!) +- [vscode-PowerShell #1781](https://github.com/PowerShell/vscode-PowerShell/pull/1781) - + Fix initial launch config casing +- [vscode-PowerShell #1775](https://github.com/PowerShell/vscode-PowerShell/pull/1775) - + Support `-CustomPipeName`, allowing configuration of custom namedpipes for LSP transport +- [vscode-PowerShell #1787](https://github.com/PowerShell/vscode-PowerShell/pull/1787) - + Added SQL PowerShell Examples (Thanks @SQLvariant!) +- [vscode-PowerShell #1782](https://github.com/PowerShell/vscode-PowerShell/pull/1782) - + Add Debug Runspace command (Thanks @adamdriscoll!) +- [vscode-PowerShell #1800](https://github.com/PowerShell/vscode-PowerShell/pull/1800) - + Include current runspace and runspace ID 1 in the PSHostProcess picker dialog +- [vscode-PowerShell #1687](https://github.com/PowerShell/vscode-PowerShell/pull/1687) - + Add new `powershell.useCorrectCasingsettings` for new rule in PSSA 1.18: PSUseCorrectCasing (Thanks @bergmeister!) +- [vscode-PowerShell #1668](https://github.com/PowerShell/vscode-PowerShell/pull/1668) - + Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: WhitespaceInsideBrace and WhitespaceAroundPipe (Thanks @bergmeister!) +- [vscode-PowerShell #1669](https://github.com/PowerShell/vscode-PowerShell/pull/1669) - + Add new `powershell.codeFormatting` settings for new options in PSSA 1.18: PipelineIndentationStyle (Thanks @bergmeister!) +- [vscode-PowerShell #1738](https://github.com/PowerShell/vscode-PowerShell/pull/1738) - + Set CommandExplorer exclusion filter to be empty array by default (Thanks @adilio!) +- [vscode-PowerShell #1686](https://github.com/PowerShell/vscode-PowerShell/pull/1686) - + Add an exclusion filter to the Command Explorer (Thanks @corbob!) +- [vscode-PowerShell #1816](https://github.com/PowerShell/vscode-PowerShell/pull/1816) - + Workaround PSSA #1187 by defaulting to NoIndentation + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #895](https://github.com/PowerShell/PowerShellEditorServices/pull/895) - + Add warning to parameter validation set (Thanks @Benny1007!) +- [PowerShellEditorServices #897](https://github.com/PowerShell/PowerShellEditorServices/pull/897) - + Clean up and pop dead runspaces when using 'attach' debugging +- [PowerShellEditorServices #888](https://github.com/PowerShell/PowerShellEditorServices/pull/888) - + Add new ParseError level to ScriptFileMarkerLevel and filter out PSSA parse errors +- [PowerShellEditorServices #858](https://github.com/PowerShell/PowerShellEditorServices/pull/858) - + Fix XUnit warnings that better assertion operators should be used. (Thanks @bergmeister!) +- [PowerShellEditorServices #854](https://github.com/PowerShell/PowerShellEditorServices/pull/854) - + Reinstate test filtering (Thanks @glennsarti!) +- [PowerShellEditorServices #866](https://github.com/PowerShell/PowerShellEditorServices/pull/866) - + Catch NotSupportedException which can be thrown by FileStream constructor (Thanks @rkeithhill!) +- [PowerShellEditorServices #868](https://github.com/PowerShell/PowerShellEditorServices/pull/868) - + Speed up Travis builds by skipping the .NET Core initialization (Thanks @bergmeister!) +- [PowerShellEditorServices #869](https://github.com/PowerShell/PowerShellEditorServices/pull/869) - + Added `AsNewFile` switch to Out-CurrentFile (Thanks @dfinke!) +- [PowerShellEditorServices #873](https://github.com/PowerShell/PowerShellEditorServices/pull/873) - + Return the start line number for Describe block (Thanks @rkeithhill!) +- [PowerShellEditorServices #876](https://github.com/PowerShell/PowerShellEditorServices/pull/876) - + Temporarily disable deemphasized stack frames to fix VSCode issue 1750 (Thanks @rkeithhill!) +- [PowerShellEditorServices #871](https://github.com/PowerShell/PowerShellEditorServices/pull/871) - + Support -CustomPipeName, allowing configuration of custom namedpipes for LSP transport +- [PowerShellEditorServices #872](https://github.com/PowerShell/PowerShellEditorServices/pull/872) - + Fix unable to open files in problems/peek windows issue (Thanks @rkeithhill!) +- [PowerShellEditorServices #875](https://github.com/PowerShell/PowerShellEditorServices/pull/875) - + Add attach to local runspace. (Thanks @adamdriscoll!) +- [PowerShellEditorServices #881](https://github.com/PowerShell/PowerShellEditorServices/pull/881) - + Use `NamedPipeConnectionInfo` to connect to remote runspaces instead of Enter-PSHostProcess +- [PowerShellEditorServices #845](https://github.com/PowerShell/PowerShellEditorServices/pull/845) - + Enable UseCorrectCasing as a default rule (Thanks @bergmeister!) +- [PowerShellEditorServices #835](https://github.com/PowerShell/PowerShellEditorServices/pull/835) - + Map new `powershell.codeformatting` settings WhitespaceInsideBrace and WhitespaceAroundPipe to PSSA settings hashtable (Thanks @bergmeister!) +- [PowerShellEditorServices #836](https://github.com/PowerShell/PowerShellEditorServices/pull/836) - + Add PipelineIndentationStyle configuration mapping (Thanks @bergmeister!) +- [PowerShellEditorServices #887](https://github.com/PowerShell/PowerShellEditorServices/pull/887) - + Cherry pick PR 1750 merge commit to legacy/v1.x, has additional fixes (Thanks @rkeithhill!) +- [PowerShellEditorServices #874](https://github.com/PowerShell/PowerShellEditorServices/pull/874) - + Use public `InternalHost` from origin runspace (Thanks @SeeminglyScience!) +- [PowerShellEditorServices #889](https://github.com/PowerShell/PowerShellEditorServices/pull/889) - + Enhance Get-PsesRpcNotificationMessage/MessageResponseTimes to allow filtering by message name (Thanks @rkeithhill!) +- [PowerShellEditorServices #859](https://github.com/PowerShell/PowerShellEditorServices/pull/859) - + Upgrade PowerShellStandard.Library, PowerShell.SDK, NET.Test.SDK and Serilog NuGet packages to latest released version and enable AppVeyor build on any branch (Thanks @bergmeister!) +- [PowerShellEditorServices #862](https://github.com/PowerShell/PowerShellEditorServices/pull/862) - + Handle arbitrary exceptions when recursing workspace + +## 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](https://code.visualstudio.com/Docs/setup/setup-overview). + +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. +![How to Disable](https://github.com/PowerShell/powershell.github.io/blob/master/PowerShell-Blog/Images/disable-extension.jpg) + +#### 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](https://docs.microsoft.com/en-us/powershell/module/psreadline/about/about_psreadline?view=powershell-6). + +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](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell/pull/1587) - + Removed ShowOnlineHelp Command (Thanks @corbob!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #792](https://github.com/PowerShell/PowerShellEditorServices/pull/792) - + Add Async suffix to async methods (Thanks @dee-see!) +- [PowerShellEditorServices #775](https://github.com/PowerShell/PowerShellEditorServices/pull/775) - + Removed ShowOnlineHelp Message (Thanks @corbob!) +- [PowerShellEditorServices #769](https://github.com/PowerShell/PowerShellEditorServices/pull/769) - + Set Runspaces to use STA when running in Windows PowerShell +- [PowerShellEditorServices #741](https://github.com/PowerShell/PowerShellEditorServices/pull/741) - + Migrate to netstandard2.0 and PSStandard +- [PowerShellEditorServices #672](https://github.com/PowerShell/PowerShellEditorServices/pull/672) - + PSReadLine integration (Thanks @SeeminglyScience!) + +## v1.10.2 +### Tuesday, December 18, 2018 + +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- [vscode-PowerShell #1632](https://github.com/PowerShell/vscode-powershell/pull/1632) - + Started [a document for ISE-like configuration of VSCode](https://github.com/PowerShell/vscode-powershell/blob/master/docs/ise_compatibility.md). + Please help us build it out by [contirbuting an edit](https://github.com/PowerShell/vscode-powershell/edit/master/docs/ise_compatibility.md). + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- [PowerShellEditorServices #811](https://github.com/PowerShell/PowerShellEditorServices/pull/805) - + Fix token-based folding (thanks @glennsarti!) +- [PowerShellEditorServices #823](https://github.com/PowerShell/PowerShellEditorServices/pull/823) - + Fix case-sensitivity of Pester CodeLens (thanks @bergmeister!) +- [PowerShellEditorServices #815](https://github.com/PowerShell/PowerShellEditorServices/pull/815) - + Fix crash when untitled files opened as PowerShell +- [PowerShellEditorServices #826](https://github.com/PowerShell/PowerShellEditorServices/pull/826) - + Fix crash when duplicate references are present in the same file + +## v1.10.1 +### Friday, December 7, 2018 + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- [PowerShellEditorServices #808](https://github.com/PowerShell/PowerShellEditorServices/pull/808) - + Fix startup crash on Windows 7 +- [PowerShellEditorServices #807](https://github.com/PowerShell/PowerShellEditorServices/pull/807) - + Fix deadlock occurring while connecting to named pipes + +## v1.10.0 +### Monday, December 3, 2018 +#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell) + +- [vscode-PowerShell #1610](https://github.com/PowerShell/vscode-powershell/pull/1610) - + Remove client-side syntax folding provider in favor of server-side provider (thanks @glennsarti!) +- [vscode-PowerShell #1616](https://github.com/PowerShell/vscode-powershell/pull/1616) - + Make `Restart Current Session` always available in the session quick pick +- [vscode-PowerShell #1406](https://github.com/PowerShell/vscode-powershell/pull/1406) - + Add a Show-Command explorer (thanks @corbob!) +- [vscode-PowerShell #1615](https://github.com/PowerShell/vscode-powershell/pull/1615) - + Fix Pester CodeLens not working for running/debugging tests (thanks @rkeithhill!) +- [vscode-PowerShell #1600](https://github.com/PowerShell/vscode-powershell/pull/1608) - + Add CodeAction support to show PSSA rule documentation (thanks @rkeithhill!) +- [vscode-PowerShell #1606](https://github.com/PowerShell/vscode-powershell/pull/1606) - + Add Ctrl+Alt+J (Cmd+Alt+J on macOS) + keybinding to open up list of available snippets +- [vscode-PowerShell #1597](https://github.com/PowerShell/vscode-powershell/pull/1597) - + Make `Install-VSCode.ps1` work on macOS and Linux. Get the script [here](https://github.com/PowerShell/vscode-powershell/blob/master/scripts/Install-VSCode.ps1) +- [vscode-PowerShell #1580](https://github.com/PowerShell/vscode-powershell/pull/1580) - + `New-EditorFile` works on non-PowerShell untitled files +- [vscode-PowerShell #1557](https://github.com/PowerShell/vscode-powershell/pull/1557) - + Default to showing the last line in folded regions. Unset with `"powershell.codeFolding.showLastLine": false` + (thanks @glennsarti!) +- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - + New snippet: Exchange Online connection (thanks @vmsilvamolina!) +- [vscode-PowerShell #1567](https://github.com/PowerShell/vscode-powershell/pull/1567) - + New snippet: HTML header (thanks @vmsilvamolina!) +- [vscode-PowerShell #1555](https://github.com/PowerShell/vscode-powershell/pull/1555) - + Log when language client not loaded during initialization (thanks @corbob!) +- [vscode-PowerShell #1554](https://github.com/PowerShell/vscode-powershell/pull/1554) - + Fix spacing in parameters when starting the extension (thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- [PowerShellEditorServices #786](https://github.com/PowerShell/PowerShellEditorServices/pull/786) - + Fix #17: Add go to definition support for dot sourced file paths (Thanks @dee-see!) +- [PowerShellEditorServices #767](https://github.com/PowerShell/PowerShellEditorServices/pull/767) - + Change unhandled messages to warnings instead of errors +- [PowerShellEditorServices #765](https://github.com/PowerShell/PowerShellEditorServices/pull/765) - + Fix PowerShell wildcard escaping in debug paths +- [PowerShellEditorServices #778](https://github.com/PowerShell/PowerShellEditorServices/pull/778) - + Fix multiple occurrences of the same typo (Thanks @dee-see!) +- [PowerShellEditorServices #782](https://github.com/PowerShell/PowerShellEditorServices/pull/782) - + Fix #779: NRE on Dispose in ExecutionTimer (Thanks @dee-see!) +- [PowerShellEditorServices #772](https://github.com/PowerShell/PowerShellEditorServices/pull/772) - + Log build info +- [PowerShellEditorServices #774](https://github.com/PowerShell/PowerShellEditorServices/pull/774) - + New-EditorFile works on non-powershell untitled files +- [PowerShellEditorServices #787](https://github.com/PowerShell/PowerShellEditorServices/pull/787) - + Fix descion/decision typo in visitors (Thanks @dee-see!) +- [PowerShellEditorServices #784](https://github.com/PowerShell/PowerShellEditorServices/pull/784) - + Replace bad StringReader usage with String.Split() +- [PowerShellEditorServices #768](https://github.com/PowerShell/PowerShellEditorServices/pull/768) - + Make pipeline runtime exceptions warnings in log +- [PowerShellEditorServices #790](https://github.com/PowerShell/PowerShellEditorServices/pull/790) - + Add managed thread id to log output to add debugging threading issues (Thanks @rkeithhill!) +- [PowerShellEditorServices #794](https://github.com/PowerShell/PowerShellEditorServices/pull/794) - + Fix Pester CodeLens run/debug by not quoting params/already quoted args (Thanks @rkeithhill!) +- [PowerShellEditorServices #785](https://github.com/PowerShell/PowerShellEditorServices/pull/785) - + Adds ability to use separate pipes for reading and writing (Thanks @ant-druha!) +- [PowerShellEditorServices #796](https://github.com/PowerShell/PowerShellEditorServices/pull/796) - + Code cleanup of the start script and ESHost.cs file (Thanks @rkeithhill!) +- [PowerShellEditorServices #795](https://github.com/PowerShell/PowerShellEditorServices/pull/795) - + Fix file recursion overflow problems +- [PowerShellEditorServices #697](https://github.com/PowerShell/PowerShellEditorServices/pull/697) - + Add functionality to allow a Show-Command like panel in VS Code (Thanks @corbob!) +- [PowerShellEditorServices #777](https://github.com/PowerShell/PowerShellEditorServices/pull/777) - + Add syntax folding (Thanks @glennsarti!) +- [PowerShellEditorServices #801](https://github.com/PowerShell/PowerShellEditorServices/pull/801) - + Fix local remoting +- [PowerShellEditorServices #797](https://github.com/PowerShell/PowerShellEditorServices/pull/797) - + Start of a PSES log file analyzer (Thanks @rkeithhill!) +- [PowerShellEditorServices #789](https://github.com/PowerShell/PowerShellEditorServices/pull/789) - + Add support for a "Show Documentation" quick fix menu entry (Thanks @rkeithhill!) +- [PowerShellEditorServices #760](https://github.com/PowerShell/PowerShellEditorServices/pull/760) - + Fix exception when remoting from Windows to non-Windows (Thanks @SeeminglyScience!) + +## v1.9.0 +### Thursday, September 27, 2018 +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1548](https://github.com/PowerShell/vscode-PowerShell/pull/1548) - + Explicitly return `undefined` from resolveDbgConfig when session not started (Thanks @rkeithhill!) +- [vscode-PowerShell #1516](https://github.com/PowerShell/vscode-PowerShell/pull/1516) - + Change "Get Online Help" menu item label to "Get Help" (Thanks @corbob!) +- [vscode-PowerShell #1525](https://github.com/PowerShell/vscode-PowerShell/pull/1525) - + Remove duplicate/overlapping folding regions (Thanks @glennsarti!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #750](https://github.com/PowerShell/PowerShellEditorServices/pull/750) - + Fix issue where # in path causes the path to resolve incorrectly +- [PowerShellEditorServices #721](https://github.com/PowerShell/PowerShellEditorServices/pull/721) - + Change Get-Help behavior to return local help when online help can't be displayed (Thanks @corbob!) +- [PowerShellEditorServices #748](https://github.com/PowerShell/PowerShellEditorServices/pull/748) - + Fix index out-of-range exception when deleting script files +- [PowerShellEditorServices #749](https://github.com/PowerShell/PowerShellEditorServices/pull/749) - + Fix crash for finding symbols on bad paths +- [PowerShellEditorServices #740](https://github.com/PowerShell/PowerShellEditorServices/pull/740) - + Fix inner help completion +- [PowerShellEditorServices #736](https://github.com/PowerShell/PowerShellEditorServices/pull/736) - + Cache the reflection call done for completions +- [PowerShellEditorServices #737](https://github.com/PowerShell/PowerShellEditorServices/pull/737) - + Remove LINQ usage in language service methods +- [PowerShellEditorServices #743](https://github.com/PowerShell/PowerShellEditorServices/pull/743) - + Remove unnecessary LINQ calls from LanguageServer + +## v1.8.4 +### Friday, August 31, 2018 +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [vscode-PowerShell #1489](https://github.com/PowerShell/vscode-PowerShell/pull/1489) - + Use asynchronous logic for help completions +- [vscode-PowerShell #1477](https://github.com/PowerShell/vscode-PowerShell/pull/1477) - + Add BitsTransfer & user switch to install latest user profile insiders edition with Install-VSCode.ps1 script (Thanks @tabs-not-spaces!) +- [vscode-PowerShell #1485](https://github.com/PowerShell/vscode-PowerShell/pull/1485) - + Increase connection timeout + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShellEditorServices #728](https://github.com/PowerShell/PowerShellEditorServices/pull/728) - + Fix formatter crash when script contains parse errors +- [PowerShellEditorServices #730](https://github.com/PowerShell/PowerShellEditorServices/pull/730) - + Fix crash where lines appended to end of script file causes out of bounds exception +- [PowerShellEditorServices #732](https://github.com/PowerShell/PowerShellEditorServices/pull/732) - + Fix CodeLens crash when a file cannot be opened, stop unnecessary file reads in CodeLens +- [PowerShellEditorServices #729](https://github.com/PowerShell/PowerShellEditorServices/pull/729) - + Fix a null dereference when an invalid cast exception has no inner exception +- [PowerShellEditorServices #719](https://github.com/PowerShell/PowerShellEditorServices/pull/719) - + Reduce allocations in the CodeLens providers +- [PowerShellEditorServices #725](https://github.com/PowerShell/PowerShellEditorServices/pull/725) - + Fix null dereference when debugging untitlted filesj +- [PowerShellEditorServices #726](https://github.com/PowerShell/PowerShellEditorServices/pull/726) - + Fix comment-based help snippet + + +## v1.8.3 +### Wednesday, August 15, 2018 + +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [PowerShell/vscode-powershell #1480](https://github.com/PowerShell/vscode-powershell/pull/1480) - + Use PowerShell signing script in VSTS builds +- [PowerShell/vscode-powershell #1460](https://github.com/PowerShell/vscode-powershell/pull/1460) - + Use newer version for preleases +- [PowerShell/vscode-powershell #1475](https://github.com/PowerShell/vscode-powershell/pull/1475) - + Change resourceLangId to editorLangId so right-click works properly with unsaved files (Thanks @corbob!) +- [PowerShell/vscode-powershell #1467](https://github.com/PowerShell/vscode-powershell/pull/1467) - + Remove region folding from non-region areas (Thanks @glennsarti!) + + #### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShell/PowerShellEditorServices #722](https://github.com/PowerShell/PowerShellEditorServices/pull/722) - + Add VSTS signing step +- [PowerShell/PowerShellEditorServices #717](https://github.com/PowerShell/PowerShellEditorServices/pull/717) - + Increment version for prerelease +- [PowerShell/PowerShellEditorServices #715](https://github.com/PowerShell/PowerShellEditorServices/pull/715) - + Reduce allocations when parsing files (Thanks @mattpwhite!) + +## v1.8.2 +### Thursday, July 26, 2018 + +#### [vscode-powershell](https://github.com/powershell/vscode-powershell) + +- [PowerShell/vscode-powershell #1438](https://github.com/PowerShell/vscode-powershell/pull/1438) - + Fix detecting contiguous comment blocks and regions (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1436](https://github.com/PowerShell/vscode-powershell/pull/1436) - + First approach to fix issue with dbg/run start before PSES running (Thanks @rkeithhill!) + +#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices) + +- [PowerShell/PowerShellEditorServices #712](https://github.com/PowerShell/PowerShellEditorServices/pull/712) - + workaround to support inmemory:// +- [PowerShell/PowerShellEditorServices #706](https://github.com/PowerShell/PowerShellEditorServices/pull/706) - + Go To Definition works with different Ast types +- [PowerShell/PowerShellEditorServices #707](https://github.com/PowerShell/PowerShellEditorServices/pull/707) - + fix stdio passing +- [PowerShell/PowerShellEditorServices #709](https://github.com/PowerShell/PowerShellEditorServices/pull/709) - + Stop Diagnostic logging from logging to stdio when the communication protocol is set to stdio +- [PowerShell/PowerShellEditorServices #710](https://github.com/PowerShell/PowerShellEditorServices/pull/710) - + stdio should only launch language service not debug +- [PowerShell/PowerShellEditorServices #705](https://github.com/PowerShell/PowerShellEditorServices/pull/705) - + Fix load order of PSSA modules +- [PowerShell/PowerShellEditorServices #704](https://github.com/PowerShell/PowerShellEditorServices/pull/704) - + Do not enable PSAvoidTrailingWhitespace rule by default as it currenly flags whitespace-only lines as well (Thanks @bergmeister!) + +## v1.8.1 +### Wednesday, July 11, 2018 + +- [PowerShell/vscode-powershell #1418](https://github.com/PowerShell/vscode-powershell/pull/1418) - + Fix code folding in documents using CRLF newlines. (Thanks @glennsarti!) + +## v1.8.0 +### Tuesday, July 10, 2018 + +- [PowerShell/vscode-powershell #1238](https://github.com/PowerShell/vscode-powershell/pull/1238) - + Added functionality to install the VSCode context menus. (Thanks @detlefs!) +- [PowerShell/vscode-powershell #1354](https://github.com/PowerShell/vscode-powershell/pull/1354) - + Edit snippet to fix issue #1353 (Thanks @kilasuit!) +- [PowerShell/vscode-powershell #1362](https://github.com/PowerShell/vscode-powershell/pull/1362) - + Updated Pester Problem Matcher (Thanks @awickham10!) +- [PowerShell/vscode-powershell #1359](https://github.com/PowerShell/vscode-powershell/pull/1359) - + (maint) Add visual ruler for line length (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1344](https://github.com/PowerShell/vscode-powershell/pull/1344) - + Update to TypeScript 2.9.x (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1323](https://github.com/PowerShell/vscode-powershell/pull/1323) - + SpecProcId - interactive var replacement supports only string type (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1327](https://github.com/PowerShell/vscode-powershell/pull/1327) - + Switch to named pipes +- [PowerShell/vscode-powershell #1321](https://github.com/PowerShell/vscode-powershell/pull/1321) - + GitHub issue template tweaks and add PSSA template (Thanks @bergmeister!) +- [PowerShell/vscode-powershell #1320](https://github.com/PowerShell/vscode-powershell/pull/1320) - + Take advantage of multiple issue templates (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1317](https://github.com/PowerShell/vscode-powershell/pull/1317) - + Change SpecifyScriptArgs command to only return string - not string[] (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1318](https://github.com/PowerShell/vscode-powershell/pull/1318) - + Update package veresion in lock file, format package.json file. (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1312](https://github.com/PowerShell/vscode-powershell/pull/1312) - + Updates to Examples PSSA settings file to include more rule config (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1305](https://github.com/PowerShell/vscode-powershell/pull/1305) - + Make SaveAs work for untitled files +- [PowerShell/vscode-powershell #1307](https://github.com/PowerShell/vscode-powershell/pull/1307) - + Added Columns, Improved readability for ToC. (Thanks @st0le!) +- [PowerShell/vscode-powershell #1368](https://github.com/PowerShell/vscode-powershell/pull/1368) - + Add new snippet for #region (#1368) (Thanks @lipkau!) +- [PowerShell/vscode-powershell #1416](https://github.com/PowerShell/vscode-powershell/pull/1416) - + (GH-1413) Resolve promise correctly in Folding feature (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1412](https://github.com/PowerShell/vscode-powershell/pull/1412) - + Set the extension's log level based on settings value (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1411](https://github.com/PowerShell/vscode-powershell/pull/1411) - + Escape paths w/single quotes before passing to powershell in single-quoted strings (#1411) (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1409](https://github.com/PowerShell/vscode-powershell/pull/1409) - + Rename file to match type name (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1408](https://github.com/PowerShell/vscode-powershell/pull/1408) - + Restore ability to start debug session when script run in PSIC hits breakpoint (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1407](https://github.com/PowerShell/vscode-powershell/pull/1407) - + Scroll the terminal to bottom for F8 executionPartial fix #1257 (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1414](https://github.com/PowerShell/vscode-powershell/pull/1414) - + Update grammar parsing for vscode-textmate v4 module (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1397](https://github.com/PowerShell/vscode-powershell/pull/1397) - + Allow debugging in interactive session with no dir change (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1402](https://github.com/PowerShell/vscode-powershell/pull/1402) - + Move lint directive after the file-header to fix lint error (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1366](https://github.com/PowerShell/vscode-powershell/pull/1366) - + Add support for side-by-side PS Core preview on Linux/macOS (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1391](https://github.com/PowerShell/vscode-powershell/pull/1391) - + Add PowerShell Online Help lookup to context menu (Thanks @corbob!) +- [PowerShell/vscode-powershell #1396](https://github.com/PowerShell/vscode-powershell/pull/1396) - + Add tslint rule file-header to enforce copyright in TS files (Thanks @rkeithhill!) +- [PowerShell/vscode-powershell #1355](https://github.com/PowerShell/vscode-powershell/pull/1355) - + Add syntax aware folding provider (Thanks @glennsarti!) +- [PowerShell/vscode-powershell #1395](https://github.com/PowerShell/vscode-powershell/pull/1395) - + Update community_snippets.md (Thanks @fullenw1!) +- [PowerShell/vscode-powershell #1382](https://github.com/PowerShell/vscode-powershell/pull/1382) - + Fix markdown syntax (Thanks @lipkau!) +- [PowerShell/vscode-powershell #1369](https://github.com/PowerShell/vscode-powershell/pull/1369) - + Update README.md with kbds and what to do if you find a vulnerability +- [PowerShell/vscode-powershell #1297](https://github.com/PowerShell/vscode-powershell/pull/1297) - + Added some snippets (#1297) (Thanks @SQLDBAWithABeard!) + +## 1.7.0 +### Wednesday, April 25, 2018 + +- [PowerShell/vscode-powershell #1285](https://github.com/PowerShell/vscode-powershell/pull/1285) - + Add a community snippet for date-annotated `Write-Verbose` messages. + +- [PowerShell/vscode-powershell #1228](https://github.com/PowerShell/vscode-powershell/issues/1228) - + Make comment-based help trigger always be `##` with a new setting `powershell.helpCompletion` to + allow you to select between help comment styles: `BlockComment` (default) or `LineComment`. + You can also specify Disabled to disable this functionality. + +- [PowerShell/vscode-powershell #603](https://github.com/PowerShell/vscode-powershell/issues/603) - + Fix PowerShell crashing on machines with IPv6 disabled. + +- [PowerShell/vscode-powershell #1243](https://github.com/PowerShell/vscode-powershell/issues/1243) - + Support custom PowerShell executable paths in user configuration which can be selected (via name) + in either user or workspace configuration. + +- [PowerShell/vscode-powershell #1264](https://github.com/PowerShell/vscode-powershell/pull/1264) - + Add support for [Visual Studio Live Share](https://code.visualstudio.com/visual-studio-live-share). + +- [PowerShell/vscode-powershell #1261](https://github.com/PowerShell/vscode-powershell/pull/1261) - + Add support for `$psEditor.GetEditorContext.CurrentFile.SaveAs("NewFileName.ps1")`. + +- [PowerShell/vscode-powershell #1252](https://github.com/PowerShell/vscode-powershell/pull/1252) - + Change the way the extension builds and runs, so that PowerShellEditorServices is self-contained. + +- [PowerShell/vscode-powershell #1248](https://github.com/PowerShell/vscode-powershell/pull/1248) - + Replace `$global:IsOSX` with `$global:IsMacOS`. + +- [PowerShell/vscode-powershell #1246](https://github.com/PowerShell/vscode-powershell/pull/1246) - + Create [community_snippets.md](./docs/community_snippets.md) for user created snippets. + +- [PowerShell/vscode-powershell #1155](https://github.com/PowerShell/vscode-powershell/issues/1155) - + Fix PSES crashes caused by running "Set PSScriptAnalyzer Rules" on an untitled file. + +- [PowerShell/vscode-powershell #1236](https://github.com/PowerShell/vscode-powershell/pull/1236) - + Stop an error occurring when VSCode trims trailing whitespace and sends document update messages. + +- [PowerShell/vscode-powershell #996](https://github.com/PowerShell/vscode-powershell/issues/996) - + Fix `Install-PSCode.ps1` crashing due to `$IsLinux` variable in older PowerShell versions. + +- [PowerShell/vscode-powershell #1234](https://github.com/PowerShell/vscode-powershell/pull/1234) - + Add snippets for Hashtable and PSCustomObject. + +- [PowerShell/vscode-powershell #1233](https://github.com/PowerShell/vscode-powershell/pull/1233) - + Add a keybinding for Show Addtional Commands to Shift-Alt-S. + +- [PowerShell/vscode-powershell #1227](https://github.com/PowerShell/vscode-powershell/pull/1227) - + Add an indicator for when PowerShell is running in the status bar. + +- [PowerShell/vscode-powershell #1225](https://github.com/PowerShell/vscode-powershell/pull/1225) - + Fix launch config not using temporary integrated console setting. + +- [PowerShell/vscode-powershell #1208](https://github.com/PowerShell/vscode-powershell/issues/1208) - + Stop configured temporary windows closing after running Pester tests. + +## 1.6.0 +### Thursday, February 22, 2018 + +#### Fixes and Improvements + +- [PowerShell/vscode-powershell #907](https://github.com/PowerShell/vscode-powershell/issues/907) - + Persist temp console debug session. + +- [PowerShell/vscode-powershell #1198](https://github.com/PowerShell/vscode-powershell/pull/1198) - + Enhance Start-EditorServices.ps1 for better logging and fix bugs. + +- [PowerShell/PowerShellEditorServices #413](https://github.com/PowerShell/PowerShellEditorServices/issues/413) - + Allow opening files as not previews to allow Open-EditorFile to open multiple files passed in. + +- [PowerShell/vscode-powershell #1177](https://github.com/PowerShell/vscode-powershell/issues/1177) - + Add function-advanced snippet. Thanks to [Benny1007](https://github.com/Benny1007)! + +- [PowerShell/vscode-powershell #1179](https://github.com/PowerShell/vscode-powershell/issues/1179) - + Switch onDebug to onDebugResolve:type for better debugging perf. + +- [PowerShell/vscode-powershell #1086](https://github.com/PowerShell/vscode-powershell/issues/1086) - + Add tslint to vscode-powershell and address all issues. + +- [PowerShell/vscode-powershell #1153](https://github.com/PowerShell/vscode-powershell/issues/1153) - + Add docs for ps remoting in vscode. + +- [PowerShell/vscode-powershell #1161](https://github.com/PowerShell/vscode-powershell/pull/1161) - + Check for the expected version of the PowerShell Editor Services module fails because of the wrong function parameters. Thanks to [ant-druha](https://github.com/ant-druha)! + +- [PowerShell/vscode-powershell #1141](https://github.com/PowerShell/vscode-powershell/pull/1141) - + Updated install script minified URL. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! + +- [PowerShell/PowerShellEditorServices #258](https://github.com/PowerShell/PowerShellEditorServices/issues/258) - + add .Save() to FileContext API. + +- [PowerShell/vscode-powershell #1137](https://github.com/PowerShell/vscode-powershell/pull/1137) - + Added 64bit support & vscode-insiders install support. Thanks to [tabs-not-spaces](https://github.com/tabs-not-spaces)! + +- [PowerShell/vscode-powershell #1115](https://github.com/PowerShell/vscode-powershell/issues/1115) - + Fixed "Open in ISE" keyboard shortcut from overwriting basic editing keyboard shortcut. + +- [PowerShell/vscode-powershell #1111](https://github.com/PowerShell/vscode-powershell/issues/1111) - + Update examples tasks.json for 2.0.0 schema. + +## 1.5.1 +### Tuesday, November 14, 2017 + +- [PowerShell/vscode-powershell #1100](https://github.com/PowerShell/vscode-powershell/issues/1100) - + Fixed CodeLens on Pester test invocation fails with "Error: command 'vscode.startDebug' not found". + +- [PowerShell/vscode-powershell #1091](https://github.com/PowerShell/vscode-powershell/issues/1091) - + Fixed crash when editing remote file using psedit. + +- [PowerShell/vscode-powershell #1084](https://github.com/PowerShell/vscode-powershell/issues/1084) - + Fixed authenticode signature 'HashMismatch' on Start-EditorServices.ps1. + +- [PowerShell/vscode-powershell #1078](https://github.com/PowerShell/vscode-powershell/issues/1078) - + Fixed debug adapter process terminating when setting breakpoint in an Untitled file or in a Git diff window. + +- Update download.sh to remove macOS OpenSSL check since PowerShell Core Beta and higher no longer depend on OpenSSL. Thanks to [elovelan](https://github.com/elovelan)! + +- Get-Help -ShowWindow will no longer error in the PowerShell Integrated Console. The help window will appear but at the moment, it will appear behind VSCode. + +- Fix language server crash when processing a deep directory structure that exceeds max path. + +## 1.5.0 +### Friday, October 27, 2017 + +#### Fixes and Improvements + +- [PowerShell/vscode-powershell #820](https://github.com/PowerShell/vscode-powershell/issues/820) - + Added new "Upload Bug Report to GitHub" command to make it easy to post an issue to the vscode-powershell GitHub repo. Thanks to [Mark Schill](https://github.com/PowerSchill)! + +- [PowerShell/vscode-powershell #910](https://github.com/PowerShell/vscode-powershell/issues/910) - + Set-VSCodeHtmlContentView cmdlet now exposes `JavaScriptPaths` and `StyleSheetPaths` parameters to allow using JavaScript code and CSS stylesheets in VS Code HTML preview views. + +- [PowerShell/vscode-powershell #909](https://github.com/PowerShell/vscode-powershell/issues/909) - + Write-VSCodeHtmlContentView's AppendBodyContent now accepts input from the pipeline + +- [PowerShell/vscode-powershell #1071](https://github.com/PowerShell/vscode-powershell/pull/1071) - + Updated session menu to find PowerShell Core installs with the new pwsh.exe path + +- [PowerShell/vscode-powershell #842](https://github.com/PowerShell/vscode-powershell/issues/842) - + psedit can now open empty files in remote sessions + +- [PowerShell/vscode-powershell #1040](https://github.com/PowerShell/vscode-powershell/issues/1040) - + Non-PowerShell files opened in remote sessions using psedit can now be saved back to the remote server + +- [PowerShell/vscode-powershell #660](https://github.com/PowerShell/vscode-powershell/issues/660) - + Set/Enable/Disable/Remove-PSBreakpoint commands now cause the VS Code breakpoint UI to be updated while the debugger is active + +- [PowerShell/vscode-powershell #625](https://github.com/PowerShell/vscode-powershell/issues/625) - + Breakpoints are now cleared from the session when the debugger starts so that stale breakpoints from previous sessions are not hit + +- [PowerShell/vscode-powershell #1004](https://github.com/PowerShell/vscode-powershell/issues/1004) - + Handle exception case when finding references of a symbol + +- [PowerShell/vscode-powershell #942](https://github.com/PowerShell/vscode-powershell/issues/942) - + Temporary debugging session now does not hang when running "PowerShell Interactive Session" debugging configuration + +- [PowerShell/vscode-powershell #917](https://github.com/PowerShell/vscode-powershell/issues/917) - + Added PowerShell.InvokeRegisteredEditorCommand command to be used from HTML preview views for invoking editor commands registered in PowerShell. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! + +- [PowerShell/vscode-powershell #872](https://github.com/PowerShell/vscode-powershell/issues/872) - + Watch variables with children are now expandable + +- [PowerShell/vscode-powershell #1060](https://github.com/PowerShell/vscode-powershell/issues/1060) - + $psEditor.Workspace.NewFile() now works again in VSC 1.18.0 Insiders builds + +- [PowerShell/vscode-powershell #1046](https://github.com/PowerShell/vscode-powershell/issues/1046) - + Debugging now works again in VSC 1.18.0 Insiders builds + +- [PowerShell/PowerShellEditorServices #342](https://github.com/PowerShell/PowerShellEditorServices/issues/342) - + Unexpected file URI schemes are now handled more reliably + +- [PowerShell/PowerShellEditorServices #396](https://github.com/PowerShell/PowerShellEditorServices/issues/396) - + Resolved errors being written to Integrated Console when running native applications while transcription is turned on + +- [PowerShell/PowerShellEditorServices #529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - + Fixed an issue with loading the PowerShellEditorServices module in PowerShell Core 6.0.0-beta3 + +- [PowerShell/PowerShellEditorServices #533](https://github.com/PowerShell/PowerShellEditorServices/pull/533) - + Added new $psEditor.GetCommand() method for getting all registered editor commands. Thanks to [Kamil Kosek](https://github.com/kamilkosek)! + +- [PowerShell/PowerShellEditorServices #535](https://github.com/PowerShell/PowerShellEditorServices/pull/535) - + Type information is now exposed on hover for variables in the Variables view + +## 1.4.3 +### Wednesday, September 13, 2017 + +- [#1016](https://github.com/PowerShell/vscode-powershell/issues/1016) - + Fixed a conflict with the "Azure Resource Manager for Visual Studio + Code" extension which prevented the PowerShell extension from loading + successfully. + +## 1.4.2 +### Tuesday, September 5, 2017 + +- [#993](https://github.com/PowerShell/vscode-powershell/issues/993) - + `powershell.powerShellExePath` using Sysnative path should be automatically + corrected when using 64-bit Visual Studio Code +- [#1008](https://github.com/PowerShell/vscode-powershell/issues/1008) - + Windows PowerShell versions (x64 and x86) are not enumerated correctly + when using 64-bit Visual Studio Code +- [#1009](https://github.com/PowerShell/vscode-powershell/issues/1009) - + PowerShell version indicator in status bar is missing tooltip +- [#1020](https://github.com/PowerShell/vscode-powershell/issues/1020) - + "Show Session Menu", "Show Integrated Console", and "Restart Current Session" + commands should cause PowerShell extension to be activated + +## 1.4.1 +### Thursday, June 22, 2017 + +- [PowerShell/PowerShellEditorServices#529](https://github.com/PowerShell/PowerShellEditorServices/issues/529) - + Fixed an issue with loading the extension with in PowerShell Core 6.0.0-beta3 + +## 1.4.0 +### Wednesday, June 21, 2017 + +#### New HTML content view commands enabling custom UI tabs + +You can now show editor tabs with custom HTML-based UI by using the +new HTML content view commands! This is the first step toward UI +extensions for VS Code written in PowerShell. + +Here's an example: + +```powershell +$view = New-VSCodeHtmlContentView -Title "My Custom View" -ShowInColumn One +Set-VSCodeHtmlContentView -View $view -Content "

Hello world!

" +Write-VSCodeHtmlContentView $view -Content "I'm adding new content!
" +``` + +And here's the result: + +![HTML view demo](https://user-images.githubusercontent.com/79405/27394133-f96c38cc-565f-11e7-8102-a3727014ea5a.GIF) + +Check out the cmdlet help for the following commands to learn more: + +- `New-VSCodeHtmlContentView` +- `Show-VSCodeHtmlContentView` +- `Close-VSCodeHtmlContentView` +- `Set-VSCodeHtmlContentView` +- `Write-VSCodeHtmlContentView` + +Since this is a first release, we've restricted the use of JavaScript +inside of the HTML. We will add this capability in a future release! + +#### Code formatting setting presets for common styles + +We've now added code formatting presets for the most common code style +conventions used in the PowerShell community: + +- **[OTBS](https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS_.28OTBS.29)** - + Known as the "One True Brace Style". Causes `else`, `catch`, and other + keywords to be "cuddled", keeping them on the same line as the previous + closing brace: + + ```powershell + if ($var -eq $true) { + # Do the thing + } else { + # Do something else + } + ``` + +- **[Stroustrup](https://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup)** - + Causes beginning curly braces to be placed on the same line as the statement: + + ```powershell + if ($var -eq $true) { + # Do the thing + } + else { + # Do something else + } + ``` + +- **[Allman](https://en.wikipedia.org/wiki/Indent_style#Allman_style)** - All curly braces are preceded by a newline: + + ```powershell + if ($var -eq $true) + { + # Do the thing + } + else + { + # Do something else + } + ``` + +- **Custom** - Allows full customization of the code formatting settings. + +In addition, code formatting now respects your `editor.insertSpaces` and +`editor.tabSize` settings! + +#### Debugging in a temporary PowerShell Integrated Console + +We've added the ability to debug your PowerShell code in a temporary +PowerShell Integrated Console so that you have a fresh runspace and +PowerShell process each time you hit F5! + +This setting is necessary if you are developing with PowerShell 5 +classes or modules using .NET assemblies because .NET types cannot +be reloaded inside of the same PowerShell process. This new setting +saves you from reloading your PowerShell session each time you debug +your code! + +You can configure this behavior in two ways: + +- Use the `launch.json` configuration parameter `createTemporaryIntegratedConsole`: + + ```json + { + "type": "PowerShell", + "request": "launch", + "name": "PowerShell Launch Current File in Temporary Console", + "script": "${file}", + "args": [], + "cwd": "${file}", + "createTemporaryIntegratedConsole": true + }, + ``` + +- Configure the setting `powershell.debugging.createTemporaryIntegratedConsole`: + + ```json + "powershell.debugging.createTemporaryIntegratedConsole": true, + ``` + +The default value for these settings is `false`, meaning that the temporary +console behavior is **opt-in**. + +Configuring the user or workspace setting will cause all debugging sessions +to be run in a temporary Integrated Console so it's useful if you would prefer +this to be the default behavior. The `launch.json` setting overrides the user +setting so you can always customize the behavior for a specific launch +configuration. + +#### NewFile() API and Out-CurrentFile command + +You can now create a new untitled file from within the Integrated Console +by using the `$psEditor.Workspace.NewFile()` command! Also, you can send +the formatted output of any PowerShell command to the current file by using +the `Out-CurrentFile` command: + +```powershell +Get-Process | Out-CurrentFile +``` + +Special thanks to [Doug Finke](https://github.com/dfinke) for the contribution! + +#### Other fixes and improvements + +- [#881](https://github.com/PowerShell/vscode-powershell/pull/881) - + When you select a different PowerShell version in the session menu, your choice + is persisted to the `powershell.powerShellExePath` setting. + +- [#891](https://github.com/PowerShell/vscode-powershell/issues/891) - + Pester CodeLenses now run tests without string interpolation of test names + +## 1.3.2 +### Monday, June 12, 2017 + +- [PowerShell/vscode-powershell#864](https://github.com/PowerShell/vscode-powershell/issues/864) - Improved the visibility of hyphen characters on the currently edited line in the PowerShell ISE theme (thanks [Stefan Stranger](https://github.com/stefanstranger)!) + +- [PowerShell/vscode-powershell#857](https://github.com/PowerShell/vscode-powershell/issues/855) - Typing a new function into a file no longer causes the language server to crash + +- [PowerShell/vscode-powershell#855](https://github.com/PowerShell/vscode-powershell/issues/855) - "Format Document" no longer hangs indefinitely + +- [PowerShell/vscode-powershell#859](https://github.com/PowerShell/vscode-powershell/issues/859) - Language server no longer hangs when opening a Pester test file containing dot-sourced script references + +- [PowerShell/vscode-powershell#856](https://github.com/PowerShell/vscode-powershell/issues/856) - CodeLenses for function definitions no longer count the definition itself as a reference and shows "0 references" when there are no uses of that function + +- [PowerShell/vscode-powershell#838](https://github.com/PowerShell/vscode-powershell/issues/838) - Right-clicking a debugger variable and selecting "Add to Watch" now has the desired result + +- [PowerShell/vscode-powershell#837](https://github.com/PowerShell/vscode-powershell/issues/837) - Debugger call stack now navigates correctly to the user's selected stack frame + +- [PowerShell/vscode-powershell#862](https://github.com/PowerShell/vscode-powershell/issues/862) - Terminating errors in the language server now close the Integrated Console immediately and prompt the user to restart the session + +- [PowerShell/PowerShellEditorServices#505](https://github.com/PowerShell/PowerShellEditorServices/issues/505) - Added improved cmdlet help in the PowerShellEditorServices.Commands module + +- [PowerShell/PowerShellEditorServices#509](https://github.com/PowerShell/PowerShellEditorServices/issues/509) - Importing the PowerShellEditorServices.Commands module no longer causes errors to be written about missing help languages + +## 1.3.1 +### Friday, June 9, 2017 + +#### Fixes and improvements + +- [#850](https://github.com/PowerShell/vscode-powershell/issues/850) - + Fixed an issue where lower-cased "describe" blocks were not identified by + the CodeLens feature. + +- [#851](https://github.com/PowerShell/vscode-powershell/issues/851) - + Fixed an issue where the language server would hang when typing out a describe + block. + +- [#852](https://github.com/PowerShell/vscode-powershell/issues/852) - + Fixed an issue where Pester test names would not be detected correctly when + other arguments like -Tags were being used on a Describe block. + +## 1.3.0 +### Friday, June 9, 2017 + +#### CodeLens for running and debugging Pester tests + +We've added two new CodeLens actions that show up above Describe blocks in +your Pester tests, "Run tests" and "Debug tests". By clicking one of these +CodeLenses, your tests will be executed in the Integrated Console with +the debugger attached. You can now set breakpoints and quickly debug a portion +of your test script: + +![Pester CodeLens](https://user-images.githubusercontent.com/79405/26988706-3c054ed0-4d05-11e7-87f0-5bbf16ee73ef.GIF) + +#### CodeLens support for finding references of a function or cmdlet + +We've also added CodeLenses for showing the number of references for a function or +cmdlet that is defined in a script. If you click this CodeLens, the references +pane will appear so that you can navigate through all of the references: + +![References CodeLens](https://user-images.githubusercontent.com/79405/26989245-384a4866-4d07-11e7-9c1e-076dbd7d6eb4.GIF) + +We will add CodeLens support for PowerShell 5+ classes and class methods in a future +update! + +#### Document symbol support for Pester tests + +We've also added document symbol support for Pester tests so that you can easily +navigate among the Describe, Context, and It blocks in large Pester script files: + +![Pester symbols](https://user-images.githubusercontent.com/79405/26989077-91e7a306-4d06-11e7-8e26-916bb78720f8.GIF) + +#### New PowerShell ISE theme + +We now include a new color theme that tries to provide a faithful interpretation +of the PowerShell ISE's style, including a blue console background! To use this +theme open the Command Palette (Ctrl+Shift+P), run the "Preferences: Color Theme" +command, then select "PowerShell ISE". + +![ISE theme](https://user-images.githubusercontent.com/79405/26988805-9769aea6-4d05-11e7-81fc-da79bf1ec3cb.png) + +This is a first attempt at making this happen so [give us feedback](https://git.io/v9jnL) +if you think that the colors can be improved! Super huge thanks to +[Matt McNabb](https://twitter.com/mcnabbmh) for putting this together! + +#### New cmdlets inside the Integrated Console + +Thanks to new PowerShell Editor Services co-maintainer [Patrick Meinecke](https://github.com/SeeminglyScience), +we've gained a new set of useful commands for interacting with the $psEditor APIs +within the Integrated Console: + +- [Find-Ast](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Find-Ast.md) +- [Get-Token](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Get-Token.md) +- [ConvertFrom-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertFrom-ScriptExtent.md) +- [ConvertTo-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/ConvertTo-ScriptExtent.md) +- [Set-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Set-ScriptExtent.md) +- [Join-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Join-ScriptExtent.md) +- [Test-ScriptExtent](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Test-ScriptExtent.md) +- [Import-EditorCommand](https://github.com/PowerShell/PowerShellEditorServices/blob/master/module/docs/Import-EditorCommand.md) + +This should also resolve the issues some people were seeing when we tried +to load the unsigned temporary script containing `Register-EditorCommand` +on machines with an AllSigned execution policy ([#784]([https://github.com/PowerShell/vscode-powershell/issues/784])). + +#### Fixes and improvements + +- [#827](https://github.com/PowerShell/vscode-powershell/issues/827) - + Fixed an issue where an Output panel will appear with an error when you close + the PowerShell Integrated Terminal + +## 1.2.1 +### Thursday, June 1, 2017 + +#### Fixes and improvements + +- [PowerShell/PowerShellEditorServices#478](https://github.com/PowerShell/PowerShellEditorServices/issues/478) - + Dynamic comment help snippets now generate parameter fields correctly + when `<#` is typed above a `param()` block. + +- [#808](https://github.com/PowerShell/vscode-powershell/issues/808) - + An extra `PS>` is no longer being written to the Integrated Console for + some users who have custom prompt functions. + +- [#813](https://github.com/PowerShell/vscode-powershell/issues/813) - + Finding references of symbols across the workspace now properly handles + inaccessible folders and file paths + +- [#810](https://github.com/PowerShell/vscode-powershell/issues/810) - + `$psEditor.GetEditorContext()` now doesn't throw exceptions when in an + untitled file + +- [#807](https://github.com/PowerShell/vscode-powershell/issues/807) - + The users's previously selected PowerShell session type is now retained + when running the "PowerShell: Restart Current Session" command. + +- [#821](https://github.com/PowerShell/vscode-powershell/issues/821) - + Note properties on PSObjects are now visible in the debugger's Variables + view + +## 1.2.0 +### Wednesday, May 31, 2017 + +#### Dynamic comment-based help snippets now work inside functions ([#763](https://github.com/PowerShell/vscode-powershell/issues/748)) + +You asked for it, you got it! Dynamic comment-based help snippets now work +inside function definitions, both above the `param()` block and at the end +of the function body: + +![Comment help GIF](https://cloud.githubusercontent.com/assets/79405/26637844/6e76cfa6-45d5-11e7-89b8-a2d6a559536b.GIF) + +*NOTE: There is an issue where parameter sections don't get generated inside of a function +with a `[CmdletBinding()]` attribute. This is being tracked at [PowerShell/PSScriptAnalyzer#768](https://github.com/PowerShell/PSScriptAnalyzer/issues/768).* + +#### Session menu now contains entries for PowerShell Core installations on Windows ([#794](https://github.com/PowerShell/vscode-powershell/issues/794)) + +It's now much easier to switch between Windows PowerShell and PowerShell Core installs +on Windows. When you run the "PowerShell: Show Session Menu" command or click the +PowerShell version indication in the status bar you'll now see PowerShell Core entries +in the menu: + +![Session menu](https://cloud.githubusercontent.com/assets/79405/26637984/d177f5f8-45d5-11e7-9def-705b3fa68953.png) + +#### Improved PSScriptAnalyzer marker display and suppression snippets ([#781](https://github.com/PowerShell/vscode-powershell/issues/781)) and ([#783](https://github.com/PowerShell/vscode-powershell/issues/783)) + +The green squiggle markers you receive from PSScriptAnalyzer now include the +name of the corresponding rule in their description: + +![Rule name](https://cloud.githubusercontent.com/assets/79405/26638073/15aaaaae-45d6-11e7-93a0-cf6d5397553e.png) + +This is really helpful with the new rule suppression snippets contributed by +[Jos Verlinde](https://github.com/Josverl)! You can access them by typing +`suppress-` and selecting one of the suppression snippet options: + +![Suppress rule](https://cloud.githubusercontent.com/assets/79405/26638390/d8c42164-45d6-11e7-8844-a34a314654a5.GIF) + +#### New built-in Pester problem matcher ([#798](https://github.com/PowerShell/vscode-powershell/issues/798)) + +We now include a built-in [problem matcher](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher) +for Pester test output so that you don't need to define one in your `tasks.json` +file any longer! You can reference the built-in problem matcher in your test +tasks by using the name `$pester`: + +```json + { + "taskName": "Test", + "suppressTaskName": true, + "isTestCommand": true, + "showOutput": "always", + "args": [ "Invoke-Pester -PesterOption @{IncludeVSCodeMarker=$true}" ], + "problemMatcher": "$pester" + } +``` + +*NOTE: There is an issue with problem matchers when using the new `2.0.0` +version of VS Code's task runner. Pester errors may show up multiple +times in the Problems panel. This issue is being tracked at +[#797](https://github.com/PowerShell/vscode-powershell/issues/797).* + +#### Other fixes and improvements + +- [#710](https://github.com/PowerShell/vscode-powershell/issues/710) - + Variable definitions can now be found across the workspace + +- [#771](https://github.com/PowerShell/vscode-powershell/issues/771) - + Improved dynamic comment help snippet performance in scripts with many functions + +- [#786](https://github.com/PowerShell/vscode-powershell/issues/786) - + Running the "Show Integrated Console" command will now start the extension + if it isn't already started + +- [#774](https://github.com/PowerShell/vscode-powershell/issues/774) - + Pressing Enter now causes custom prompt functions to be fully evaluated + +- [#770](https://github.com/PowerShell/vscode-powershell/issues/770) - + Fixed issue where custom prompt function might be written twice when + starting the integrated console + +- [#767](https://github.com/PowerShell/vscode-powershell/issues/767) - + Fixed placeholder navigation for many built-in snippets + +- [#782](https://github.com/PowerShell/vscode-powershell/issues/782) - + Fixed extension host crash when restarting the PowerShell session + +- [#737](https://github.com/PowerShell/vscode-powershell/issues/737) - + Fixed hangs and high CPU when restarting or switching between PowerShell sessions + +- [#777](https://github.com/PowerShell/vscode-powershell/issues/777) - + Changed "Starting PowerShell" message to clearly indicate that we're in the + PowerShell Integrated Console + +## 1.1.0 +### Thursday, May 18, 2017 + +#### New dynamic snippet for adding comment-based help ([#748](https://github.com/PowerShell/vscode-powershell/issues/748)) + +We've added a really cool new feature that enables you to create comment-based +help blocks with ease! When you've defined a function in a PowerShell script +file, you can now start typing a comment block above the function definition +and it will be completed for you: + +![Help Comment GIF](https://cloud.githubusercontent.com/assets/79405/26216440/f31a47c8-3bb8-11e7-9fbc-7e3fb596c0ea.GIF) + +This comment block works like a snippet, allowing you to tab through the fields +to quickly add documentation for the parts you care about. + +This is a first pass for this feature and we plan to do more with it in the future. +Please feel free to [file feature requests](https://git.io/v9jnL) for anything else +you'd like to see! + +#### Breakpoints hit in the Integrated Console now activate the debugger UI ([#619](https://github.com/PowerShell/vscode-powershell/issues/619)) + +In previous releases it was necessary to start the "PowerShell Interactive Session" +debugging configuration before you could run a command or script from the Integrated +Console and hit breakpoints in the editor UI. We've just removed this limitation! + +Now when you set a breakpoint using `Set-PSBreakpoint` and run a script or command in the +Integrated Console, the debugger UI now gets activated: + +![Debugger Activate GIF](https://cloud.githubusercontent.com/assets/79405/26217019/d17708f2-3bba-11e7-982f-4d481c2cf533.GIF) + +Note that breakpoints set in the Integrated Console [still do not show up](https://github.com/PowerShell/vscode-powershell/issues/660) +in the editor UI; this requires [changes to VS Code](https://github.com/Microsoft/vscode/issues/8642) +that we'll be contributing for their next feature release. + +#### Improved output when loading profile scripts ([#663](https://github.com/PowerShell/vscode-powershell/issues/663) and [#689](https://github.com/PowerShell/vscode-powershell/issues/689)) + +We now write the errors and Write-Output calls that occur while loading profile +scripts so that it's easier to diagnose issues with your profile scripts. This +fix will help us identify the things missing from the Integrated Console which +cause your profile scripts to fail (like the current lack of a [PrivateData object for setting console colors](https://github.com/PowerShell/vscode-powershell/issues/571)). + +Please feel free to [file issues](https://git.io/v9jnL) for anything that causes +your profile scripts to throw errors when they get loaded! + +#### Other fixes and improvements + +- [#751](https://github.com/PowerShell/vscode-powershell/issues/751) - + Removed keybinding for the "Find PowerShell Modules from the Gallery" command + because it conflicts with VS Code's default "Format Selection" keybinding. + +- [#739](https://github.com/PowerShell/vscode-powershell/issues/739) - + Fixed wording of PowerShell extension commands to have consistent capitalization. + Thanks to [@AndySchneiderDev](https://github.com/AndySchneiderDev) for the + contribution! + +## 1.0.0 +### Wednesday, May 10, 2017 + +We are excited to announce that we've reached version 1.0! For more information, +please see the [official announcement](https://blogs.msdn.microsoft.com/powershell/2017/05/10/announcing-powershell-for-visual-studio-code-1-0/) +on the PowerShell Team Blog. + +#### New script argument UI when debugging ([#705](https://github.com/PowerShell/vscode-powershell/issues/705)) + +You can now set PowerShell debugger configurations to prompt for arguments to be +passed to your script when it is executed. This is configured using the new +`${command:SpecifyScriptArgs}` configuration variable in `launch.json`: + +```json + { + "type": "PowerShell", + "request": "launch", + "name": "PowerShell Launch DebugTest.ps1 w/Args Prompt", + "script": "${workspaceRoot}/DebugTest.ps1", + "args": [ "${command:SpecifyScriptArgs}" ], + "cwd": "${file}" + } +``` + +When you launch this configuration you will see a UI popup asking for arguments: + + +![image](https://cloud.githubusercontent.com/assets/5177512/25560503/e60e9822-2d12-11e7-9837-29464d077082.png) + +You can type your arguments to the script as you would in PowerShell: + +``` +-Count 5 +``` + +In future executions of this configuration, you will be presented with the arguments +you typed the last time you ran it so that you can easily edit them and test variations! + +#### New hash table alignment formatting rule ([#672](https://github.com/PowerShell/vscode-powershell/issues/672)) + +We've added a new code formatting rule that automatically aligns the equal sign +in assignments of keys in hash tables or DSC configurations. It also works with +nested hash tables! Here's a simple example: + +**Before** + +```powershell +$formatTest = @{ + Apple = 4 + Tangerine = @{ + Orange = 2 + CornflowerBlue = 6 + } + Banana = 3 +} +``` + +**After** + +```powershell + +$formatTest = @{ + Apple = 4 + Tangerine = @{ + Orange = 2 + CornflowerBlue = 6 + } + Banana = 3 +} +``` + +This formatting rule is enabled by default but can be disabled with the following +setting: + +``` +"powershell.codeFormatting.alignPropertyValuePairs": false +``` + +#### Added basic module-wide function references support + +In the past, finding the references or definition of a function in `FileA.ps1` only +worked if `FileA.ps1` had an explicit dot-source invocation of `FileB.ps1`. We have +removed this limitation so that you can now find definitions and references of any +function across all the script files in your project folder! This is especially +useful if you write PowerShell modules where all of the source files are dot-sourced +inside of the .psm1 file. + +This new implementation is very basic and may give unexpected results, so please [file +an issue on GitHub](https://github.com/PowerShell/vscode-powershell/issues) if you get +a result you did not expect! + +#### Other integrated console and debugger improvements + +- Fixed [#698](https://github.com/PowerShell/vscode-powershell/issues/698) - + When debugging scripts in the integrated console, the cursor position should now + be stable after stepping through your code! Please let us know if you see any + other cases where this issue appears. + +- Fixed [#626](https://github.com/PowerShell/vscode-powershell/issues/626) - + Fixed an issue where debugging a script in one VS Code window would cause that script's + output to be written to a different VS Code window in the same process. + +- Fixed [#618](https://github.com/PowerShell/vscode-powershell/issues/618) - + Pressing enter on an empty command line in the Integrated Console no longer adds the + empty line to the command history. + +- Fixed [#617](https://github.com/PowerShell/vscode-powershell/issues/617) - + Stopping the debugger during a prompt for a mandatory script parameter no + longer crashes the language server. + +- Fixed [PowerShellEditorServices #428](https://github.com/PowerShell/PowerShellEditorServices/issues/428) - + Debugger no longer hangs when you stop debugging while an input or choice prompt is + active in the integrated console. + +## 0.12.2 +### Friday, April 7, 2017 + +- Fixed [#662](https://github.com/PowerShell/vscode-powershell/issues/662) - + Changed usage of `$env:PSMODULEPATH` to `$env:PSModulePath` to conform to + a recent change in PowerShell 6 ([PowerShell/PowerShell#3255](https://github.com/PowerShell/PowerShell/pull/3255)) + which makes the casing of `PSModulePath` consistent between Windows and + the *NIX platforms. + + **NOTE: This is a breaking change for PowerShell extension users on Linux and macOS** + + If you are using PowerShell 6.0.0-alpha.17 or lower you **will** need to upgrade + to 6.0.0-alpha.18. + +- Fixed [#645](https://github.com/PowerShell/vscode-powershell/issues/645) - + "Go to Definition" or "Find References" now work in untitled scripts without + crashing the session +- Fixed [#632](https://github.com/PowerShell/vscode-powershell/issues/632) - + Debugger no longer hangs when launched while PowerShell session is still + initializing +- Fixed [#655](https://github.com/PowerShell/vscode-powershell/issues/655) - + Fixed an issue with current working directory being set incorrectly when + debugging untitled script files +- Fixed [PowerShellEditorServices #430](https://github.com/PowerShell/PowerShellEditorServices/issues/430) - + Resolved occasional IntelliSense slowness by preventing the implicit loading + of the PowerShellGet and PackageManagement modules. This change will be reverted + once a bug in PackageManagement is fixed. +- Fixed [PowerShellEditorServices #427](https://github.com/PowerShell/PowerShellEditorServices/issues/427) - + Fixed an occasional crash when requesting editor IntelliSense while running + a script in the debugger +- Fixed [PowerShellEditorServices #416](https://github.com/PowerShell/PowerShellEditorServices/issues/416) - + Cleaned up errors that would appear in the `$Errors` variable from the use + of `Get-Command` and `Get-Help` in IntelliSense results + +## 0.12.1 +### Tuesday, April 4, 2017 + +- Fixed [#648](https://github.com/PowerShell/vscode-powershell/issues/648) - + Resolved an error when launching an untitled script file in a workspace + with no launch.json or in a window without a workspace path + +## 0.12.0 +### Tuesday, April 4, 2017 + +#### Debugging untitled files ([#555](https://github.com/PowerShell/vscode-powershell/issues/555)) + +You can now debug untitled files that are set to the PowerShell language mode. When you +create a new untitled file, use the "Change Language Mode" command (Ctrl+K M) +and choose "PowerShell" from the menu that appears. You can now press F5 to start +debugging the script file without saving it. + +In the upcoming 1.11.0 release of Visual Studio Code (or in the current VS Code Insiders +release), you can configure the new `files.defaultLanguage` setting to `powershell` in either +your User or Workspace settings to cause all untitled files to be created with the PowerShell +mode by default. This will allow you to create new PowerShell scripts and debug them +immediately without saving first! + +#### New right-click context menu for Run Selection ([#581](https://github.com/PowerShell/vscode-powershell/issues/581)) + +By user request, we've also added a new "Run Selection" item in the right-click context menu +for PowerShell script files: + +![image](https://cloud.githubusercontent.com/assets/79405/24670885/a18513fe-1924-11e7-91d3-dc14c6cbfad9.png) + +#### Debugging improvements + +- Fixed [#620](https://github.com/PowerShell/vscode-powershell/issues/620) - + PowerShell session now does not crash when a breakpoint is hit outside of + debug mode + +- Fixed [#614](https://github.com/PowerShell/vscode-powershell/issues/614) - + Auto variables are now populating correctly in the debugger. **NOTE**: There is + a known issue where all of a script's variables begin to show up in the + Auto list after running a script for the first time. This is caused by + a change in 0.11.0 where we now dot-source all debugged scripts. We will + provide an option for this behavior in the future. + +- Fixed [#641](https://github.com/PowerShell/vscode-powershell/issues/641) - + PowerShell script files with capitalized extensions (.PS1, .PSM1) can now + be launched in the debugger + +- Fixed [#616](https://github.com/PowerShell/vscode-powershell/issues/616) - + Debugger now shows column position indicators when debugging pipelines or + nested expressions: + + ![image](https://cloud.githubusercontent.com/assets/79405/24316990/2157480e-10b0-11e7-8a61-19fde63edfb7.png) + +#### Integrated console improvements + +- Fixed [PowerShell/PowerShellEditorServices#411](https://github.com/PowerShell/PowerShellEditorServices/issues/411) - + Commands run outside of the integrated console prompt now interrupt the prompt + correctly. This resolves a class of issues that appear when running commands + in the extension like "New Project from Plaster Template" or any `$psEditor` + commands added with the "Register-EditorCommand" function. Running any of + these commands will now cause the current input prompt to be cancelled so that + the command's output will be written correctly. + +#### Code formatting improvements + +- Fixed [#595](https://github.com/PowerShell/vscode-powershell/issues/595) - + High CPU usage when using formatOnType has now been resolve + +- Fixed [#559](https://github.com/PowerShell/vscode-powershell/issues/559) - + The `newLineAfterCloseBrace` behavior has been improved to respect common syntax + usages + +- Fixed[PowerShell/PowerShellEditorServices#380](https://github.com/PowerShell/PowerShellEditorServices/issues/380) - + The `whitespaceBeforeOpenBrace` behavior now leaves "magic" functions with the + correct formatting. For example: `(0 .. 10).foreach{$_}` now does not have a + whitespace inserted before the `{`. + +#### New Project with Plaster improvements + +- Fixed [#643](https://github.com/PowerShell/vscode-powershell/issues/643) - + Running Plaster using the New Project command now interrupts the command prompt + correctly + +- Fixed [#504](https://github.com/PowerShell/vscode-powershell/issues/504) - + Confirming default values in Plaster input prompts by pressing Enter now works + correctly + +#### Other fixes and improvements + +- Added [#639](https://github.com/PowerShell/vscode-powershell/pull/639) and + [#640](https://github.com/PowerShell/vscode-powershell/pull/640) - + Our configuration setting descriptions have been edited for superior clarity + thanks to [June Blender](https://github.com/juneb)! + +- Fixed [#611](https://github.com/PowerShell/vscode-powershell/pull/640) - + Example-* snippets are now displaying correctly in IntelliSense results + +- Added [#624](https://github.com/PowerShell/vscode-powershell/pull/624) - + When you update the PowerShell extension after this release, you will now see + version update indicators which offer to display the changelog in a preview + tab + +## 0.11.0 +### Wednesday, March 22, 2017 + +#### Remotely edited files can now be saved + +- Added [#583](https://github.com/PowerShell/vscode-powershell/issues/583) - + When you open files in a remote PowerShell session with the `psedit` command, + their updated contents are now saved back to the remote machine when you save + them in the editor. + +#### Integrated console improvements + +- Fixed [#533](https://github.com/PowerShell/vscode-powershell/issues/533) - + The backspace key now works in the integrated console on Linux and macOS. This + fix also resolves a few usability problems with the integrated console on all + supported OSes. + +- Fixed [542](https://github.com/PowerShell/vscode-powershell/issues/542) - + Get-Credential now hides keystrokes correctly on Linux and macOS. + +We also added some new settings ([#580](https://github.com/PowerShell/vscode-powershell/issues/580), +[#588](https://github.com/PowerShell/vscode-powershell/issues/588)) to allow fine-tuning +of the integrated console experience: + +- `powershell.startAutomatically` (default: `true`) - If true, causes PowerShell extension + features to start automatically when a PowerShell file is opened. If false, the user must + initiate startup using the 'PowerShell: Restart Current Session' command. IntelliSense, + code navigation, integrated console, code formatting, and other features will not be + enabled until the extension has been started. Most users will want to leave this + setting to `true`, though it was added to save CPU cycles if you often use new VS Code + instances to quickly view PowerShell files. + +- `powershell.integratedConsole.showOnStartup` (default: `true`) - If true, causes the + integrated console to be shown automatically when the PowerShell extension is initialized. + +- `powershell.integratedConsole.focusConsoleOnExecute` (default: `true`) - If `true`, + causes the integrated console to be focused when a script selection is run or a + script file is debugged. + +#### Interactive debugging improvements + +- Added [#540](https://github.com/PowerShell/vscode-powershell/issues/540) - + The scripts that you debug are now dot-sourced into the integrated console's + session, allowing you to experiment with the results of your last execution. + +- Added [#600](https://github.com/PowerShell/vscode-powershell/issues/600) - + Debugger commands like `stepInto`, `continue`, and `quit` are now available + in the integrated console while debugging a script. + +- Fixed [#596](https://github.com/PowerShell/vscode-powershell/issues/596) - + VS Code's Debug Console now warns the user when it is used while debugging + a script. All command evaluation now happens through the integrated console + so this message should help alleviate confusion. + +#### Other fixes and improvements + +- Fixed [#579](https://github.com/PowerShell/vscode-powershell/issues/579) - + Sorting of IntelliSense results is now consistent with the PowerShell ISE +- Fixed [#591](https://github.com/PowerShell/vscode-powershell/issues/591) - + "Editor commands" registered with the `Register-EditorCommand` function are + now sorted alphabetically by their `Name` field, causing commands to be grouped + based on their source module. +- Fixed [#575](https://github.com/PowerShell/vscode-powershell/issues/575) - + The interactive console no longer starts up with errors in the `$Error` variable. +- Fixed [#599](https://github.com/PowerShell/vscode-powershell/issues/599) - + The [SSASCMDLETS module](https://msdn.microsoft.com/en-us/library/hh213141.aspx?f=255&MSPPError=-2147217396) + from SQL Server Analytics Service should now load correctly in the integrated + console. + +## 0.10.1 +### Thursday, March 16, 2017 + +#### Fixes and improvements + +- Fixed [#566](https://github.com/PowerShell/vscode-powershell/issues/566) - + Enable editor IntelliSense while stopped at a breakpoint +- Fixed [#556](https://github.com/PowerShell/vscode-powershell/issues/556) - + Running and debugging scripts in the integrated console should not steal focus from the editor +- Fixed [#543](https://github.com/PowerShell/vscode-powershell/issues/543) - + Keyboard input using AltGr Ctrl+Alt modifiers does not work +- Fixed [#421](https://github.com/PowerShell/vscode-powershell/issues/421) - + Session startup should give a helpful error message if ConstrainedLanguage mode is turned on +- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401) - + Session startup should indicate if current PowerShell version is unsupported (PSv1 and v2) +- Fixed [#454](https://github.com/PowerShell/vscode-powershell/issues/454) - + ExecutionPolicy set via group policy or registry key should not cause language server to crash +- Fixed [#532](https://github.com/PowerShell/vscode-powershell/issues/532) - + DEVPATH environment variable not being set for interactive console session +- Fixed [PowerShellEditorServices #387](https://github.com/PowerShell/PowerShellEditorServices/issues/387) - + Write-(Warning, Verbose, Debug) are missing message prefixes and foreground colors +- Fixed [PowerShellEditorServices #382](https://github.com/PowerShell/PowerShellEditorServices/issues/382) - + PSHostUserInterface implementation should set SupportsVirtualTerminal to true + +## 0.10.0 +### Tuesday, March 14, 2017 + +#### New interactive console experience + +We are excited to provide you with the first release of our new interactive +console experience! When you open up a PowerShell script file, you will +be greeted with a new VS Code integrated terminal window called +"PowerShell Integrated Console" + +![integrated console screenshot](https://cloud.githubusercontent.com/assets/79405/23910661/b599f2ee-0897-11e7-9426-00af794c10b5.png) + +In this console you will have an experience that falls somewhere between +the PowerShell ISE and the PowerShell console host: + +- Tab completion of commands and their parameters +- Basic command history, accessed using the up/down arrow keys +- The `psedit` command opens existing files in an editor pane +- Pressing F8 in an editor pane runs the current line or selection in the console +- Native applications like `git` are fully supported +- Script debugging shares the same console session with the editor for + a true ISE-like debugging experience + +It even works with your fancy prompt function if configured in your +VS Code profile (`$HOME\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1`): + +![custom prompt screenshot](https://cloud.githubusercontent.com/assets/79405/23910654/b1bca66c-0897-11e7-81b1-70eff5b97c21.png) + +The integrated console is supported on PowerShell v3 through v6 and works +on Linux and macOS with PowerShell Core. By default you don't have to +configure which PowerShell to run, we will pick an appropriate default +based on your platform. If you'd like to choose a different install +of PowerShell you can always change the `powershell.developer.powerShellExePath` +setting. + +Keep in mind that this is the first release for this feature and there are +bound to be issues and missing functionality. Please feel free to file +GitHub issues for any bugs or feature requests! + +##### Known Issues and Limitations + +- [#535](https://github.com/PowerShell/vscode-powershell/issues/535) PSReadline + is currently **not** supported in the integrated console. We will enable this + in a future release. +- [#534](https://github.com/PowerShell/vscode-powershell/issues/534) Integrated console + prompt is not restarted when you stop the debugging of a local runspace in another + process. This will be addressed soon in a patch update. +- [#533](https://github.com/PowerShell/vscode-powershell/issues/533) Backspace key + does not work in the integrated console on Linux and macOS. The workaround for now + is to use Ctrl+H instead of the Backspace key. This will be addressed + soon in a patch update. +- [#536](https://github.com/PowerShell/vscode-powershell/issues/536) Integrated console + sometimes does not have a scrollbar at startup. The workaround is to resize the width + of the VS Code window slightly and the scrollbar will appear. This will be addressed + soon in a patch update. + +#### Get-Credential and PSCredential support + +Now that we have the integrated console, we have added support for the `Get-Credential` +cmdlet, `Read-Host -AsSecureString`, and any input prompt of type `SecureString` or `PSCredential`. +When you run any of these cmdlets you will be prompted inside the integrated console: + +![credential screenshot](https://cloud.githubusercontent.com/assets/79405/23910668/bac9019c-0897-11e7-80e2-eaf1b9e507f8.png) + +#### Code formatting improvements + +We now support VS Code's `editor.formatOnType` setting so that your code gets formatted +as you type! Formatting will be triggered when you press Enter or the closing curly +brace character `}`. + +Based on your feedback, we've also added new code formatting options, all of which +are turned on by default: + +- `powershell.codeFormatting.newLineAfterCloseBrace` - Causes a newline to be inserted + after a closing brace in multi-line expressions like if/else +- `powershell.codeFormatting.whitespaceBeforeOpenBrace` - Causes whitespace to be + inserted before an open brace like `Foreach-Object {` +- `powershell.codeFormatting.whitespaceBeforeOpenParen` - Causes whitespace to be + inserted before an open parentheses like `if (` +- `powershell.codeFormatting.whitespaceAroundOperator` - Causes whitespace to be + inserted around operators like `=` or `+` +- `powershell.codeFormatting.whitespaceAfterSeparator` - Causes whitespace to be + inserted around separator characters like `;` and `,` +- `powershell.codeFormatting.ignoreOneLineBlock` - Single-line expressions, like + small if/else statements, will not be expanded to multiple lines. + +We've also made many improvements to the performance and stability of the formatter. + +#### Debugging improvements + +We've added a new configuration for debugging your Pester tests. By default it +merely runs `Invoke-Pester` at the workspace path, but you can also edit the +configuation to add additional arguments to be passed through. + +We've also added support for column breakpoints. Now you can set a breakpoint +directly within a pipeline by placing your cursor at any column on a line and +running the `Debug: Column Breakpoint` command: + +![column breakpoint screenshot](https://cloud.githubusercontent.com/assets/79405/23910649/aaef70e4-0897-11e7-93b7-0d729969a1e2.png) + +For the latest PowerShell Core release ([6.0.0-alpha.17](https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-alpha.17)), +we have also added the ability to step into ScriptBlocks that are executed on another +machine using `Invoke-Command -Computer`. + +Set a breakpoint on an `Invoke-Command` line and then once it's hit: + +![Invoke-Command screenshot](https://cloud.githubusercontent.com/assets/79405/23911032/c01b8ff6-0898-11e7-89e3-02a31d419fc5.png) + +Press `F11` and you will step into the ScriptBlock. You can now continue to use +"step in" and trace the ScriptBlock's execution on the remote machine: + +![remote script listing screenshot](https://cloud.githubusercontent.com/assets/79405/23918844/ca86cf28-08b1-11e7-8014-c689cdcccf87.png) + +Note that you cannot currently set breakpoints in the script listing file as +this code is being executed without an actual script file on the remote machine. + +#### Other fixes and improvements + +- Fixed [#427](https://github.com/PowerShell/vscode-powershell/issues/427) - + The keybinding for "Expand Alias" command has been changed to Shift+Alt+E +- Fixed [#519](https://github.com/PowerShell/vscode-powershell/issues/519) - + Debugger hangs after continuing when watch expressions are set +- Fixed [#448](https://github.com/PowerShell/vscode-powershell/issues/448) - + Code formatter should keep indentation for multi-line pipelines +- Fixed [#518](https://github.com/PowerShell/vscode-powershell/issues/518) - + Code formatter fails when dollar-paren `$()` expressions are used +- Fixed [#447](https://github.com/PowerShell/vscode-powershell/issues/447) - + Code formatter crashes when run on untitled documents + +## 0.9.0 +### Thursday, January 19, 2017 + +#### New PowerShell code formatter + +We've added a formatter for PowerShell code which allows you to format an +entire file or a selection within a file. You can access this formatter by +running VS Code's `Format Document` and `Format Selection` commands inside +of a PowerShell file. + +You can configure code formatting with the following settings: + +- `powershell.codeFormatting.openBraceOnSameLine` - Places open brace on the + same line as its associated statement. Default is `true`. +- `powershell.codeFormatting.newLineAfterOpenBrace` - Ensures that a new line + occurs after an open brace (unless in a pipeline statement on the same line). + Default is `true` +- `editor.tabSize` - Specifies the indentation width for code blocks. This + is a VS Code setting but it is respected by the code formatter. +- `editor.formatOnSave` - If true, automatically formats when they are saved. + This is a VS Code setting and may also affect non-PowerShell files. + +Please note that this is only a first pass at PowerShell code formatting, it +may not format your code perfectly in all cases. If you run into any issues, +please [file an issue](https://github.com/PowerShell/vscode-powershell/issues/new) +and give us your feedback! + +#### Streamlined debugging experience - launch.json is now optional! + +**NOTE: This improvement depends on VS Code 1.9.0 which is due for release +early February!** However, you can try it out right now with the [VS Code Insiders](https://code.visualstudio.com/insiders) +release. + +Thanks to a new improvement in VS Code's debugging APIs, we are now able to +launch the PowerShell debugger on a script file without the need for a `launch.json` +file. You can even debug individual PowerShell scripts without opening a +workspace folder! Don't worry, you can still use a `launch.json` file to configure +specific debugging scenarios. + +We've also made debugger startup much more reliable. You will no longer see the +dreaded "Debug adapter terminated unexpectedly" message when you try to launch +the debugger while the language server is still starting up. + +#### Support for debugging remote and attached runspaces + +We now support remote PowerShell sessions via the [`Enter-PSSession`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pssession) +cmdlet. This cmdlet allows you to create a PowerShell session on another machine +so that you can run commands or debug scripts there. The full debugging +experience works with these remote sessions on PowerShell 4 and above, allowing +you to set breakpoints and see remote files be opened locally when those breakpoints +are hit. + +For PowerShell 5 and above, we also support attaching to local and remote PowerShell +host processes using the [`Enter-PSHostProcess`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.core/enter-pshostprocess) +and [`Debug-Runspace`](https://msdn.microsoft.com/en-us/powershell/reference/5.0/microsoft.powershell.utility/debug-runspace) +cmdlets. This allows you to jump into another process and then debug a script that +is already running in one of the runspaces in that process. The debugger will break +execution of the running script and then the associated script file will be opened +in the editor so that you can set breakpoints and step through its execution. + +We've also added a new `launch.json` configuration for debugging PowerShell host processes: + +![Process launch configuration screenshot](https://cloud.githubusercontent.com/assets/79405/22089468/391e8120-dda0-11e6-950c-64f81b364c35.png) + +When launched, the default "attach" configuration will prompt you with a list of +PowerShell host processes on the local machine so that you can easily select one +to be debugged: + +![Process selection UI screenshot](https://cloud.githubusercontent.com/assets/79405/22081037/c205e516-dd76-11e6-834a-66f4c38e181d.png) + +You can also edit the launch configuration to hardcode the launch parameters, even +setting a remote machine to connect to before attaching to the remote process: + +```json + { + "type": "PowerShell", + "request": "attach", + "name": "PowerShell Attach to Host Process", + "computerName": "my-remote-machine", + "processId": "12345", + "runspaceId": 1 + } +``` + +Please note that we currently do not yet support initiating remote sessions from Linux +or macOS. This will be supported in an upcoming release. + +#### Initial support for remote file opening using `psedit` + +Another nice improvement is that we now support the `psedit` command in remote and +attached sessions. This command allows you to open a file in a local or remote session +so that you can set breakpoints in it using the UI before launching it. For now these +remotely-opened files will not be saved back to the remote session when you edit and +save them. We plan to add this capability in the next feature update. + +#### New "interactive session" debugging mode + +You can now create a new launch configuration which drops you directly into the +debug console so that you can debug your scripts and modules however you wish. +You can call Set-PSBreakpoint to set any type of breakpoint and then invoke your +code through the console to see those breakpoints get hit. This mode can also be +useful for debugging remote sessions. + +![Interactive session config screenshot](https://cloud.githubusercontent.com/assets/79405/22089502/5e56b4c6-dda0-11e6-8a51-f24e29ce7988.png) + +Please note that this is NOT a replacement for a true interactive console experience. +We've added this debugging configuration to enable a few other debugging scenarios, like +debugging PowerShell modules, while we work on a true interactive console experience using +VS Code's Terminal interface. + +#### New document symbol support for PSD1 files + +We've extended our document symbol support to `.psd1` files to make it really easy to +navigate through them. When you have a `.psd1` file open, run the `Go to Symbol in File...` +command (Ctrl + Shift + O) and you'll see this popup: + +![psd1 symbol screenshot](https://cloud.githubusercontent.com/assets/79405/22094872/85c7d9a2-ddc5-11e6-9bee-5fc8c3dae097.png) + +You can type a symbol name or navigate using your arrow keys. Once you select one of the +symbol names, the editor pane will jump directly to that line. + +#### Other fixes and improvements + +- Added a new `Open Examples Folder` command to easily open the extension's + example script folder. +- Added a new setting `powershell.developer.powerShellExeIsWindowsDevBuild` + which, when true, indicates that the `powerShellExePath` points to a Windows + PowerShell development build. +- Fixed [#395](https://github.com/PowerShell/vscode-powershell/issues/395): + Quick Fix for PSAvoidUsingAliases rule replaces the entire command +- Fixed [#396](https://github.com/PowerShell/vscode-powershell/issues/396): + Extension commands loaded in PowerShell profile are not being registered +- Fixed [#391](https://github.com/PowerShell/vscode-powershell/issues/391): + DSC IntelliSense can cause the language server to crash +- Fixed [#400](https://github.com/PowerShell/vscode-powershell/issues/400): + Language server can crash when selecting PSScriptAnalyzer rules +- Fixed [#408](https://github.com/PowerShell/vscode-powershell/issues/408): + Quick fix requests meant for other extensions crash the language server +- Fixed [#401](https://github.com/PowerShell/vscode-powershell/issues/401): + Extension startup should indicate if the current PowerShell version is unsupported +- Fixed [#314](https://github.com/PowerShell/vscode-powershell/issues/314): + Errors/Warnings still show up in Problems window when file is closed +- Fixed [#388](https://github.com/PowerShell/vscode-powershell/issues/388): + Syntax errors are not reported when powershell.scriptAnalysis.enable is set to false + +## 0.8.0 +### Friday, December 16, 2016 + +#### Improved PowerShell session management + +It's now much easier to manage the active PowerShell session. We've added a +new item to the status bar to indicate the state of the session and the version +of PowerShell you're using: + +![Screenshot of status indicator](https://cloud.githubusercontent.com/assets/79405/21247551/fcf2777c-c2e4-11e6-9659-7349c35adbcd.png) + +When this status item is clicked, a new menu appears to give you some session +management options: + +![Screenshot of session menu](https://cloud.githubusercontent.com/assets/79405/21247555/009fa64c-c2e5-11e6-8171-76914d3366a0.png) + +You can restart the active session, switch between 32-bit and 64-bit PowerShell on +Windows or switch to another PowerShell process (like a 6.0 alpha build) that +you've configured with the `powershell.developer.powerShellExePath`. + +We've also improved the overall experience of loading and using the extension: + +- It will prompt to restart the PowerShell session if it crashes for any reason +- It will also prompt to restart the session if you change any relevant PowerShell + configuration setting like the aforementioned `powershell.developer.powerShellExePath`. +- You can easily access the logs of the current session by running the command + `Open PowerShell Extension Logs Folder`. + +#### Create new modules with Plaster + +In this release we've added integration with the [Plaster](https://github.com/PowerShell/Plaster) +module to provide a `Create New Project from Plaster Template` command. This command will +walk you through the experience of selecting a template and filling in all of +the project details: + +![Screenshot of Plaster template selection](https://cloud.githubusercontent.com/assets/79405/21247560/087b47a4-c2e5-11e6-86e7-ba3727b5e36d.png) + +![Screenshot of Plaster input](https://cloud.githubusercontent.com/assets/79405/21247562/0a79b130-c2e5-11e6-97e9-cfd672803f75.png) + +We include one basic project template by default and will add more in the very +near future. However, you won't need to update the PowerShell extension to get these +new templates, they will appear when you install an update to the Plaster module from +the [PowerShell Gallery](https://www.powershellgallery.com/). + +Check out [Plaster's documentation](https://github.com/PowerShell/Plaster/tree/master/docs/en-US) +for more details on how it can be used and how you can create your own templates. + +#### New "quick fix" actions for PSScriptAnalyzer rules + +The PowerShell extension now uses any "suggested corrections" which are returned with +a rule violation in your script file to provide a "quick fix" option for the affected +section of code. For example, when the `PSAvoidUsingCmdletAliases` rule finds the use +of a non-whitelisted alias, you will see a light bulb icon that gives the option to +change to the full name (right click or Ctrl+. on the marker): + +![Screenshot of PSScriptAnalyzer quick fix](https://cloud.githubusercontent.com/assets/79405/21247558/05887e86-c2e5-11e6-9c67-e4558a7e2dba.png) + +If you'd like to see more quick fixes for PowerShell code, head over to the +[PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) GitHub page and +get involved! + +#### Easily enable and disable PSScriptAnalyzer rules + +Another improvement related to PSScriptAnalyzer is the ability to change the active +PSScriptAnalyzer rules in the current editing session using a helpful selection menu: + +![Screenshot of PSScriptAnalyzer rule selection](https://cloud.githubusercontent.com/assets/79405/21247557/037888b6-c2e5-11e6-816f-6732e13cddb7.png) + +You can enable and disable active rules by running the `Select PSScriptAnalyzer Rules` +command. For now this only changes the active session but in a future release we will +modify your PSScriptAnalyzer settings file so that the changes are persisted to future +editing sessions. + +#### New "hit count" breakpoints in the debugger + +When debugging PowerShell scripts you can now set "hit count" breakpoints which +cause the debugger to stop only after the breakpoint has been encountered a specified +number of times. + +![Screenshot of a hit count breakpoint](https://cloud.githubusercontent.com/assets/79405/21247563/0c159202-c2e5-11e6-8c91-36791c4fa804.png) + +#### Other fixes and improvements + +- We now provide snippets for the `launch.json` configuration file which make it easier + to add new PowerShell debugging configurations for your project. +- In PowerShell `launch.json` configurations, the `program` parameter has now been + renamed to `script`. Configurations still using `program` will continue to work. +- Fixed #353: Cannot start PowerShell debugger on Windows when offline +- Fixed #217: PowerShell output window should be shown when F8 is pressed +- Fixed #292: Check for Homebrew's OpenSSL libraries correctly on macOS +- Fixed #384: PowerShell snippets broken in VS Code 1.8.0 + +## 0.7.2 +### Friday, September 2, 2016 + +- Fixed #243: Debug adapter process has terminated unexpectedly +- Fixed #264: Add check for OpenSSL on OS X before starting the language service +- Fixed #271: PSScriptAnalyzer settings path isn't being passed along +- Fixed #273: Debugger crashes after multiple runs +- Fixed #274: Extension crashes on Ctrl+Hover + +## 0.7.1 +### Tuesday, August 23, 2016 + +- "Auto" variable scope in debugger UI now expands by default +- Fixed #244: Extension fails to load if username contains spaces +- Fixed #246: Restore default PSScriptAnalyzer ruleset +- Fixed #248: Extension fails to load on Windows 7 with PowerShell v3 + +## 0.7.0 +### Thursday, August 18, 2016 + +#### Introducing support for Linux and macOS! + +This release marks the beginning of our support for Linux and macOS via +the new [cross-platform release of PowerShell](https://github.com/PowerShell/PowerShell). +You can find installation and usage instructions at the [PowerShell GitHub repository](https://github.com/PowerShell/PowerShell). + +## 0.6.2 +### Friday, August 12, 2016 + +- Fixed #231: In VS Code 1.4.0, IntelliSense has stopped working +- Fixed #193: Typing "n" breaks intellisense +- Fixed #187: Language server sometimes crashes then $ErrorActionPreference = "Stop" + +## 0.6.1 +### Monday, May 16, 2016 + +- Fixed #180: Profile loading should be enabled by default +- Fixed #183: Language server sometimes fails to initialize preventing IntelliSense, etc from working +- Fixed #182: Using 'Run Selection' on a line without a selection only runs to the cursor position +- Fixed #184: When running a script in the debugger, $host.Version reports wrong extension version + +## 0.6.0 +### Thursday, May 12, 2016 + +#### Added a new cross-editor extensibility model + +- We've added a new extensibility model which allows you to write PowerShell + code to add new functionality to Visual Studio Code and other editors with + a single API. If you've used `$psISE` in the PowerShell ISE, you'll feel + right at home with `$psEditor`. Check out the [documentation](https://powershell.github.io/PowerShellEditorServices/guide/extensions.html) + for more details! + +#### Support for user and system-wide profiles + +- We've now introduced the `$profile` variable which contains the expected + properties that you normally see in `powershell.exe` and `powershell_ise.exe`: + - `AllUsersAllHosts` + - `AllUsersCurrentHost` + - `CurrentUserAllHosts` + - `CurrentUserCurrentHost` +- In Visual Studio Code the profile name is `Microsoft.VSCode_profile.ps1`. +- `$host.Name` now returns "Visual Studio Code Host" and `$host.Version` returns + the version of the PowerShell extension that is being used. + +#### Other improvements + +- IntelliSense for static methods and properties now works correctly. If you + type `::` after a type such as `[System.Guid]` you will now get the correct + completion results. This also works if you press `Ctrl+Space` after the `::` + characters. +- `$env` variables now have IntelliSense complete correctly. +- Added support for new VSCode command `Debug: Start Without Debugging`. Shortcut + for this command is Ctrl+F5. +- Changed the keyboard shortcut for `PowerShell: Expand Alias` from Ctrl+F5 to Ctrl+Alt+e. +- Added support for specifying a PSScriptAnalyzer settings file by + providing a full path in your User Settings for the key `powershell.scriptAnalysis.settingsPath`. + You can also configure the same setting in your project's `.vscode\settings.json` + file to contain a workspace-relative path. If present, this workspace-level setting + overrides the one in your User Settings file. See the extension's `examples\.vscode\settings.json` + file for an example. +- The debug adapter now does not crash when you attempt to add breakpoints + for files that have been moved or don't exist. +- Fixed an issue preventing output from being written in the debugger if you + don't set a breakpoint before running a script. + +#### New configuration settings + +- `powershell.scriptAnalysis.settingsPath`: Specifies the path to a PowerShell Script Analyzer settings file. Use either an absolute path (to override the default settings for all projects) or use a path relative to your workspace. + +## 0.5.0 +### Thursday, March 10, 2016 + +#### Support for PowerShell v3 and v4 + +- Support for PowerShell v3 and v4 is now complete! Note that for this release, + Script Analyzer support has been disabled for PS v3 and v4 until we implement + a better strategy for integrating it as a module dependency + +#### Debugging improvements + +- Added support for command breakpoints. + + Hover over the Debug workspace's 'Breakpoints' list header and click the 'Add' + button then type a command name (like `Write-Output`) in the new text box that + appears in the list. + +- Added support for conditional breakpoints. + + Right click in the breakpoint margin to the left of the code editor and click + 'Add conditional breakpoint' then enter a PowerShell expression in the text box + that appears in the editor. + +#### Other improvements + +- Added a preview of a possible project template for PowerShell Gallery modules in + the `examples` folder. Includes a PSake build script with Pester test, clean, + build, and publish tasks. See the `examples\README.md` file for instructions. + Check it out and give your feedback on GitHub! +- `using 'module'` now resolves relative paths correctly, removing a syntax error that + previously appeared when relative paths were used +- Calling `Read-Host -AsSecureString` or `Get-Credential` from the console now shows an + appropriate "not supported" error message instead of crashing the language service. + Support for these commands will be added in a later release. + +#### New configuration settings + +- `powershell.useX86Host`: If true, causes the 32-bit language service to be used on 64-bit Windows. On 32-bit Windows this setting has no effect. + +## 0.4.1 +### Wednesday, February 17, 2016 + +- Updated PSScriptAnalyzer 1.4.0 for improved rule marker extents +- Added example Pester task for running tests in the examples folder +- Fixed #94: Scripts fail to launch in the debugger if the working directory path contains spaces + +## 0.4.0 +### Tuesday, February 9, 2016 + +#### Debugging improvements + +[@rkeithhill](https://github.com/rkeithhill) spent a lot of time polishing the script debugging experience for this release: + +- You can now pass arguments to scripts in the debugger with the `args` parameter in launch.json +- You can also run your script with the 32-bit debugger by changing the `type` parameter in launch.json to "PowerShell x86" (also thanks to [@adamdriscoll](https://github.com/adamdriscoll)!) +- The new default PowerShell debugger configuration now launches the active file in the editor +- You can also set the working directory where the script is run by setting the `cwd` parameter in launch.json to an absolute path. If you need a workspace relative path, use ${workspaceRoot} to create an absolute path e.g. `"${workspaceRoot}/modules/foo.psm1"`. + +We recommend deleting any existing `launch.json` file you're using so that a new one will +be generated with the new defaults. + +#### Console improvements + +- Improved PowerShell console output formatting and performance + - The console prompt is now displayed after a command is executed + - Command execution errors are now displayed correctly in more cases + - Console output now wraps at 120 characters instead of 80 characters + +- Added choice and input prompt support + - When executing code using the 'Run Selection' command, choice and input prompts appear as VS Code UI popups + - When executing code in the debugger, choice and input prompts appear in the Debug Console + +#### New commands + +- "Find/Install PowerShell modules from the gallery" (`Ctrl+K Ctrl+F`): Enables you to find and install modules from the PowerShell Gallery (thanks [@dfinke](https://github.com/dfinke)!) +- "Open current file in PowerShell ISE" (`Ctrl+Shift+i`): Opens the current file in the PowerShell ISE (thanks [@janegilring](https://github.com/janegilring)!) + +#### Editor improvements + +- Path auto-completion lists show just the current directory's contents instead of the full path (which had resulted in clipped text) +- Parameter auto-completion lists are now sorted in the same order as they are in PowerShell ISE where command-specific parameters preceed the common parameters +- Parameter auto-completion lists show the parameter type +- Command auto-completion lists show the resolved command for aliases and the path for executables +- Many improvements to the PowerShell snippets, more clearly separating functional and example snippets (all of the latter are prefixed with `ex-`) +- Added some additional example script files in the `examples` folder + +#### New configuration settings + +- `powershell.developer.editorServicesLogLevel`: configures the logging verbosity for PowerShell Editor Services. The default log level will now write less logs, improving overall performance + +## 0.3.1 +### Thursday, December 17, 2015 + +- Fix issue #49, Debug Console does not receive script output + +## 0.3.0 +### Tuesday, December 15, 2015 + +- Major improvements in variables retrieved from the debugging service: + - Global and script scope variables are now accessible + - New "Auto" scope which shows only the variables defined within the current scope + - Greatly improved representation of variable values, especially for dictionaries and + objects that implement the ToString() method +- Added new "Expand Alias" command which resolves command aliases used in a file or + selection and updates the source text with the resolved command names +- Reduced default Script Analyzer rules to a minimal list +- Fixed a wide array of completion text replacement bugs +- Improved extension upgrade experience + +## 0.2.0 +### Monday, November 23, 2015 + +- (Experimental) Added a new "Run selection" (F8) command which executes the current code selection and displays the output +- Added a new online help command! Press Ctrl+F1 to get help for the symbol under the cursor. +- Enabled PowerShell language features for untitled and in-memory (e.g. in Git diff viewer) PowerShell files +- Added `powershell.scriptAnalysis.enable` configuration variable to allow disabling script analysis for performance (issue #11) +- Fixed issue where user's custom PowerShell snippets did not show up +- Fixed high CPU usage when completing or hovering over an application path + +## 0.1.0 +### Wednesday, November 18, 2015 + +Initial release with the following features: + +- Syntax highlighting +- Code snippets +- IntelliSense for cmdlets and more +- Rule-based analysis provided by PowerShell Script Analyzer +- Go to Definition of cmdlets and variables +- Find References of cmdlets and variables +- Document and workspace symbol discovery +- Local script debugging and basic interactive console support From ed82a13702e09e425f00c8e8b27ef194ee270616 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Thu, 31 Oct 2019 13:45:29 -0700 Subject: [PATCH 4/5] Update versions --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 250eaa6423..2b1a34fd27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "powershell-preview", - "version": "2019.9.0", + "version": "2019.11.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8c57054b46..beae611d22 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "powershell-preview", "displayName": "PowerShell Preview", - "version": "2019.9.0", + "version": "2019.11.0", "preview": true, "publisher": "ms-vscode", "description": "(Preview) Develop PowerShell scripts in Visual Studio Code!", From 67fabb2db122eedcacaf946693b469d6f61b9e2a Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Thu, 31 Oct 2019 13:50:42 -0700 Subject: [PATCH 5/5] Forward date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 553a0c4095..e2cc8dbab2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # PowerShell Preview Extension Release History ## v2019.11.0 -### Thursday, October 31, 2019 +### Friday, November 1, 2019 ##### Special Note In this release of the preview extension,