Page 1 of 1

Add filter to ignore all __pycache__ folders

Posted: Fri Dec 07, 2018 7:59 pm
by yakirs
Hi,
I want Everything to ignore all files under any "__pycache__" folder
I tried adding "*\__pycache__\*" filter under "exclude", but it doesn't seem to work
Am I missing something?

Re: Add filter to ignore all __pycache__ folders

Posted: Fri Dec 07, 2018 8:40 pm
by NotNull
Does this work for you?

Menu:Tools > Options >Indexes > Exclude > Add Filter button > Filter = *\__pycache__\

(Not tested)

Re: Add filter to ignore all __pycache__ folders

Posted: Fri Dec 07, 2018 8:41 pm
by vanisk
try
*\__pycache__\

Leading * denotes parent folders, trailing * denotes child folders. In your case ("*\__pycache__\*"), everything is excluding ALL the folders (not the files) directly under Pycache.

[i hope i didn't confuse you/me. Not good with English)

Re: Add filter to ignore all __pycache__ folders

Posted: Fri Dec 07, 2018 9:08 pm
by NotNull
vanisk wrote: Fri Dec 07, 2018 8:41 pm try
*\__pycache__\

Leading * denotes parent folders, trailing * denotes child folders. In your case ("*\__pycache__\*"), everything is excluding ALL the folders (not the files) directly under Pycache.

[i hope i didn't confuse you/me. Not good with English)
I could follow it! (And not only because we had the exact same idea ;))
Good explanation!