Configure: Settings CtrlAlt0S | Editor | Natural Languages
PyCharm helps ensure your codebase is error-free and consistent not only in terms of correct programming languages syntax, but also in terms of proper grammar, spelling, and style. In addition to common text files like your project's README.md, it checks natural language consistency and correctness in your source files, including names of identifiers and variables, contents of string literals, comments, and even your commit messages.
note
This section describes how PyCharm detects typos, reports grammar errors and stylistic problems. To switch the UI to another language, install and enable the corresponding language pack plugin. For more information about installing plugins, refer to Install plugins.
Enable the Grazie Lite plugin
This functionality relies on the Grazie Lite plugin, which is bundled and enabled in PyCharm by default. If the relevant features are not available, make sure that you did not disable the plugin.
Press CtrlAlt0S to open settings and then select Plugins.
Open the Installed tab, find the Grazie Lite plugin, and select the checkbox next to the plugin name.
By default, PyCharm includes support for the English language. If you open a file with several paragraphs of text in another supported language, PyCharm will detect it and offer a suggestion to download and enable checks for that language. You can see the list of supported languages and enable them in the settings.
Add spelling and grammar checks for a language
Press CtrlAlt0S to open settings and then select Editor | Natural Languages.
Click in the list of languages and select your language.
PyCharm will download the language model and enable spelling and grammar checks for it.
Thanks for your feedback!
Was this page helpful?
Cookie Settings
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.