# Natural languages

> **TL;DR**
> Configure: `Settings `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) | Editor | Natural Languages`

IntelliJ IDEA 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, Javadocs,   and even your commit messages.

> **Note:**
> This section describes how IntelliJ IDEA 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 [Plugins](managing-plugins.html).

Procedure: Enable the Natural Languages plugin

This functionality relies on the [Natural Languages](https://plugins.jetbrains.com/plugin/12175-grazie-lite)  plugin, which  is bundled and enabled in IntelliJ IDEA   by default. If the relevant features are not available, make sure that you did not disable the plugin.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Plugins`.

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

By default, IntelliJ IDEA includes support for the English language. If you open a file with several paragraphs of text in another supported language, IntelliJ IDEA 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.

Procedure: Add spelling and grammar checks for a language

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Natural Languages`.

2. Click ![the Add button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.add.svg) in the list of languages and select your language.

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

## Local and cloud processing modes

IntelliJ IDEA supports two modes:

* Local processing for grammar, style, and spelling checks is enabled by default. These checks are performed locally on your device and do not require an internet connection.

* Cloud processing provides advanced checks and assistance features powered by cloud-based models. > **Tip:** > For the best performance and accuracy, we recommend enabling cloud processing in the settings. This mode ensures accurate grammar, style, and spelling checks by using the latest machine learning models.

Procedure: Connect to Writing Assistance Cloud

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Natural Languages`.

2. Click Enable Cloud next to Language processing.

3. In the dialog that opens, click Sign In.

After you apply the changes, you can [configure rules per domain](grammar.html#configure_rules) in `Settings | Editor | Natural Languages | Grammar and Style` on the Rules tab.

When you connect to the cloud, a widget appears in the status bar. Use it to quickly switch between writing styles and access writing style settings.

![Writing style widget in status bar](https://resources.jetbrains.com.cn/help/img/idea/2026.2/writing_style_widget.png)

Procedure: Disconnect from the cloud

If you decide to stop using Writing Assistance Cloud and switch to local processing of your data, you can switch IntelliJ IDEA back to the local mode.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Natural Languages`.

2. Next to Language processing, click Disable Cloud.

