diff --git a/docs/html/tools/debugging/improving-w-lint.jd b/docs/html/tools/debugging/improving-w-lint.jd index 3b220b56f2f80..2f5e50d5a5ef9 100644 --- a/docs/html/tools/debugging/improving-w-lint.jd +++ b/docs/html/tools/debugging/improving-w-lint.jd @@ -13,7 +13,7 @@ parent.link=index.html
Android Studio allows you to enable or disable individual inspections and configure -project-global, directory-specific, and file-specific settings for {@code lint}.
+You can manage inspection profiles and configure inspection severity within Android Studio using -the File > Settings > Project Settings menu to open the Inspections -page with a list of the supported profiles and inspections.
-
Figure 3. Inspection Configuration
+The built-in Lint tool checks your code while you're using +Android Studio. You can view warnings and errors in two ways:
+To set default Lint checks:
You can select individual checks, or entire categories.
-The configured settings run the specified {@code lint} inspections. The {@code lint} -inspections are also run whenever you build and run your Android project and modules.
-To produce a list of Lint checks displayed in the Inspection Results +window:
The scope specifies the files you want to analyze, and the profile specifies +the Lint checks you’d like to perform.
+In the Inspections dialog, you can search for a string +to find Lint checks. Note that changing Lint settings for a +profile in the Inspections dialog doesn’t change the default settings, +as described in the previous procedure. It does change the settings for profiles +displayed in the Inspections dialog, however.
+The results appear in the Inspection Results window, organized by +category.
+You can specify your {@code lint} checking preferences in the lint.xml file. If you
are creating this file manually, place it in the root directory of your Android project. If you are
@@ -289,7 +322,7 @@ file. The ignore attribute is inherited by the children elements o
in which the attribute is declared. In this example, the {@code lint} check is also disabled for the
child <TextView> element.
-<LinearLayout
+<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="UnusedResources" >