Search code examples
intellij-idea

IDEA: How to suppress warnings for spelling typos?


One of my functions encrypts a string and one of my tests verifies that it took place. Naturally, strings like sldjf982389 are not recognized as a valid English word, so IntelliJ complains.

If there a way to suppress these warnings without adding junk to the dictionary?

enter image description here


Solution

  • You can disable that in the Inspections menu. Click on the little green box at the top of source code, or navigate to File > Settings > Inspections, under the Project Settings divider. You can then untick the box shown below.

    Screenshot of inspections in IntelliJ on Linux Mint