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>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT problemMarkerFilter (enablement?)>
<!ATTLIST problemMarkerFilter
class CDATA #REQUIRED>
- class - Implementation of Problem Marker Filter that allows to filter out unneded or duplicit problem markers.
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.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html