Visual Filter: Folder Support
Posted: 19 Jan 2009 19:46
One of the things that has always bothered me about Visual Filters is that there is no way to apply a pattern to just the files and still display all the folders. Thus to see All Folders and All Text Files requires you to search and means you can't easily browse through multiple folders unless you just flatten the common root and include subfolders as well.
I've broken this wish into two phases, as the first is all I've ever needed, but I see the second being extremely useful...
Phase A is to simply include an All Folders pattern: "\". Thus for the example above one could filter on "|\|*.txt" to see All Folders and Text files. Everything else remains as it is but "\" will be recognized as a special pattern.
Phase B extends this to the next logical step: patterns starting with "\" are only applied to folders. So we could display All Folders whose name contains "2009" and All Text files using a pattern like "|\2009|*.txt". And we could add all folders whose name contains 2008 using a regex pattern by doing "|\>200[89]|*.txt"
Is this something that could be implemented without much trouble, Don?
I've broken this wish into two phases, as the first is all I've ever needed, but I see the second being extremely useful...
Phase A is to simply include an All Folders pattern: "\". Thus for the example above one could filter on "|\|*.txt" to see All Folders and Text files. Everything else remains as it is but "\" will be recognized as a special pattern.
Phase B extends this to the next logical step: patterns starting with "\" are only applied to folders. So we could display All Folders whose name contains "2009" and All Text files using a pattern like "|\2009|*.txt". And we could add all folders whose name contains 2008 using a regex pattern by doing "|\>200[89]|*.txt"
Is this something that could be implemented without much trouble, Don?