How to add a dictionary for spell check in Android Studio / IntelliJ Idea
You can download the Spanish (or any other language) ASCII dictionary from http://www.winedt.org/dictASCII.html and then add it to Android Studio as sebaszw said:
- Go to Settings -> Spelling -> Dictionaries
- Click plus symbol(+)
- Select path to your dictionaries folder (inside you must have plaintext word lists with .dic extension)
- Restart Android Studio
It worked for me without restarting Android Studio
In Android Studio (1.2.1.1 - 2.3.3) you can find this here:
File -> Settings -> Editor -> Spelling -> Dictionaries, and click "+" sign next to "Custom Dictionaries Folders" grid.
Important Note: You need to use UTF-8 character coding in your "language.dic" file if you would like to use an exotic language like Hungarian, Spanish, Portuguese, etc.
- Download from http://www.winedt.org/dict.html the UNICODE language file.
- Unzip and open it with Windows Notepad.
- Use "Save as" and choose UTF-8 coding.
- Open this file with Android Studio: File -> Settings -> Editor -> Spelling -> Dictionaries, and click "+" sign next to "Custom Dictionaries Folders" grid.
- Restart Android Studio. Smile! You have not problems with nasty letters like "éÉíÍóÓöÖőŐúÚüÜűŰ".