Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2008, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../guide/book.css" type="text/css">
<title>Creating API Problem Filters</title>
<script type="text/javaScript" language="JavaScript" src="PLUGINS_ROOT/"></script>
<h1>Creating API Problem Filters</h1>
<p>Filters can be used to remove <em>known</em> or <em>expected</em> API problems that cannot be readily corrected. Problem filters can be created easily using the <strong><a href="../reference/api-tooling/quickfixes/ref-api-api-filter-qf.htm">Create API Problem Filter</a></strong> quick fix. </p>
<p>Using the quick fix let's see how we can add a new filter.</p>
<h3>The Problems view</h3>
<li>Open the <b>Problems</b> view.</li>
<li>Select an API Tools problem.</li>
<li>Use <b>Ctrl + 1</b> to trigger the quick fix from the Problems view.</li>
<li>Select Finish to create the new filter.</li>
<h3>Editing the resource</h3>
 <li>Open the resource the API problem exists in.</li>
 <li>Use <b>Ctrl + 1</b> on the corresponding problem.</li>
 <li>One of the quick fix proposals will be the creation of a problem filter for the corresponding problem.</li>
 <li>Select it and the problem filter is added for you.</li>
<p>Once the problem filter has been created the corresponding resource is rebuilt and the problem is removed from the Problems view and any open editors.</p>
<p><img src="../images/ngrelt.png" alt="Related tasks"></p>
<p><img src="../images/ngrelr.png" alt="Related reference"></p>
<a href="../reference/api-tooling/propertypages/ref-filters-prop.htm">API Problem Filters Property Page</a><br>
<a href="../reference/api-tooling/quickfixes/ref-api-api-filter-qf.htm">Add API Problem Filter Quick Fix</a>
New to GrepCode? Check out our FAQ X