Page 1 of 1

Ignore list only for "Find files"

Posted: 2022-05-12, 07:00 UTC
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.

Re: Ignore list only for "Find files"

Posted: 2022-05-12, 07:51 UTC
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?

Re: Ignore list only for "Find files"

Posted: 2022-05-12, 09:42 UTC
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)

Re: Ignore list only for "Find files"

Posted: 2022-05-12, 10:04 UTC
by ghisler(Author)
I thought more about something in Configuration - Options - Ignore list, e.g. using a prefix like
*.c *.cpp
*.h
search:.git\

Re: Ignore list only for "Find files"

Posted: 2022-05-12, 10:49 UTC
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.