RubyMine helps you make sure that all your source code, including textual strings, comments, and literals,
and commit messages, is spelt correctly. For this purpose, RubyMine suggests a dedicated Typo inspection,
which is supported by the corresponding bundled plugin and is enabled by default.
Correctness of spelling is checked against pre-defined dictionaries (as of now, jetbrains.dic
and english.dic), and any number of user-defined custom dictionaries.
A user dictionary is a textual file with the dic extension,
containing the words you want to be accepted by the Typo inspection as correct. The words
in such dictionaries are delimited with the newline.
Besides that, you can define your own list of words that will be skipped by the inspection. You can add
words to this list "on-the-fly", or intentionally while setting up your spellchecker options.
With the Typo inspection enabled, RubyMine detects and highlights
words not included in dictionaries and user's words list. It up to the user to provide correct spelling,
accept word as is, or disable inspection.
If a word is accepted, it will be added to the user's words list, and skipped by the spellchecker in future.
If inspection is disabled, all typos will be ignored.
In the textual strings and comments, spelling of a word at caret can be changed to a correct one.
In the contexts that enable Rename refactoring, the inspection
suggests to rename all occurrences of a symbol.
Note that Ruby SpellChecker plugin is required to run the
In this section you will learn how to perform spellchecking,
and configure spellchecker behavior.