IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Spellchecking

Last modified: 10 August 2022

Configure: Settings/Preferences | Editor | Natural Languages | Spelling

Inspection: Settings/Preferences | Editor | Inspections | Proofreading | Typo

IntelliJ IDEA checks the spelling of all your source code, including variable names, text in strings, comments, literals, and commit messages. For this purpose, IntelliJ IDEA provides a dedicated Typo inspection which is enabled by default.

https://resources.jetbrains.com/help/img/idea/2022.1/ij_typo_change_to.png
Gif

The Typo inspection detects and highlights words that are not included in any dictionary. You can either correct the spelling or accept the word as correct (by saving it to the dictionary). Disable the Typo inspection if you want to ignore all spelling mistakes. For more information, see Configure the Typo inspection.