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/ProblemFilter.java
|| (super.selectMarker(problemMarker)
                        && selectByDescription(problemMarker) && selectBySeverity(problemMarker));
    }
    private boolean selectByDescription(ConcreteMarker item) {
        if (description == null || description.equals("")) 
            return true;
        String markerDescription = item.getDescription();
        int index = markerDescription.indexOf(description);
        return contains ? (index >= 0) : (index < 0);
    }
    private boolean selectBySeverity(ProblemMarker item) {
        if (selectBySeverity) {
            int markerSeverity = item.getSeverity();
            if (markerSeverity == IMarker.SEVERITY_ERROR)
                return (severity & SEVERITY_ERROR) > 0;
            else if (markerSeverity == IMarker.SEVERITY_WARNING)
                return (severity & SEVERITY_WARNING) > 0;
            else if (markerSeverity == IMarker.SEVERITY_INFO)
                return (severity & SEVERITY_INFO) > 0;
        }
        return true;
    }
    public boolean getContains() {
        return contains;
    }
    public String getDescription() {
        return description;
    }
    public boolean getSelectBySeverity() {
        return selectBySeverity;