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/MarkerFilter.java
if (!resource.isAccessible()) {
                continue;
            }
            if (depth == IResource.DEPTH_INFINITE) {
                 
                IResource parent = resource.getParent();
                boolean found = false;
                while (parent != null) {
                    if (resourcesToSearch.contains(parent)) {
                        found = true;
                    }
                    parent = parent.getParent();
                }
                
                
                if (found) {
                    continue;
                }
            }
            
            while (iter.hasNext()) {
                MarkerType markerType = (MarkerType) iter.next();
                
                
                IMarker[] markers = resource.findMarkers(markerType.getId(),
                        includeAllSubtypes.contains(markerType), depth);
                mon.worked(1);
                for (int idx = 0; idx < markers.length; idx++) {
                    ConcreteMarker marker;
                    try {