Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I get intellisense in powershell?

Edit: Anyone coming to the question now. Please look at the dates. This is a very, very, old question from the first version of PowerShell. Everything is now different

Just starting out with PowerShell, I would love to have intellisense support for writing PowerShell scripts. Tab-completion works great so you would think it would exist somewhere, but the only thing I can find an article from 2007 - hardly up to date.

Is there an extension somewhere that gives you this ability?

How about an editor?

like image 775
George Mauer Avatar asked Sep 29 '09 20:09

George Mauer


People also ask

What's the purpose of IntelliSense in the PowerShell ISE?

Intellisense provides the following added benefits over tab completion: Automatic drop-down when options are available – better discoverability. A view of a dozen (or so) options at a glance – no need to remember the options. Icons to help identify the type of options available.

What is $_ called in PowerShell?

The “$_” is said to be the pipeline variable in PowerShell. The “$_” variable is an alias to PowerShell's automatic variable named “$PSItem“. It has multiple use cases such as filtering an item or referring to any specific object.

What does $_ do in PowerShell?

$_ in the PowerShell is the 'THIS' toke. It refers to the current item in the pipeline. It can be considered as the alias for the automatic variable $PSItem.


2 Answers

Try this -

http://powergui.org/index.jspa

This is a good editor with intellisense

like image 95
Fahad Avatar answered Sep 19 '22 03:09

Fahad


The Windows PowerShell ISE which is installed with later versions of PowerShell has got built-in intellisense.

Also Visual Studio Code with the PowerShell extension is another option

And ISE Steroids if you want to stay with ISE

But seems direction is VS Code, especially with Core

like image 25
SteveC Avatar answered Sep 23 '22 03:09

SteveC