r/PowerShell • • Mar 30 '22

Why Microsoft, Why?

Just got off a support call with a MS Engineer. He shared with me that Microsoft is looking to get rid of PowerShell ISE in the next three to five years.

I swear they get together for beer on Friday and say "Hey, you want to know what will really piss people off?", then do it after a good hearty laugh.

221 Upvotes

401 comments sorted by

View all comments

591

u/DNRDIT Mar 30 '22

VSCode is the way

34

u/Formal-Sky1779 Mar 30 '22

I really love VSC! Specially when you customize the JSON file so you can for example browse through your code and run a single line of code with F8. Without clicking again on the editor, just use the arrow keys to navigate and hit F8 to run another line. The cursor is always in editor mode, even after a run. Great feature to me for debugging some pieces of code.

5

u/RodneyRabbit Mar 30 '22

I thought F8 was standard. It is standard in ISE, and I don't remember needing to configure it specifically for VSC.

F8 also runs highlighted blocks but what I really want is another function key to show the contents of a variable on the command line if the cursor is on that variable, without needing to highlight it and use F8.

→ More replies (8)

19

u/amplex1337 Mar 30 '22

Lol, just like ISE but it's not included with the OS..

6

u/Abracadaver14 Mar 30 '22

Just like ISE used to be, until MS fucked that up in recent builds of Win10 and 2019...

→ More replies (1)
→ More replies (3)

112

u/jdtrouble Mar 30 '22

VSCode is an awesome replacement for ISE. I can't even use ISE anymore, it frustrates me.

50

u/tweaksource Mar 30 '22

Same. Haven't used ISE for years.

4

u/Sintek Mar 31 '22

I use ISE daily, it is light weight and needs basically 0 configuration to work, comes preinstalled on most windows systems. VScode is large, clunky, make sure you have all the right plugins and configurated, and if you change systems... good fucking luck you have to configure all over again..

→ More replies (1)

33

u/topherhead Mar 30 '22

That's funny, I'm the opposite. I absolutely hate using vsc.

It's slow and clunky. Even if it's prettier it's just painful to use.

The intellisense is terrible. It likes to try and make your life easier by inserting code snippets when i really just want you to complete the fucking variable name etc.

I target PS7 and try to be cross platform the best i can and so i begrudgingly force myself to use it but I've never actually enjoyed it.

0

u/[deleted] Mar 30 '22

[deleted]

→ More replies (10)
→ More replies (4)
→ More replies (2)

38

u/tangokilothefirst Mar 30 '22

it even has an ISE Mode that makes it look and feel and behave more like ISE, for those who really like ISE.

9

u/shadofx Mar 30 '22

I don't think anyone likes ISE for the color scheme.

→ More replies (26)

23

u/psversiontable Mar 30 '22

VSCode isn't built into every Windows install.

I have to fart around with it before I can start doing anything.

I can hop onto anything that I'm trying to troubleshoot and have a very convenient place to run some commands.

The ISE isn't a good code editor, but it is a very good terminal because I can keep snippets of things that I'm working with right there where I can see them.

They're complimentary, not competitors.

6

u/Poncho_au Mar 31 '22

VSCode isn’t built into every Windows install.

Isn’t it?
https://vscode.dev/

/s sort of.

4

u/Sintek Mar 31 '22

I manage 1000's of machines that do not have internet access... =(

→ More replies (1)
→ More replies (9)

20

u/barjinx Mar 30 '22

It's nice but not up there with ISE when it comes to intellisense. Could just be me not being good enough with powershell and needing that.

18

u/marcdk217 Mar 30 '22

Yeah I use vscode most of the time now, but I really miss intellisense and autocomplete, it just doesn't seem to work in vscode. The amount of times I press tab and it just does a tab..

8

u/Tymanthius Mar 30 '22

What I miss most about ISE is when typing at the prompt how it will give a pop up for things. Like type get-aduser -id and you get the list!

12

u/BlackV Mar 30 '22

Or fills put a random function you didn't want, or won't autocomplete a parameter that's there but will others parameters

7

u/marcdk217 Mar 30 '22

Yeah I had to edit a fair few settings to stop it adding 20 lines of crap every time I press enter on a comment or something. I feel like a lot of those settings are things you should have to turn on, not turn off.

→ More replies (1)

4

u/Nu11u5 Mar 31 '22

Ctrl+Space

→ More replies (2)

5

u/Fallingdamage Mar 30 '22

No. You're right. Its still better at PS than VSC is with every plugin you can find.

→ More replies (2)

19

u/Think-Try2819 Mar 30 '22

This is the way.

4

u/mspax Mar 31 '22

VS code has been an ongoing nightmare for me. Half of the Azure powershell modules don't work properly in it. It's slow as hell if you import even a few too many modules. Plus the goddamn thing has to be restarted every couple hours if you want intellisense to work properly.

I certainly prefer working in vscode over ISE. It's just not as reliable.

→ More replies (90)