HomeWinBuzzer NewsMicrosoft's Visual Studio Code for PowerShell 7 Launches with ISE Mode Toggle

Microsoft’s Visual Studio Code for PowerShell 7 Launches with ISE Mode Toggle

Visual Studio Code for PowerShell 7 now makes it easier to switch to ISE Mode, while bringing better in-line editing capabilities.

-

has released a ‘major update' to the extension for , bringing, among other things, an ISE compatibility mode. The update builds on months of work and also improves performance and the editing experience.

Previously, the Code for Powershell 7 plugin did let users replicate the ISE experience of PowerShell 6 and lower, but it was a more complicated process. Now, users can just click on the PowerShell icon and type ‘Enable ISE Mode'.

The team has also made PSReadLine available for the extension. With it, you get access to features like syntax highlighting, multi-line editing, and back search. This addition has been highly requested, but the team says it required a lot of hard work to implement.

“Full PSReadLine support has long been at the top of our list for feature requests.
It has also been among our most difficult problems to solve because at its core it also required architectural changes in how the PowerShell extension manages threading and runspaces,” said Microsoft's Sydney Smith in a blog post“The additional challenge of trying to support both legacy versions of PowerShell and a range of platform distributions has caused this problem to continually be delayed.”

On top of all this, there have been significant improvements to performance and stability for the PowerShell editing experience. Due to constraints of the original extension, this required the team to re-architect it, also increasing the stability of the debugger and this logging would-be crashes.

You can find out how to get the PowerShell for Visual Studio Code extension on your platform in the official documentation and read the full changes on Microsoft's blog.

Last Updated on October 10, 2023 3:44 pm CEST by Markus Kasanmascheff

SourceMicrosoft
Ryan Maskell
Ryan Maskellhttps://ryanmaskell.co.uk
Ryan has had a passion for gaming and technology since early childhood. Fusing the skills from his Creative Writing and Publishing degree with profound technical knowledge, he enjoys covering news about Microsoft. As an avid writer, he is also working on his debut novel.

Recent News