Where to find dictionaries for other languages for IntelliJ?

Viewed 47292

IntelliJ spellchecker comes with only English and Arabic bundled (strange, I think it is made in east Europe, they didn't even bundle their language?).

My customer is German so all my code is mixed English (code)/German (interface) and I can't find a German dictionary for IntelliJ.

9 Answers

Current IDEA versions load dictionaries in UTF-8, you don't need to convert them to the platform encoding, ignore the iconv step below.

The dictionary can be produced using aspell for Unix/Mac OS X or under Cygwin. You need to have aspell and appropriate dictionary installed.

Here is the example for Russian dictionary I've used:

aspell --lang ru-yeyo dump master | aspell --lang ru expand | tr ' ' '\n' > russian.dic

For German it would be:

aspell --lang de_DE dump master | aspell --lang de_DE expand | tr ' ' '\n' > de.dic

Hunspell dictionaries support was added recently to Intellij platform.

You may install Hunspell plugin to your IDE and you will be able to add any hunspell dictionary to IntelliJ spellchecker as it is, no additional dictionary transformations are required in this case

Hunspell dictionaries can be found at:

  1. GitHub repos (https://github.com/wooorm/dictionaries, https://github.com/titoBouzout/Dictionaries)
  2. SCOWL collection: http://wordlist.aspell.net/dicts/
  3. OpenOffice extensions: http://extensions.services.openoffice.org/en/dictionaries

My PyCharm came bundled with a plugin called "Grazie". ("Provides intelligent spelling and grammar checks for text that you write in the IDE.")

You could find (or install) it under:

Preferences -> Plugins.

With that you can setup your language under:

Preferences -> Editor -> Proofreading

Screenshot of the proofreading section to add languages

  1. Install the Hunspell plugin to your IDE
  2. Find your language dictionary in https://github.com/LibreOffice/dictionaries
  3. Download the .dic file that contains the list of words, and the .aff file that's a list of language rules
  4. On your IDE Settings/Preferences dialog Ctrl+Alt+S, select Editor | Proofreading | Spelling
  5. Add both files at the custom dictionary list
Related