Problem Marker Filter

Identifier:
org.eclipse.cdt.core.ProblemMarkerFilter

Since:
8.3

Description:
This extension point allows to filter out unneeded problem markers. For example during building of Qt base project with QML files tool Qt Linguist could report syntax errors in some qml file. These errors are presented as "C/C++ Problems" in qml files because they match format CDT expects for errors. If there is already installed plug-in that handles QML files it is a wise to ignore such errors because they are already reported as "QML Problems" with more meaningful descriptions.

Configuration Markup:

<!ELEMENT extension (problemMarkerFilter+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT problemMarkerFilter (enablement?)>

<!ATTLIST problemMarkerFilter

class CDATA #REQUIRED>


Examples:
The following is an example of a qmakeEnvProvider contribution:


<extension
    point="org.eclipse.cdt.core.ProblemMarkerFilter"
    id="example"
    name="Example QMake Env Provider Extension">
    <problemMarkerFilter 
        class="com.example.internal.ProblemMarkerFilter">
        <enablement>
            <with variable="projectNatures">
                <iterate operator="or">
                    <equals value="com.example.my-nature"/>
                </iterate>
            </with>
        </enablement>
    </problemMarkerFilter>
</extension>

API Information:
The contributed class must implement org.eclipse.cdt.core.IProblemMarkerFilter.

Supplied Implementation:
Copyright (c) 2014 BlackBerry Limited and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0