How to add a dictionary for spell check in Android Studio / IntelliJ Idea

AndroidAndroid StudioIntellij IdeaSpell Checking

Android Problem Overview


I have been using Android Studio in Spanish, and it bothers me that it highlights as incorrect words which are spelt correctly.

Can I add a Spanish dictionary to Android Studio or to my IntelliJ Idea?

Android Solutions


Solution 1 - Android

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:

> 1. Go to Settings -> Spelling -> Dictionaries > 2. Click plus symbol(+) > 3. Select path to your dictionaries folder (inside you must have plaintext word lists with .dic extension) > 4. Restart Android Studio

It worked for me without restarting Android Studio

Solution 2 - Android

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.

  1. Download from http://www.winedt.org/dict.html the UNICODE language file.
  2. Unzip and open it with Windows Notepad.
  3. Use "Save as" and choose UTF-8 coding.
  4. Open this file with Android Studio: File -> Settings -> Editor -> Spelling -> Dictionaries, and click "+" sign next to "Custom Dictionaries Folders" grid.
  5. Restart Android Studio. Smile! You have not problems with nasty letters like "éÉíÍóÓöÖőŐúÚüÜűŰ".

Solution 3 - Android

  1. Go to Settings -> Spelling -> Dictionaries
  2. Click +
  3. Select path to your dictionaries folder (inside you must have plaintext word lists with .dic extension)
  4. Restart Android Studio

Solution 4 - Android

Its Very Easy

Step 1: Go to File -> Settings -> Editor -> Spelling

Step 2: In Spelling -> select Tab 'Dictionaries'

Step 3: Click on '+'

Step 4: Select File that You want to put(file must be .dic extension)

Remember by default English language dictionary comes.

RESTART Android Studio is necessary.

Solution 5 - Android

Go into your Settings. Under "Language and Keyboard", go to and select "Android Keyboard" -> "Input language". Choose Spanish. That should do it!

Or, on Android 4, go to Settings -> Language & Keyboard -> Touch Input (settings button) -> Personal Dictionary -> Edit personal dictionary

The following link shows how to implement a spellchecker - you can implement this for multiple languages.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCristian CañadasView Question on Stackoverflow
Solution 1 - Androidvictor.hernandezView Answer on Stackoverflow
Solution 2 - AndroidAbigail La'FayView Answer on Stackoverflow
Solution 3 - AndroidsebaszwView Answer on Stackoverflow
Solution 4 - AndroidPinak GauswamiView Answer on Stackoverflow
Solution 5 - AndroidRachel GallenView Answer on Stackoverflow