android-studiomarkdownreadmeintellij-inspections

How to disable code inspection errors in README.md file in Android Studio


In my GitHub README.md file, which is in the root of my Android project, I have code snippets like the following ones:

```xml
android:windowSoftInputMode="stateHidden"
```

```java
MongolToast.makeText(getApplicationContext(), "ᠰᠠᠢᠨ ᠪᠠᠢᠨ᠎ᠠ ᠤᠤ︖", MongolToast.LENGTH_LONG).show();
```

However, in Android Studio these code snippets give errors

enter image description here

I don't want to be warned of supposed code errors in the README file. How do I disable all errors here?

Notes:


Solution

  • After doing some further research I come to conclusion that these errors are not from Android Studio itself but there are plugins for markdown format like Markdown Navigator and Markdown Support if any of them is installed and enabled then you will see above errors in README.md file.

    I think this spell check is built in feature of these plugins and can not be controlled from Android Studio.

    One option what I think is to disable these plugins and you are good to go.

    You can disable these plugins from (Android Studio 3.1.4 MacOS) Preferences > Plugins (or File > Settings > Plugins in Linux) by unchecking them and restart (don't forget it) your Android Studio:

    enter image description here