[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Collapse]CodeRush
  System Requirements
  Improve Performance
 [Expand]Features by Language
 [Expand]Getting Started
 [Expand]How To
 [Expand]Coding Assistance
 [Expand]Navigation and Search Tools
 [Expand]Static Code Analysis
 [Expand]Visualization Tools
 [Expand]Code Style Assistance
  Building Assistance
  Debugging Assistance
 [Expand]Refactoring Assistance
 [Expand]Unit Testing Assistance
 [Expand]Decompiling Tools
 [Expand]Configuration Options
 [Collapse]Extensibility
   Adding a Dictionary for the Spell Checker
  [Expand]Custom Templates Creation
  [Expand]Context Providers
   Specify a Default Filter for the Jump to Symbol Window
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Adding a Dictionary for the Spell Checker

The Spell Checker can work with different languages. Follow the steps below to add a dictionary to CodeRush:

  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 add more than one custom dictionary.
Note

See the Dictionaries article, for more information about supported dictionaries.

  1. Open the Editor | All Languages | Code Analysis | Spell Checker options page.

  1. Click the "+" button in the Dictionaries group.

  1. In the Add Dictionary window, enter the dictionary name, choose its type, and click Add

  1. Enter the file paths.
  • Use the ellipsis button in the Grammar path field and select the *.xlg or *.aff dictionary file.

  • Use the ellipsis button in the Dictionary path field and select the *.dic dictionary file.

  1. Choose the encoding of the dictionary text files from the dropdown list (provided by the dictionary source).

  2. Choose the dictionary culture.

  3. Click OK to save changes and close the Spell Checker options dialog.

Is this topic helpful?​​​​​​​