Home | History | Annotate | Download | only in debugging

Lines Matching full:issue

47 <dd>You can view the results from {@code lint} in the console or in the <strong>Lint Warnings</strong> view in Eclipse.  Each issue is identified by the location in the source files where it occurred and a description of the issue.</dd>
70 <p>For example, you can issue the following command to scan the files under the {@code myproject} directory and its subdirectories. The issue ID <code>MissingPrefix</code> tells {@code lint} to only scan for XML attributes that are missing the Android namespace prefix.</p>
120 <LI><b>Suppress this error with an annotation/attribute</b> - If the issue appears in a Java class, the {@code lint} tool adds a <code>&#64;SuppressLint</code> annotation to the method where the issue was detected. If the issue appears in an {@code .xml} file, {@code lint} inserts a <code>tools:ignore</code> attribute to disable checking for the {@code lint} issue in this file.</LI>
121 <LI><b>Ignore in this file</b> - Disables checking for this {@code lint} issue in this file.</LI>
122 <li><b>Ignore in this project</b> - Disables checking for this {@code lint} issue in this project.</li>
123 <li><b>Always ignore</b> - Disables checking for this {@code lint} issue globally for all projects.</li>
131 <p>The <code>lint.xml</code> file consists of an enclosing <code>&lt;lint&gt;</code> parent tag that contains one or more children <code>&lt;issue&gt;</code> elements. Each <code>&lt;issue&gt;</code> is identified by a unique <code>id</code> attribute value, which is defined by {@code lint}.</p>
138 <p>By setting the severity attribute value in the <code>&lt;issue&gt;</code> tag, you can disable {@code lint} checking for an issue or change the severity level for an issue. </p>
139 <p class="note"><strong>Tip: </strong>To see the full list of issues supported by the {@code lint} tool and their corresponding issue IDs, run the <code>lint --list</code> command.</p>
147 &lt;issue id="IconMissingDensityFolder" severity="ignore" /&gt;
149 &lt;!-- Ignore the ObsoleteLayoutParam issue in the specified files --&gt;
150 &lt;issue id="ObsoleteLayoutParam"&gt;
153 &lt;/issue>
155 &lt;!-- Ignore the UselessLeaf issue in the specified file --&gt;
156 &lt;issue id="UselessLeaf"&gt;
158 &lt;/issue&gt;
161 &lt;issue id="HardcodedText" severity="error" /&gt;
171 <LI>Move your cursor to the location in the file where is {@code lint} issue is found, then press <code>Ctrl+1</code> to bring up the <strong>Quick Fix</strong> pop-up.</LI>
172 <li>From the <strong>Quick Fix</strong> pop-up, select the action to add an annotation or attribute to ignore the {@code lint} issue.</li>
178 <p>The following example shows how you can turn off {@code lint} checking for the {@code NewApi} issue in the <code>onCreate</code> method. The {@code lint} tool continues to check for the {@code NewApi} issue in other methods of this class.</p>
186 <p>The following example shows how to turn off {@code lint} checking for the {@code ParserError} issue in the <code>FeedProvider</code> class:</p>
201 <p>The following example shows how you can turn off {@code lint} checking for the {@code UnusedResources} issue for the <code>&lt;LinearLayout&gt;</code> element of an XML layout file. The <code>ignore</code> attribute is inherited by the children elements of the parent element in which the attribute is declared. In this example, the {@code lint} check is also disabled for the child <code>&lt;TextView&gt;</code> element. </p>
212 <p>To disable more than one issue, list the issues to disable in a comma-separated string. For example:</p>