Features

Integration with Android Lint tool in IntelliJ IDEA 11.1

In IntelliJ IDEA 11.1 we’ve added many inspections based on Android Lint tool, which reports many kinds of potential problems in the sources of your Android project.

For example IntelliJ IDEA will notify you about useless views in layout xml files and will offer to remove it:

Another example is that IDE warns you about hardcoded text and offer to extract a new string resource:

Some issues (such as duplicated icons or incomplete translations) aren’t shown in the editor, but reported when you run inspections for your project. Simply launch Analyze | Inspect Code from the main menu:

You can see all the Lint based inspections and tune them in Settings | Inspections | Android | Lint.

The feature is available to try it in the latest IntelliJ IDEA 11.1 EAP.

image description