Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable lightbulb in Android Studio's Java editor

I just installed Android Studio and have begun the process of configuring the editor to my taste. However, I cannot for the life of me find an option to disable the little light bulb that appears in the left margin a second after clicking a line of text.

[edit] I've only noticed this in the java editor, so I edited the subject line to help indicate that.

Does anyone know how this feature can be disabled?

like image 742
Brian Davis Avatar asked Dec 21 '14 11:12

Brian Davis


1 Answers

I found the answer to this question here. Basically, to disable the feature you have to manually edit the editor.xml and change SHOW_INTENTION_BULB from true to false. The editor settings are located here:

The file is located at:

  • On OS X: ~/Library/Preferences/<PRODUCT>/options/editor.xml
  • On Windows: %HOMEPATH%\.<PRODUCT>\config\options\editor.xml
  • On Linux: ~/.<PRODUCT>/config/options/editor.xml

<PRODUCT> for me was AndroidStudio.

like image 76
Brian Davis Avatar answered Sep 30 '22 05:09

Brian Davis