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

Spellchecking

Last modified: 23 April 2021

Configure: Settings/Preferences | Editor | Proofreading | Spelling

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

IntelliJ IDEA helps you make sure that all your source code, including variable names, textual strings, comments, literals, and commit messages, is spelt correctly. For this purpose, IntelliJ IDEA provides a dedicated Typo inspection which is enabled by default.

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

In textual strings and comments, only the spelling of this particular word at caret changes. Where the Rename refactoring is available, the inspection suggests to rename all occurrences of a symbol (for example, names of classes, fields, and methods).

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