PhpStorm
 
Get PhpStorm

Natural languages

Last modified: 16 September 2022

Configure: Settings Ctrl+Alt+S | Editor | Natural Languages

PhpStorm 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, PHPDoc comments, and even your commit messages. For more information, see Scope of grammar checks.

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