WebStorm 2024.1 Help

Natural languages

This section describes how to use a spellchecking plugin. To switch WebStorm 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 Lite plugin

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

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

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

WebStorm helps ensure your codebase is error-free and consistent, not only in programming languages but also in natural languages. The IDE includes a spell-checker for typos and spelling mistakes, and it also reports grammatical errors and stylistic problems. In addition to common text files like your project's README.md, it checks natural language consistency in your source files, including names of identifiers, contents of string literals, comments, and even your commit messages.

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

  1. Press Ctrl+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.

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

Last modified: 10 April 2024