PowerTab 0.9 for PowerShell and Invoke-Intellisense
Two days ago /\/\o\/\/ released PowerTab 0.9 (overview page). He’s got some very nice improvements, one of which was support for my GUI-based intellisense. I’d had a few bugs to fix, and I wanted to re-implement the entire thing as a proper cmdlet instead of a script-with-supporting-assembly (geez), so I went ahead and made my changes.
Click here to download the full source for my SnapIn including my Invoke-Intellisense cmdlet.
Click here if you just want the SnapIn dll itself.
To install this alongside PowerTab 0.9, you’ll have to install my LerchSnapIn snap-in, and add a command to your profile to add the snap-in each time you start a session. Copy Lerch.PowerShell.dll to a folder of your choice, and run the following 2 commands (snagged from here):
PS> set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil
PS> installutil Lerch.PowerShell.dll
Add the following to your profile:
Add-PSSnapIn LerchSnapIn
Finally, in the TabExpansion.ps1 file that installs with PowerTab, change the following lines (right at the top) from this:
#$AlternateHandler = ‘intellisense’
$AlternateHandler = ‘ConsoleList’
to this:
$AlternateHandler = ‘intellisense’
#$AlternateHandler = ‘ConsoleList’
You should be up and running. Feel free to post back here if you have any problems. Also, as always, I appreciate any and all feedback!
Cheers!
August 22nd, 2007 at 11:29 pm
@David - I haven’t kept up with MoW’s latest PowerTab versions (he’s a mad-man with how often he updates it!
).
When I get a chance I’ll download his latest and update the post appropriately.
Thanks!
August 22nd, 2007 at 11:29 pm
Hi!
The setup process does not seem to work with Powertab 0.92, as the “$AlternateHandler” does not seem to be used anymore…
Is “$TabExpansionAlternateHandler” the variable to set ? If so, i didn’t succeed in getting the thing working… I still have the non-graphical completion list…
Am I missing something ?
Thanks in advance for your help.
David
August 22nd, 2007 at 11:29 pm
Pete - email me at aaronlerch at gmail dot com and I’ll try to help you out.
August 22nd, 2007 at 11:29 pm
Aaron,
Have updated to powertab 0.9 and intellisense.
However I cannot get intellisense to work.
I have done all the steps correctly it seems (tried on Vista & XP SP2). ConsoleList works fine if I set to that.
Any ideas?
Pete Gomersall
August 22nd, 2007 at 11:29 pm
Thanks, glad you like it!
Although, after seeing screenshots of it lately, it’s sure looking bland. I’ll try to update the UI to something nicer in the near future.
August 22nd, 2007 at 11:29 pm
Aaron,
A very nice, slick looking snapin! Between this and Marc’s PowerTab, my PS shell has a much nicer feel to them
Some time ago I considered buying PrimalScript (I use VBS and PS), but I held off and now I see no reason to use a commercial solution anymore.
For that, THANKS
Cheers
Adam
http://www.leadfollowmove.com
July 9th, 2008 at 1:53 pm
Hi Aaron,
Any chance you’re thinking about making one for Graphical PowerShell ?, as I’m working on PowerTab for the CTP2 version of PowerShell I would be very interested in one
Greetings /\/\o\/\/