Skip to main content
A newer version of this page is available.

Adding a Spell Checker Dictionary

  • 2 minutes to read

You can configure Spell Checker so that it works with different languages. To do that, find a dictionary for the required language and add it to CodeRush. Follow the steps below for detailed instructions.

  1. Find or create a dictionary

    CodeRush uses the WinForms Spell Checker control to perform the spelling check. It supports the following dictionary formats.

    • ISpell Dictionary (a part of the non-commercial GNU ISpell project) — consists of two files: ISpell affix file (.aff) and the Base Words (.xlg or *.dict).
    • Hunspell Dictionary (a part of the non-commercial Hunspell project) — consists of two files: Hunspell affix file (.aff) and the Base Words (.dic).

      • OpenOffice Dictionary (a part of the OpenOffice.org project) — this format is similar to the Hunspell Dictionary.
      • LibreOffice Dictionary (a part of the non-commercial LibreOffice project) — this format is similar to the Hunspell Dictionary.
    • Custom Dictionary — stores words added by user one word per line. You should not normally add more than one custom dictionary.
    NOTE

    The detailed information on supported dictionaries is presented in the Dictionaries article.

  2. Open the Editor | All Languages | Spell Checker options page.
  3. Click the "+" button in Dictionaries group.

    Ext_CustomDict

  4. In the opened window, enter the dictionary name and choose its type.
  5. Enter the file paths.

    • Use the ellipsis button at the right part of the Grammar path field and select the *.xlg or *.aff dictionary file.
    • Use the ellipsis button at the right part of the Dictionary path field and select the *.dic dictionary file.
  6. Select the encoding of the dictionary text files (should be provided by the dictionary source).
  7. Select the dictionary culture.
  8. Click OK to save changes and close the options dialog.