RubyMine 2018.2 Help

Spelling

File | Settings | Editor | Spelling for Windows and Linux
RubyMine | Preferences | Editor | Spelling for macOS
Ctrl+Alt+S icons general settings svg


Use this settings page to select custom spelling dictionaries, create your own dictionaries, add user words, and thus expand the basic spell checking support provided by RubyMine by default.

Dictionaries tab

Use this tab to configure the dictionaries to be used for spellchecking.

Custom Dictionaries

This area displays the list of user-defined dictionary files, which can be any of the following:

  • The built-in project-level and application-level dictionaries, which you populate by manually saving words to them.
  • Plain text files with the dic extension, containing words separated with a newline.
  • Hunspell dictionaries, comprised of two plain text files commonly sharing the same name, for example, en_GB.dic and en_GB.aff. The dic file contains a list of words together with the applicable modification rules. The aff file list prefixes and suffixes regulated by a specific modification rule. Hunspell dictionaries can be easily obtained online, for example, here.

Enable/disable a custom dictionary

  • To have a custom dictionary applied in the current project, select the checkbox next to it.
  • To exclude a custom dictionary from spellchecking within the scope of the current project, clear the checkbox next to it.
ItemShortcutDescription
icons general add svgAlt+Insert Click this button to add a new dictionary to the list.
icons actions edit svgEnter Click this button to open the contents of a dictionary in a new editor tab.
icons general remove svgAlt+Delete Click this button to remove the selected dictionary from the list.

Bundled Dictionaries

This area displays a list of the dictionaries that are bundled with RubyMine.

Enable/disable a bundled dictionary

  • To have a bundled dictionary applied in the current project, select the checkbox next to it.
  • To exclude a bundled dictionary from spellchecking within the scope of the current project, clear the checkbox next to it.

Advanced Settings

In this area you can specify the advanced spellchecking settings.
ItemDescription
Use single dictionary for saving words Defines the behavior of the Save 'word' to dictionary intention action invoked on a mistyped word:
  • If the checkbox is selected, RubyMine will allow you to choose a single dictionary from the drop-down list. The selected dictionary will be used for saving all mistyped words.
  • If the checkbox is cleared, RubyMine will allow you to choose a dictionary on-the-fly, individually for each a mistyped word.
Maximum number of suggestions Sets the limit on the maximum number of words that are suggested on invoking the Change to... intention action on a mistyped word.

Accepted Words Tab

Use this tab to populate a custom dictionary with the list of words that should be skipped by the Typo inspection.

ItemShortcutDescription
icons general add svgAlt+Insert Click this icon to open the Add New Word dialog box and specify a new entry there. CamelCase or snake_case are not supported. If you try to add a word that is already included in one of the spelling dictionaries, RubyMine displays an error message The word <just typed word> is already in the dictionary.
icons general remove svgAlt+Delete Click this button to delete the selected item from the list.
Last modified: 31 August 2018

See Also

Procedures: