8
我想忽略Android Studio中特定文件的拼寫檢查警告。我已經嘗試過了,但是這似乎等同於SuppressLint而不是SuppressWarning。 http://developer.android.com/tools/debugging/improving-w-lint.html在Android Studio中忽略特定文件的拼寫警告
這裏的東西像什麼,我想要做的
<?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>
任何想法的例子嗎?你想在文件禁用
已經有一個問題在這裏:https://stackoverflow.com/a/31947638/905686 – user905686