

, otherwise you won't be able to distinguish these two cases: You would still need to distinguish between the name wildcard * and the subtree wildcard. Of course the syntax will have to be adapted to Notepad++'s existing syntax, so I guess it will be ! instead of - and space instead of semicolon. You can also use common * wildcards in your directory names:

So instead of saying give me *.txt but not in directory c:\temp, you are saying give me *.txt but ignore c:\temp\*.*. What makes this beautiful to use is that your directory filter must always include the file filters, so you don't have to worry specifying a separate syntax for filtering a file or a folder. Therefore I'm going to ignore Beyond Compare's directory filtering here, which only includes/excludes directories themselves and does not care for their contents.īeyond Compare's file filtering, however, allows for including or excluding files that reside in specific directories. I'm a big fan of their solution to file/directory filtering.įor them it is important to treat directories as a work item, which will not be relevant to Notepad++ since you only work directly on files. I'd like to mention how Beyond Compare does this very nicely.

/src/*/tmp excludes c:/myProj/src/ABC/tmp/ and c:/myProj/src/XYZ/tmp/ ( c:/myProj/ is the root of the search-folder-hierarchy).src/tmp) to be supported, as this would become too complicated: All folders named logs shall be excluded: in the top-folder, any sub-folder, any sub-sub-folder, etc.
