Вопрос

In Eclipse for an Android project I had some warnings in xml files and added some of them in Lint ignore/exclusion list via the quick fix window using "Disable Check In This File Only".

Now I would like to remove a file from the list to be checked again.

How it is possible to manage Lint file check exclusion in Eclipse?

I couldn't find any solution anywhere in stackoverflow or googling.

Это было полезно?

Решение

I found a solution even if it's not trough Eclipse IDE.

I just remove manually the line in lint.xml.

<?xml version="1.0" encoding="UTF-8"?>
<lint>
    <issue id="SelectableText">
        <ignore path="res\layout\my_activity.xml" />
    </issue>
    <issue id="TooManyViews">
        <ignore path="res\layout\my_other_activity.xml" />
    </issue>
</lint>

For example remove

<ignore path="res\layout\my_activity.xml" />

in order to re enable selectabeText warning in my_activity.xml.

I let the question open in case someone finds a solution trough the Eclipse IDE.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top