Search code examples
intellij-idea

Prevent IntelliJ from marking errors for specific file extensions



IntelliJ has been indicating errors in a README.md file, how can I disable error checking for specific files or even specific file formats?

Never gonna give you up


Solution

  • This is a bug in IntelliJ IDEA:

    IDEA-220938 False positive class or interface for Java in Markdown

    For the time being, you can disable error checking in code fences: