RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Grammar

Last modified: 16 July 2022

Configure: Settings | Editor | Natural Languages | Grammar and Style

Inspection: Settings | Editor | Inspections | Proofreading | Grammar

RubyMine checks the grammar of 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, RubyMine includes English language support and suggests adding another language if it detects one. For information about supported languages and how to add them, see Natural languages.

RubyMine checks grammar using the Grammar inspection. Press Ctrl+Alt+S to open the IDE 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.