Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio disable lightbulb

I want to disable the light bulb (lint checking / intentions) in Android Studio:

enter image description here

Some clarifications:

  1. The main reason I want to disable this light bulb, is because I find myself several times copying and pasting strings, however the light bulb gets in the way and gets accidentally clicked.

  2. If I press Alt+Enter, I can see the same suggestions that the light bulb is showing. Therefore, why would I need the light bulb to appear all the time since I can manually enable it by pressing Alt+Enter?

  3. I have already disabled all intentions in Android Studio: File > Settings > Editor > Intentions

  4. I have already added the following line: < option name="SHOW_INTENTION_BULB" value="false" /> in %HOMEPATH%.\config\options\editor.xml as suggested by other users. This indeed reduces the time that the light bulb is appearing, however it stills appears when there's a warning in my code. I don't want to disable the warnings, I just want to make the light bulb disappear since I can always press Alt+Enter to see the available suggestions in a warning.

Thanks!

like image 771
steliosf Avatar asked Dec 07 '16 14:12

steliosf


People also ask

Who is the intention of bulb?

Edison is solely credited with inventing the modern incandescent light bulb after 10,000 attempts. Edison, an undisputed visionary, was not the only one competing to develop the first commercial incandescent bulb.

How do I get the bulb code for Visual Studio?

To see a light bulb or screwdriver You can also press Ctrl+.


2 Answers

Uncheck Show intention bulb under Settings > Editor > General > Appearance

like image 163
Sir Codesalot Avatar answered Sep 21 '22 04:09

Sir Codesalot


This is currently not possible. However when it is visible, pressing Esc will make the light bulb disappear. See also this issue.

like image 29
Bas Leijdekkers Avatar answered Sep 20 '22 04:09

Bas Leijdekkers