I'm using Powershell ISE, Powershell 5.1, and the Az module. I've got a wonderful Intellisense auto-complete setup that I can't seem to replicate in other powershell environments, so I'm wondering what I need to add to get the same behaviour. My current Intellisense can auto-complete:

  1. Cmdlets based on my installed modules: If I type in "Connect-" it suggests "Connect-AzAccount"

  2. Cmdlet parameters, based on my installed modules: If I type in '-' after the Set-AzContext cmdlet, it lists all of that cmdlet's available parameters

  3. Parameter values, based on my Azure tenant and current context: After typing in the '-ResourceGroupName' parameter, it lists existing resource group names from my context's subscription

  4. Object properties Typing in '.' after the variable lists all the members and functions of the object within

All of these makes this environment ideal for development, but Powershell ISE is no longer being developed and can't support any Powershell version beyond 5.1. I want to get this same capability on a fresh install of Powershell 7.3 while working in Visual Studio Code. What do I need to make this happen?

Current powershell versions: Current PSVersion

I've tried installing other Intellisense packages on an install of Powershell 7.3, but they're all history-based, which isn't as useful as suggestions based on modules or Azure, and my few hours of searching for module-based or azure-based Intellisense autocomplete haven't yielded anything useful yet.

I want a better understanding of what libraries and tools are powering my Intellisense suggestions, so that I can replicate this excellent Intellisense setup elsewhere.

0

There are 0 answers