IntelliJ IDEA 2023.2 Help

Natural languages

This section describes how to use a spellchecking plugin. To switch IntelliJ IDEA UI to another language, install and enable a corresponding language pack plugin. For more information about installing plugins, refer to Install plugins.

Enable the Grazie plugin

This functionality relies on the Grazie plugin, which is bundled and enabled in IntelliJ IDEA by default. If the relevant features aren't available, make sure that you didn't disable the plugin.

  1. Press Control+Alt+S to open the IDE settings and then select Plugins.

  2. Open the Installed tab, find the Grazie plugin, and select the checkbox next to the plugin name.

IntelliJ IDEA helps you check that all text written in natural languages is correct. This works similar to coding assistance, but instead of incorrect programming language syntax, the IDE detects and highlights typos, spelling mistakes, grammatical errors, stylistic complexity, and so on. Besides common text files, such as your project's README.md, it can check text in your source files as well: names of classes, methods, fields, and variables, string literals, comments, JavaDocs, and even your commit messages. For more information, refer to Scope of grammar checks.

By default, IntelliJ IDEA includes English language support. If you open a file with several paragraphs of text in another supported language, IntelliJ IDEA will detect it and show a suggestion to download and enable checks for this language. You can see the list of supported languages and enable them in the settings.

Add spelling and grammar checks for a language

  1. Press Control+Alt+S to open the IDE settings and then select Editor | Natural Languages.

  2. Click the Add button in the list of languages and select your language.

IntelliJ IDEA will download the language model and enable spelling and grammar checks for it.

Last modified: 12 October 2023