Bug 82743 [Markers] improved problem filter needed (OR clauses)
when working with large workspaces I find the current problems filter not powerful enough. If I were able to AND and OR the conditions available from the UI then I would solve all my use cases. my most needed one is : I would like to see ERRORS anywhere in the workspace OR WARNINGS in the current selected project
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TaskFilter.java
}
        TaskMarker taskMarker = (TaskMarker) marker;
        return !isEnabled()
                || (super.selectMarker(taskMarker)
                        && selectByDescription(taskMarker)
                        && selectByDone(taskMarker) && selectByPriority(taskMarker));
    }
    private boolean selectByDescription(ConcreteMarker marker) {
        if (description == null || description.equals("")) 
            return true;
        int index = marker.getDescription().indexOf(description);
        return contains ? (index >= 0) : (index < 0);
    }
    private boolean selectByDone(TaskMarker item) {
        if (selectByDone)
            return done == (item.getDone() == 1);
        return true;
    }
    private boolean selectByPriority(TaskMarker marker) {
        if (priority != 0 && selectByPriority) {
            int markerPriority = marker.getPriority();
            if (markerPriority == IMarker.PRIORITY_HIGH)
                return (priority & PRIORITY_HIGH) > 0;
            else if (markerPriority == IMarker.PRIORITY_NORMAL)
                return (priority & PRIORITY_NORMAL) > 0;
            else if (markerPriority == IMarker.PRIORITY_LOW)
                return (priority & PRIORITY_LOW) > 0;
        }
        return true;
    }