Thanks to your feedback, we identified three issues with the automatic script fixing in ISESteroids. Fortunately, the entire script fixing feature is fully configurable, so below you find a download with an improved set of fixer scripts.
Simply extract and copy the folders into the “Fixer” subfolder inside your ISESteroids folder – done.
Tim Pringle reported yesterday that fixing hash tables can cause errors when the hash table is located in a pipeline, and the pipeline continues after the hash table. The problem was that the fixer inserted a line break after the hash table, effectively breaking the pipeline. Fixed.
Jason Shirk reported today that fixing positional parameters with New-Object would pick the wrong parameter set. We did not take into account parameters with target type “object”. Fixed.
Bartek Bielawski reported a good week ago that the positional parameter fixer would introduce extra spaces. We fixed that while at it, too.
Bratt reported today that splatted variables were incorrectly turned into regular variables by the “normalize variable name” fixer. This one has now been fixed as well, and we updated the download to v1.2.
…and a Quick Solution!
Rather than publishing a new release of ISESteroids, we just fixed the fixer scripts. You can download them below. Simply extract the ZIP archive and copy the subfolders to the “Fixer” subfolder inside your ISESteroids folder. That does it.
While at it, this may encourage you to actually have a look at the fixer scripts. They are there for you, and you can read them, debug them, investigate them, and even add your own. Admittedly, this entire system is not yet documented well. You will get documentation, promised.