Ignore list only for "Find files"

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

Ignore list only for "Find files"

Post by *SailorMax »

Can you add to "Ignore list" some kind of setting to use it only in Find Files?
For example, we almost never need to search anything in .git/-directories, but we need to see they. Setup this for each search is uncomfortably.

thank you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Ignore list only for "Find files"

Post by *ghisler(Author) »

You can ignore files in search via search string, e.g.
*.c *.cpp *.h | .git\

I agree that it would be more useful to have it in the ignore list.Any suggestion for a syntax?
Author of Total Commander
https://www.ghisler.com
SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

Re: Ignore list only for "Find files"

Post by *SailorMax »

ghisler(Author) wrote: 2022-05-12, 07:51 UTC Any suggestion for a syntax?
Some kind of ini-file? (about group names need to think)

Code: Select all

[show]
*.c *.cpp
*.h

[search]
.git\
If use old syntax, without groups => use it for "show" only (back compatibility)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Ignore list only for "Find files"

Post by *ghisler(Author) »

I thought more about something in Configuration - Options - Ignore list, e.g. using a prefix like
*.c *.cpp
*.h
search:.git\
Author of Total Commander
https://www.ghisler.com
SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

Re: Ignore list only for "Find files"

Post by *SailorMax »

ghisler(Author) wrote: 2022-05-12, 10:04 UTC I thought more about something in Configuration - Options - Ignore list
I also about this list :) Just with groups.

Just prefixes is less obvious, but possible.
Post Reply