Home » Android » Ignore spelling warning in Android studio for specific files

Ignore spelling warning in Android studio for specific files

Posted by: admin May 14, 2020 Leave a comment

Questions:

I want to ignore spellcheck warnings for specific files only in Android Studio. I have tried this out but this seems to be equivalent to SuppressLint instead of SuppressWarning.
http://developer.android.com/tools/debugging/improving-w-lint.html

Here’s an example of something like what I want to do

<?xml version="1.0" encoding="utf-8"?>
<lint>
    <issue id="SpellCheckingInspection" severity="typo">
        <ignore path="app/src/main/res/values/local_values.xml" />
        <ignore path="app/src/main/res/values/strings.xml" />
        <ignore path="app/src/main/AndroidManifest.xml" />
    </issue>
</lint>

Any ideas?

How to&Answers:

For Android Studio, Uncheck options you want to disable under File >> Settings >> Editor >> Inspections >> Spelling >> Typo