Show-PSEditor is a terminal based PowerShell script editor with IntelliSense, syntax highlighting, execution, formatting, syntax checking and error display. It's part of the PowerShell Pro Tools module and included in the April 2022 release.
You can install the module from the PowerShell Gallery. https://www.powershellgallery.com/pac...