r/PowerShell • u/AccomplishedMeet628 • Aug 29 '26
Question PowerShell 7 ISE - A real conversation
Hi Everyone,
I think I need to have a reset on the way I introduced myself and my goal.
I am new to reddit and pretty much the entire open source community. I am an old school COBOL developer from the early 80's. I also know Visual Basic (about 15 years) and C# (about 4). I work on mainframes and z/OS on distributed systems (Linux). I maintain distributed apps for clients and sometimes on the mainframe. Not so much the mainframe anymore.
I use PowerShell every day. My shop uses PowerShell every day. We have 1000's of scripts, all written in 5.x that are years old.
They are not complex scripts, we don't have an Admin running a server farm or anything like that. They are just scripts that we use to make our jobs easier. Scanning files for codepages, finding Dupes using Hashes, things like that. When we run them, we use the old PowerShell ISE. We are used to it. It's easy, it looks good and it makes changing and running the script a smooth effortless event. The only issue is, that our shop has been slowly making us move away from 5.x to 7.x. This has been going on for years. I'm not happy because I lose my clean, crisp, no headache comfortable ISE. Yes, I said comfortable. I like it. We all do (at my shop). I tried to use the PowerShell plugin for VS Code. I did not like it. I really did not. So about a year or so ago, I decided to code my own. My goal was simple. I wanted to make a Daily Driver ISE for PS 7. Yes, I am going to share it with my co-workers once its finished and yes, I can and have asked a few of them to help me test it. I have gotten some good feedback from them. Not quite what I needed though. We are a simple shop, we do not do anything overly complicated and my co-workers are less than impressed with what I have shown them so far. It was buggy and did not have the feel of the ISE GUI. I felt that maybe if I turned to the PowerShell community for help, I could improve things. Actually make an App that we could use daily and transition from 5.x to 7.x without a blink.
I still want that.
I should not have started out asking if anyone still used the old ISE. That was the wrong approach, I acknowledge that. I should have just told you all my goal and left it at that.
I'm not asking anyone to jump on my bandwagon. My goal is simple, make something of value to more than just myself.
All I'm asking is, can you help me make it better.
If this post crosses a line, that crossing was unintentional. Let me know and I will walk away.
Regards,
-Ron
3
u/lan-shark Sep 02 '26
What do you like about ISE that you haven't found in other tools? I've been writing PS since 2019 and I never liked ISE. But I'm also the guy who sometimes writes his PS scripts on Linux in Emacs, so I'm not really the target audience for it. So, what about do you prefer over other editors?
1
u/AccomplishedMeet628 Sep 10 '26
I have made considerable progress with the editor and the export funtions.
The editor now has extensive PowerShell centric enhancements:
Here is a sample of what I have so far.....
Core editor functions
Find / Replace
Editor transform functions
The editor command system includes or has been planned around these transformation groups:
And the save as or export functions so far are....
and inside the API publish.....
I am working on adding more PowerShell centric functionality. Z
I am starting to sound like a broken record, I know that. ;)
I could really use some testers.
1
u/Swimming_Office_1803 Sep 02 '26
Real question: what’s your issue with vs code? Loaded with just the PS extension it’s very straightforward.
There are also other tools like powershell studio or powershell plus available, why not pick one up and make it work for you?
It’s great you have a project, but if I was with your shop I’d always look into something under active development. If you leave tomorrow, who’s maintaining it?
1
u/StartAutomating Sep 03 '26
There's a few sets of problems with building a "modern" ISE, both quite complicated.
Problem Set #1 - Abandoned Incompatible APIs
The ISE was built atop what was, at the time, the "next gen" editor for Visual Studio. Problem is that Visual Studio went in a different direction, leaving ISE as the only product using these APIs. Bespoke Editor GUIs are far outside of the PowerShell team's wheelhouse, so continuing to update the old version would be too expensive. For Microsoft. That almost certainly means it's too expensive for any small team. To make matters worse, these UI components were never .NET Core compatible, and so they simply will not work within PowerShell Core. So you, I, or anyone else will not get ISE running in Core.
Problem Set #2 - Building a complete host is hard
The PowerShell Host API is fairly complicated and would have to be implemented from scratch for whatever new host you might want. To date, there is only one "complete" public host for PowerShell, and that's PowerShell itself. ISE had portions that were missing. Additionally, the host apis are not all you have to know about. You also have to build debugger integration, prompt support, tab expansion support, etc. It's a difficult target to hit that most people who have not worked directly on the PowerShell team in the early years would have trouble hitting. I might be able to make one, and a few MVPs might also be able to, but the vast majority of people (and LLMs) would not have the first clue how to start. For those few that could do this, it's generally not worth the time, due to Problem Set #3
Problem Set #3 - Stale innovation
Trying to create a "new" ISE is like trying to target making a video game from 16 years ago. Yeah, it might be possible, but it's unlikely to contain any actual innovation. It's a lot of grunt work for the "reward" of a stale experience that cannot do many things modern terminals can (i.e. Sixel support). If I ever make a new host, I will not be trying to remake the ISE, because that would significantly increase the effort required while simultaneously removing much of the reward to the community overall.
I, personally, would find it much more rewarding to make a newer host from top to bottom (just for PowerShell), and most likely much less effort.
You are welcome to spend your time however you see fit. As someone who has thought about this a lot of over the decades, and has been asked to remake ISE more than a few times, I'm merely offering my rationales for why I won't do exactly that.
The more interesting questions to ask are these:
What do you find "comfortable" about the ISE?
What would you want in a new host/editor?
0
u/GoD0nkeys Sep 02 '26
Walk away and move on. Wasting your time and efforts won't be appreciated by your coworkers. That being said, pay for a AI subscription like Claude Code or ChatGPT Codex. Build a good persona and skill.md file(very important). Prompt it thoroughly with any and every detail for that prompt. Either one will help you to your end goal. It will be a fun project for you and self satisfying as well.
1
u/Medium-Comfortable Sep 02 '26 edited Sep 02 '26
My perspective. Nice that you say this here and your goals might be worth looking into, for your shop and maybe a fringe group of people out there. My guess (!) is, that most others moved on.
ISE was, for me at least, always problematic, as sometimes things would work during a script run and not ISE or the other way around. Next to that, I’ll not rely on a third part tool that has no backing from a large Open Source community or a paid actor with contracts and guarantees. My scripts are stand alone or toolboxes and I can handle the situation just fine w/o a crotch. ISE was never anything I used much, and what for even?
As much as I appreciate the effort, I don’t see anything that draws me to it. And as a consultant, I couldn’t “sell” anything to a customer that’s not in a way reliably backed. Whatever solution is part of our project must be on very, very solid ground. Preferably backed by Microsoft, else we sell code that was written by us, not relying on a hobby product (no offense).
0
u/webprofusor Sep 02 '26
Fire up Claude code or GitHub copilot and ask it to build what you want, the experience of building and refining software that way is quite an eye opener. A bit like coding using a chisel.
You may well end up with the tool you imagine, or something better.
0
u/GoD0nkeys Sep 02 '26
My typo got my post taken down and now Im on warning with Reddit. Damn typing on a phone LOL. When you type "like" make sure you get the first letter correct 😜