Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable spell check on field names in Android Studio

I have been using Eclipse/ANT for 5 years now. Android Studio is out of beta so I am starting to get myself familiar with it. Android Studio seems to be spell checking field names. Why on earth would any IDE do that?

I still want spell check enabled, but not on any field names. I would expect spell check to only check comments or javadoc. How can I fix this?

enter image description here

like image 576
Jared Rummler Avatar asked Dec 10 '14 06:12

Jared Rummler


People also ask

How do I get rid of Typo on Android?

Yes, open Preferences -> Editor -> Inspections -> Spelling -> toggle off Typo and press OK .

How do I turn off enhanced spell check?

To check if Enhanced Spell Check is disabled in Chrome, click the vertical ellipsis on the top-right corner of a Chrome window > Settings > Languages > Spell check. Either disable it entirely or select the radio button next to 'Basic spell check.'


1 Answers

Spell check can be customized/disable via:

Android 1.1.0: File -> Settings (Project Settings [...]) -> Inspections -> Spelling -> Typo

Android 4.1.1: File -> Preferences -> Editor -> Inspections -> Proofreading -> Typo

This brings up three options that can be enabled/disabled:

  1. Process code
  2. Process literals
  3. Process comments

Uncheck whichever boxes you would like

like image 108
ChrisMcJava Avatar answered Sep 21 '22 14:09

ChrisMcJava