Add to Technorati Favorites
Welcome to ThePowerShellGuy.com Sign in | Join | Help

PowerTab 0.95 RC1 beta public

PowerTab 0.95 RC1 beta public is posted ( *update* PowerTab 0.96  beta 3 now), I still expect to find some minor bugs in some rare expansion conditions but this version should be usable for day to day usage, also filesystem expansion in consolelist can be enabled and disabled, you can even disable all PowerTab additions using $powerTabconfig now 

As you have seen from the examples in the PowerTab 0.95 teaser  we have real border and theme support now.

From UsingThemes.txt :

You can now import and export colorthemes into PowerTab 0.95

this works like this :

# Export Example

$PowerTabConfig.Colors.ExportTheme() | Export-Csv -noType C:\PowerShell\PowerTab\ThemeGreen.csv

# Import Example

$theme = Import-Csv C:\PowerShell\PowerTab\ThemeGreen.csv
$PowerTabConfig.Colors.ImportTheme($theme)

so if you use PowerTab in different settings you can easy change you Color Sheme by importing a Thema.
(border might belong here also, might rename colors to theme in $powerTabconfig and move it )

I included the following example Thema's in CSV format

ThemeDragon.csv
ThemeGray.csv
ThemeGreen.csv
ThemeOriginal.csv
ThemeSimpleWhite.csv
ThemeSpace.csv (by BS on PoSH Shown in example below )

If you think you created some nice themes please share, of course you can also adapt them by using $powertabconfig 

And we have a lot more options to configure PowerTab the way you like :

pt13_1  

All this configuration is stored in the Tabcompletion database, only configuration changes are NOT saved for next sessions, to do this you have to execute :

Export-TabExpansionDataBase

the same as with changes to the database.

Also the expansion configuring of the Alias completion is now more clear :

AliasQuickExpand       : True

ls[tab] will work

AliasQuickExpand       : False

ls@[tab] needed

More information about this new version will follow in later posts , but as I have not much time at the moment I will provide access to the RC1 beta now.

Especially the addition of Filesystem expansion needed lots of changes in parsing logic, so if you find bugs in it please let me know

Here you can find the new PowerTab 0.96  beta 3 (version on this page can be updated without notice )

Enjoy, 

Greetings /\/\o\/\/

Published Thursday, July 19, 2007 4:48 PM by MoW

Comments

# The PowerShell Guy : PowerTab

Thursday, July 19, 2007 5:38 PM by The PowerShell Guy : PowerTab

# re: PowerTab 0.95 RC1 beta public

Awesome update!  I love the file system completion!

The only thing I've noticed thus far:

Tab Completion window leaves left & right horizontal lines upon disappearing (in my console window anyway...)

Something I have always meant to ask:

Is it possible to have the tab completion work in side of parens/braces/etc? For example:

PS # ii[tab] -> PS # Invoke-Item

PS # (ii[tab] -> PS # (ii

Anyway, thanks for all the hard work on this incredible plugin!

Friday, July 20, 2007 11:15 AM by Clint

# re: PowerTab 0.95 RC1 beta public

that's really incredible...an amazing day2day tools for PowerShell funs...

Friday, July 20, 2007 9:23 PM by Edengundam

# re: PowerTab 0.95 RC1 beta public

@ Clint, do you have cleartype enabled ?

Greetings /\/\o\/\/

Sunday, July 22, 2007 5:53 PM by MoW

# re: PowerTab 0.95 RC1 beta public

@clint : use a space behind the (

also

(ls).[tab]

(ls | select-string "get" ).[tab]

greetings /\/\o\/\/

Sunday, July 22, 2007 7:05 PM by MoW

# re: PowerTab 0.95 RC1 beta public

I do have cleartype enabled.  Also, I just realized I wrote horizontal lines, I meant *vertical* lines where the left & right sides of the menu border are.

Monday, July 23, 2007 10:47 AM by Clint

# re: PowerTab 0.95 RC1 beta public

Clint, I think this is a "feature" of cleartype

Greetings /\/\o\/\/

Tuesday, July 24, 2007 9:30 AM by MoW

# The PowerShell Guy : PowerTab 0.95 teaser

Thursday, July 26, 2007 6:28 PM by The PowerShell Guy : PowerTab 0.95 teaser

# Using PowerShell TabExpansion for PromptNesting

I've been thinking about extending PowerShell to solve some of the dilemmas i've encountered while...

Wednesday, August 01, 2007 8:32 PM by Björn Österman's Infrastructural Programming?

# Using PowerTab for NestedPrompt

In my last post I wrote about using TabExpansion for entering a NestedPrompt. /\/\o\/\/, who's...

Friday, August 03, 2007 6:47 PM by Björn Österman's Infrastructural Programming?

# re: PowerTab 0.95 RC1 beta public

I quite like the file system completion functionality, though the Bash guys at work.. don't seem trust it for some reason :-)

FEATURE REQUEST.

In the case where my dir structure is

app.sln

app2.sln

I'd normally hit tab twice i.e a[TAB][TAB] simpley cos I _know_ thats whats in there... But when this happens I feel my eyes drawn to the Menu that appears... and I feel that this slows me down. ( cos you know I'm an uber geek at heart)

Is it possible to Display Menu AND print out the file that is being matched on the command line?

This way I don't have to take my eyes off a single point on the screen, unless I really want to search for something.

Though, I imagine problems with wrapping "long command line"/"file names".

But it's something that'd speed me up at least.

Cheers,

Rob Lancaster

Thursday, August 09, 2007 4:00 PM by Rob Lancaster

# re: PowerTab 0.95 RC1 beta public

Rob,

I'm with you, that is also why I implemented TAB and shift-Tab also in to list so I get hte point

Only it might be possible, but at the moment the current typed characters are show, this was hard to implement already

so I think this would take some difficult tricks to clear the screen again, also I think scrolling with arrow would be slown down more, and I think it is at the limit for speed allready for big lists.

I might look into it once, but can't put it to high,

try not to look if your are sure

what you can also do is change this part at the top if the consolelib.ps1

   # Not Show List just forward input in case less then 2 options

   if ($Content.Length -lt 2){Return $Content}

if you pick a larger value e.g 4 the list will not popup for lists less then four items

might make that configurable in next version, but watch out it can also confuse you into tinking there is only one entry :)

h.t.h.

Greetings /\/\o\/\/

Sunday, August 12, 2007 12:36 PM by MoW
Anonymous comments are disabled