I had assumed that the Windows PowerShell ISE is a take-it-as-it-is ISE (Integrated Scripting Environment) or IDE (Integrated Development Environment).
But a very helpful response (to a previous question I posted) …
… inspired me to ask if there is some way to add utilities to the Windows PowerShell ISE, such as, for example:
A toolbar item (or a keystroke) to comment or uncomment a block of lines;
To sort lines alphabetically;
To trim white space;
To create tools. For example, in another IDE (EditPadPro) I coded a “tool” that calls a script that makes a .rar archive copy of the current version of the PowerShell script on which I am working. I wish I could have the same tool available I am using the Windows PowerShell ISE.
Maybe the Windows PowerShell ISE is just a take-it-as-it-is ISE (Integrated Scripting Environment) or IDE (Integrated Development Environment), and no such embellishments can be made. But I thought that there’s no harm in asking.
There has been a software called ISESteroids, but since MSFT stoppped the development of the PowerShell_ISE I’d expect the AddOns - if they still exist - will disappear soon as well. Especially since the PowerShell_ISE is not able to work with PowerShell core out of the box.
There are numerous plugins for VSCode for alomst every thinkable purpose. I’d recommend to focus on that modern and actively developed IDE.
I have a paid license for IseSteroids. I don’t use ISE to write the bulk of my code - for that I either use Notepad++ or Visual Studio Code.
Where I do still use ISE and IseSteroids is when I plan on releasing a script to others I use its syntax checking to catch and ensure that parameters are called explicitly with the actual name of the parameter and not a shortening of it. I believe that a script that is given to others it should not contain any aliases and every parameter should be used explicitly and not use parameter position to properly parse and execute the command line.