{"id":19686,"date":"2022-08-30T12:17:09","date_gmt":"2022-08-30T20:17:09","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/powershell\/?p=19686"},"modified":"2022-08-30T15:00:41","modified_gmt":"2022-08-30T23:00:41","slug":"powershell-extension-for-visual-studio-code-august-2022-update","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/powershell-extension-for-visual-studio-code-august-2022-update\/","title":{"rendered":"PowerShell Extension for Visual Studio Code August 2022 Update"},"content":{"rendered":"<p dir=\"auto\">We are excited to announce that the August update to the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.PowerShell\" rel=\"nofollow\">PowerShell Extension for Visual Studio Code<\/a> is now available on the extension marketplace.<\/p>\n<p dir=\"auto\">This release adds a walkthrough experience for getting started with PowerShell in VS Code, more regression tests, a major LSP client library update, and includes a number of bug fixes!<\/p>\n<h2 dir=\"auto\"><a id=\"user-content-updates-in-the-august-release\" class=\"anchor\" href=\"https:\/\/github.com\/powershell\/powershell-blog#updates-in-the-august-release\" aria-hidden=\"true\"><\/a>Updates in the August Release<\/h2>\n<p dir=\"auto\">Note that these updates all shipped in our <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.PowerShell-Preview\" rel=\"nofollow\">PowerShell Preview Extension<\/a> for VS Code before shipping in our stable channel.<\/p>\n<p dir=\"auto\">Some highlights of August releases:<\/p>\n<ul dir=\"auto\">\n<li>\u2728 \ud83d\udd27 <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4152\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4152\/hovercard\">vscode-powershell #4151<\/a> Add <code>integratedConsole.startInBackground<\/code> to completely hide the terminal.<\/li>\n<li>\u2728 \ud83d\udcd6 <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4147\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4147\/hovercard\">vscode-powershell #4080<\/a> Create a walkthrough experience for PowerShell. (Thanks @S-Hakim!)<\/li>\n<li>#\ufe0f\u20e3 \ud83d\ude82\ud83d\ude4f <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4141\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4141\/hovercard\">vscode-powershell #4141<\/a> Improve language client library close action message.<\/li>\n<li>\u2728 \ud83d\udc22 <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1899\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1899\/hovercard\">PowerShellEditorServices #1892<\/a> Add symbols for Pester setup and teardown blocks. (Thanks @fflaten!)<\/li>\n<li>\u2728 \ud83d\udc22 <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1893\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1893\/hovercard\">PowerShellEditorServices #1891<\/a> Fix whitespace in Pester symbol and add test. (Thanks @fflaten!)<\/li>\n<li>\ud83d\udc1b \ud83d\ude4f <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1890\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1890\/hovercard\">PowerShellEditorServices #1887<\/a> Fix symbol highlight when hovering function name. (Thanks @fflaten!)<\/li>\n<li>\ud83d\udc1b \ud83d\udd0d <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1898\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1898\/hovercard\">PowerShellEditorServices #1897<\/a> &#8211; Add artificial stack frame to represent contexts without one.<\/li>\n<li>\ud83d\udc1b \ud83d\udd0d <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1894\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1894\/hovercard\">PowerShellEditorServices #1894<\/a> &#8211; Fix stepping while watch expressions or interactive pipeline is running.<\/li>\n<li>\ud83d\udc1b \ud83d\udeeb <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4131\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4131\/hovercard\">vscode-powershell #4128<\/a> &#8211; Update <code>vscode-languageclient<\/code> and refactor (a lot of TLC).<\/li>\n<li>\u2728 \ud83d\udcfa <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4125\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4125\/hovercard\">vscode-powershell #3266<\/a> &#8211; Fix debugger to start language client when necessary.<\/li>\n<li>\ud83d\udc1b \u2702\ufe0f <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4120\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4120\/hovercard\">vscode-powershell #4120<\/a> Remove extraneous <code>)<\/code> from the do-while snippet. (Thanks @ncook-hxgn!)<\/li>\n<li>\u2728 \ud83d\udea8 <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1874\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1874\/hovercard\">PowerShellEditorServices #1874<\/a> Add end-to-end integration test with Vim.<\/li>\n<li>\ud83d\udc1b \u200d\ud83d\udd75\ufe0f <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1873\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1873\/hovercard\">vscode-powershell #4112<\/a> Fix (and test) regression with PSScriptAnalyzer default rules.<\/li>\n<li>\u2728 \ud83d\udea8 <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1872\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1872\/hovercard\">PowerShellEditorServices #1872<\/a> Add regression tests for parse error DiagnosticMarkers. (Thanks @fflaten!)<\/li>\n<li>\ud83d\udc1b \u200d\ud83d\udd75\ufe0f <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1869\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1869\/hovercard\">PowerShellEditorServices #1869<\/a> &#8211; Fix duplicate DiagnosticMarkers when reopening a file. (Thanks @fflaten!)<\/li>\n<li>\u2728 \ud83d\udcfa <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4105\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4105\/hovercard\">vscode-powershell #4100<\/a> Remove popup when extension updates.<\/li>\n<li>\u2728 \ud83d\udea8 <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1867\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1867\/hovercard\">PowerShellEditorServices #1867<\/a> &#8211; Add regression test for when <code>prompt<\/code> is undefined.<\/li>\n<li>\ud83d\udc1b \ud83d\udeeb <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\/pull\/1866\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/PowerShellEditorServices\/pull\/1866\/hovercard\">vscode-powershell #4073<\/a> &#8211; Fix bug where error in <code>prompt<\/code> function crashed REPL.<\/li>\n<\/ul>\n<p dir=\"auto\">For the full list of changes please refer to our <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/blob\/main\/CHANGELOG.md\">changelog<\/a>.<\/p>\n<h2 dir=\"auto\"><a id=\"user-content-getting-started-walkthrough\" class=\"anchor\" href=\"https:\/\/github.com\/powershell\/powershell-blog#getting-started-walkthrough\" aria-hidden=\"true\"><\/a>Getting Started Walkthrough<\/h2>\n<p dir=\"auto\">As a part of this release we have introduced a getting started experience for PowerShell in VS Code. This experience was designed through a series of customer surveys and interviews conducted by our summer intern. The walkthrough can be accessed on the Getting Started page in VS Code, or through the command pallette.<\/p>\n<p dir=\"auto\"><a href=\"https:\/\/user-images.githubusercontent.com\/43417619\/186968273-0c68f265-f497-46b3-b7a9-4778ba0e09d7.png\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/43417619\/186968273-0c68f265-f497-46b3-b7a9-4778ba0e09d7.png\" alt=\"image\" \/><\/a><\/p>\n<p dir=\"auto\">We look forward to getting more feedback on this walkthrough and learning how we can improve it.<\/p>\n<h2 dir=\"auto\"><a id=\"user-content-lsp-client-library-update\" class=\"anchor\" href=\"https:\/\/github.com\/powershell\/powershell-blog#lsp-client-library-update\" aria-hidden=\"true\"><\/a>LSP Client Library Update<\/h2>\n<p dir=\"auto\">This release also includes a major update to our LSP client library dependency, <a href=\"https:\/\/www.npmjs.com\/package\/vscode-languageclient\" rel=\"nofollow\">vscode-languageclient<\/a>. The extension uses this library to start, connect, and communicate with the LSP server, <a href=\"https:\/\/github.com\/PowerShell\/PowerShellEditorServices\">PowerShell Editor Services<\/a>.<\/p>\n<p dir=\"auto\">By incorporating this update in <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/pull\/4131\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"\/PowerShell\/vscode-powershell\/pull\/4131\/hovercard\">vscode-powershell #4128<\/a> we were able to prevent a number of race conditions that could be encountered during startup, as the latest version of this library allows us to register our notification and request handlers <em>before<\/em> starting the server. The lifecycle management code was also given some much needed attention, and so startup and shut-down is now a more stable experience.<\/p>\n<p dir=\"auto\">Please note that due to an upstream change, there is now a second notification when the server is stopped. We are working with the upstream team to de-duplicate this popup, and are also contemplating enabling a configurable auto-restart of the server.<\/p>\n<h2 dir=\"auto\"><a id=\"user-content-getting-support-and-giving-feedback\" class=\"anchor\" href=\"https:\/\/github.com\/powershell\/powershell-blog#getting-support-and-giving-feedback\" aria-hidden=\"true\"><\/a>Getting Support and Giving Feedback<\/h2>\n<p dir=\"auto\">While we hope the new implementation provides a much better user experience, there are bound to be issues. Please let us know if you run into anything.<\/p>\n<p dir=\"auto\">If you encounter any issues with the PowerShell Extension in Visual Studio Code or have feature requests, the best place to get support is through our <a href=\"https:\/\/github.com\/PowerShell\/vscode-powershell\/issues\/new\/choose\">GitHub repository<\/a>.<\/p>\n<p dir=\"auto\">Sydney Smith and Andy Jordan PowerShell Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are excited to announce that the August update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release adds a walkthrough experience for getting started with PowerShell in VS Code, more regression tests, a major LSP client library update, and includes a number of bug fixes! Updates [&hellip;]<\/p>\n","protected":false},"author":2299,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[3175],"class_list":["post-19686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>We are excited to announce that the August update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release adds a walkthrough experience for getting started with PowerShell in VS Code, more regression tests, a major LSP client library update, and includes a number of bug fixes! Updates [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/19686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/2299"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=19686"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/19686\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=19686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=19686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=19686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}