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

Spellchecking

Last modified: 17 March 2022

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

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

PyCharm 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, PyCharm provides a dedicated Typo inspection which is enabled by default.

https://resources.jetbrains.com/help/img/idea/2022.1/py_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 .

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 Disable spellchecking.