Page 1 of 1

[Wish] Show only files of selected extension

Posted: 2006-11-27, 14:29 UTC
by djorge
The is a feature very handy which is Alt-+/Alt-- to select/deselect all the files of the same extension.

What i would like to see is a similar key combination key shift-alt-+/shift-alt--
to show only files of the selected extension.

I know this can be done with Ctrl-F12 but it is not the fastest way, because i have to enter the extension.

Done

Posted: 2006-11-27, 15:46 UTC
by nsp
You can use a user function with TC 7b2
use the command browser select usercmd.ini
(cm_CommandBrowser)
create NEW user commands

Code: Select all

em_doFilter
command : cd
parrameter : \*.%E

Code: Select all

em_doExcludeFilter
command : cd
parrameter : \|*.%E
Assign your commands to some hotkey using configuration

Posted: 2006-11-27, 17:19 UTC
by norfie²
This function can be realized with ancient versions too:
http://ghisler.ch/board/viewtopic.php?p=57502&#57502

Posted: 2006-11-27, 18:30 UTC
by djorge
Code:

em_doFilter
command : cd
parrameter : \*.%E
Not working. All files dissapear.

Posted: 2006-11-27, 18:48 UTC
by djorge
Indeed, it works

Posted: 2006-11-30, 11:35 UTC
by djorge
This technique has one BIG limitation. It doesn't work in branch mode....

Posted: 2006-11-30, 21:04 UTC
by Stance

Code: Select all

em_doFilter
cd .
*.%E