Why predefined 'selection type template' not work?

English support forum

Moderators: Hacker, Stefan2, white, sheep

Post Reply
gawker
Junior Member
Junior Member
Posts: 9
Joined: 2018-04-10, 05:43 UTC

Why predefined 'selection type template' not work?

Post by *gawker » 2018-04-10, 06:04 UTC

In Show menu > Custom...
  • define file types: *.* | .git\
    So the address bar show: "d:\work\*.* | .git\"
    This work by hide the .git folder.
But when i custom a selection template:
  • define selection template ignore-git: *.* | .git\
    So the address bar show: "d:\work\>ignore-git"
    but not working, the .git folder is shown.

User avatar
nsp
Power Member
Power Member
Posts: 1190
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Why predefined 'selection type template' not work?

Post by *nsp » 2018-04-10, 14:47 UTC

gawker wrote:In Show menu > Custom...
  • define file types: *.* | .git\
    So the address bar show: "d:\work\*.* | .git\"
    This work by hide the .git folder.
But when i custom a selection template:
  • define selection template ignore-git: *.* | .git\
    So the address bar show: "d:\work\>ignore-git"
    but not working, the .git folder is shown.
I personally did no find any way to hide folder using file type, my workarounds are:

A) use a ignore list and the command cm_SwitchIgnoreList to enable/disable

B) () define a em_filter with CD as command and %A as parameter,
em_nofilter as CD *.*
you can use it from any button,alias, shortkey... adding as paramater your filter as you which like

Code: Select all

 em_filter *.*|.git\ .gitignore .gitattributes

gawker
Junior Member
Junior Member
Posts: 9
Joined: 2018-04-10, 05:43 UTC

Post by *gawker » 2018-04-11, 06:16 UTC

Thanks for your fruitful reply, it helps me a lot : ))

Post Reply