powershellvisual-studio-codepowershell-ise

How to enable IntelliSense Powershell Cmdlet/Parameter Suggestions DropDown Menu in VSCode Terminal like in ISE Terminal using CTRL+Space?


I am struggling to migrate working from Powershell ISE to VS Code for PowerShell programming.

The biggest issue so far is to get ISE-like experience. People writing on the internet about VS Code setting "Toggle ISE mode" are wrong.

Because it only styles Window GUI and location in VS Code to look like ISE. I don't want to have just tab suggestion list when I type beginning of the PowerShell cmdlet name. Because it is useless.

I don't see a point in the list of 30 suggestions when I type:

Get-Win... 

and press Ctrl+Space, because I cannot select any of them to complete my typing. It basically tells you have to press TAB 30 times to get desired cmdlet name or continue writing cmdlet name to make it more specific.

I am missing essential ISE functionality in VS Code, which is very useful. I include a screenshot so show exactly what I mean.

Please help me to find and enable this option in VS Code as I still can't migrate to VS Code because it doesn't work.

enter image description here


Solution

  • Preface:


    tl;dr


    Background information:

    In a PowerShell terminal (console), including VSCode's integrated terminal, being offered completion predictions (suggestions) automatically, as you type, is provided by the built-in PSReadLine module's predictive IntelliSense feature (which I'll just call prediction feature below):