This
documentation says "
configured lint and other IDE inspections run automatically whenever you compile your program", but when I tried this, no warnings are displayed. Am I looking in the wrong place, or is this a doc bug, or an Android Studio bug? Should I file a bug?
For example, in Eclipse, in a new project, if I type "int x = MediaCodec.BUFFER_FLAG_KEY_FRAME;" and hit Save, the Problems View shows an Android Lint Problem about the field requiring SDK 21, and a Java Problem about a local variable being unused.
In Android Studio 1.1, I enter the same code, hit Save, hit "Make Project" and the Messages and Gradle Console tool windows don't show the expected warnings. However, if I press F2 (Next Highlighted Error) and I hover over the cursor, the warning is shown in a popup. So the warnings are being found, but there is no overall UI indication (other than text color). How do I get an auto-updating list view? I can run Analyze -> Inspect Code, but that is manual, non-auto-updating, slow (which doesn't make sense considering that it already ran because F2 works) and not the 'automatically' that the docs describe.
Thanks.