Bug 143156 - [filters] RSE File Filters should be more flexible
Summary: [filters] RSE File Filters should be more flexible
Status: ASSIGNED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: David Dykstal CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
: 161519 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-23 04:00 EDT by Martin Oberhuber CLA
Modified: 2007-06-30 15:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2006-05-23 04:00:34 EDT
RSE File Filters should provide more flexible expressions for filtering:

1.) Advanced file filter patterns. 
    1a) Regular expressions like in the Eclipse File Search dialog
    1b) Description of glob patterns like in the Eclipse File Search dialog

2.) A setting to specifiy whether hidden files should be shown or not.
    See bug 143023

3.) The ability to invert a filter (negate it).
    Eclipse search supports this, e.g. Search > File, file patterns=
      *, !*.java, !*.html
    will search all files except *.java and *.html files.
Comment 1 David Dykstal CLA 2006-05-23 11:07:13 EDT
There is an old proposal for "chained" filters as well that allows for many of these. The trick is migrating the current filters to a new style without causing compatibility problems.
Comment 2 Martin Oberhuber CLA 2006-11-10 18:06:08 EST
Need to investigate - Implementation not planned yet.
Comment 3 David Dykstal CLA 2006-11-17 16:46:59 EST
There is one enhancement partially implemented - nested filters.

A nested filter takes the results of its parent filter and applies itself to that -- something like a conditional "and" operation. Not sure what it means to have a different source folder for a file filter.
Combined with negated filters (see 161519) this could provide some more flexibility.

I'm marking the "negated filters" report as a duplicate of this since its function is contained here.
Comment 4 David Dykstal CLA 2006-11-17 16:48:14 EST
*** Bug 161519 has been marked as a duplicate of this bug. ***
Comment 5 Martin Oberhuber CLA 2006-11-23 07:37:25 EST
One possible implementation of advanced file filters could be through a generic filter query language as suggested by bug 160113.