I’ve mentioned before that although there are several free PowerShell development environments, I always seem to come back to using the ISE. With each release, the ISE becomes more stable and functional. With the other tools, I always seem to bump up against bugs that keep me from enjoying the many features they provide.
I was excited when I heard that Tobias Weltner was in the process of releasing a new version of his ISESteroids product. The 1.0 product had a number of useful features, but the 2.0 version (which is still in beta) is crammed so full of features that it’s hard to comprehend. And best of all, it feels like a natural extension of the ISE, so I don’t have to relearn anything.
The trial package can be downloaded from here. It comes pacakaged as a zip file, and the download page has clear instructions on how to unblock the file and get it extracted to the appropriate place on your hard drive. Once it’s there, you start ISESteroids by simply importing the module:
The first thing you will notice is that the toolbar just got fancy. Here’s the initial toolbar:
Clicking the down-arrow on the left brings up another toolbar:
Clicking the settings button (the gear) brings up a drop-down panel:
At the bottom of the screen, you will see that the status bar is no longer so bare (it usually only has the line/col and zoom slider):
The menus are similarly enhanced. I’ll just show you the file menu to give you some idea of the kinds of changes:
Opening profile scripts (including both console and ISE as well as allhosts) and printing are two huge pluses!
Looking through the new toolbar buttons and the menus (almost all of which have new entries), I was like a kid in a candy store. Here are some of the highlights:
- Built-in versioning and comparing (using a zip file that sits next to your script)
- A variable watch window (one of the main reasons I occasionally stray from the ISE)
- Code refactoring
- Code risk analysis
- Code signing (and cert generation)
- A Navigation bar (search for strings or functions)
- A Pop-out console (super handy on multiple monitors
- Run code in a new console (or 2.0, or 32-bit) from a button
- Show whitespace
This is barely scratching the surface. In the few days that I’ve used ISESteroids, the main thing that I have noticed is that it is not in my way. Even with gadgets turned on and all of it updating in realtime, I don’t notice a lag or any kind of performance hit. The features feel like they were built in to the ISE. The product is still a beta, so some of the features aren’t connected or don’t have documentation, but even with these shortcomings the experience is still something that is hard to imagine.
Opening a script, you immediately see feedback about problems (squiggle underlining), and references (small text just above function declaration). I’ve zoomed in on this function definition so you can see the “3 references”
Clicking on the “3 references” brings up a “pinnable” reference window:
If you place the cursor on one of the underlined sections, you get instructions in the status bar about what the problem is and have an opportunity to fix it there or everywhere in your script:
The “variable monitor addon” (usually called a watch window) is one of the reasons that I occasionally stray to one of the other editors. No need to do that now!
It’s not so obvious in the screenshot, but there’s a button in the left side just under the title (Variables) which clears all user-defined variables. I’ve wanted something like that for debugging a number of times. Clearing variables between troubleshooting runs can really help out.
One other “random” thing that I just found is accessed by right-clicking on the filename in the editor. In the “stock” ISE, you don’t get any menu at all. Look at all of the options now:
I haven’t come close to showing all of the features that are included. In fact, while preparing for this post I took over 70 screenshots of different features in action. I’ll take pity on you and not go through every one of them individually . Rest assured that you’ll find ISESteroids to be amazingly helpful right out of the box (so to speak) and be delighted often as you continue to encounter new features. The features seem to be well thought out and are implemented very smoothly.
Since this is a beta product it’s not all sunshine and roses. I did encounter one ISE crash which I think was related to ISESteroids, and a few of the features didn’t work or didn’t match the documentation. That didn’t stop me from showing everyone around me how cool it was. They were all suitably impressed.
I heartily recommend ISESteroids for every PowerShell scripter. The ISE with ISESteroids feels like a Version 10.0 product instead of a 2.0 product. It can be downloaded from the PowerTheShell site. A trial version is available or licenses can be purchased.
My hat is off to Tobias Weltner, who has now been featured twice in my blog (here is the previous instance). Both times I have been very happy to see what he is providing and I can’t wait to see what he has coming up next.