Thread: Autocompletion?
View Single Post
Old 11-15-2006   #2 (permalink)
Adam Milazzo


 
 

Re: Autocompletion?

Alex Smirnoff wrote:
> Probably I'm missing something BIG. Here is the question: why autocompletion
> does not work out-of-the box? Just downloaded Powershell 1.0, installed,
> fired it up. Typed "d" and pressed TAB expecting it to cycle through the list
> of commands. Hovewer it cycles through directories. Can I make autocompletion
> in powershell more intelligent?
>
> Alex
>
> PS: Search for "autocompletion", "completion" in this
> newsgroup/documentation yelds no useful results.


Yes, you can.

You can override the TabExpansion function to do whatever you want. (By
the way, searching for "expansion" may yield more results.)

Other people already have, though... for instance see this blog post:
http://mow001.blogspot.com/2006/10/p...on-part-5.html
My System SpecsSystem Spec