CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

Grammar

Last modified: 22 October 2024

CLion checks the grammar in text files, such as your project's README.md. You can also configure it to check various textual elements in your source code: string literals, comments, and even your commit messages. It highlights mistakes related to morphology, punctuation, the overall structure, and style.

By default, CLion includes support for the English language and suggests adding support for other languages that it detects. For more information about supported languages and how to add them, refer to Natural languages.

CLion checks grammar using the Grammar inspection. Press CtrlAlt0S to open settings and select Editor | Inspections. The Grammar inspection is under Proofreading. By default, it is set to the lowest severity level (subtle underline) and is applied in all scopes.