Android Studio turn off the light bulb

I want to turn off the light bulb (check / intent lint) in Android Studio:

enter image description here

Some explanations:

  • The main reason I want to turn off this light bulb is because I copy and paste lines several times, however the light bulb interferes and accidentally gets into it.

  • If I press Alt + Enter, I will see the same sentences as the light bulb. Therefore, why do I need a light bulb to appear all the time, since I can turn it on manually by pressing Alt + Enter?

  • I already turned off all intentions in Android Studio: File> Settings> Editor> Intent

  • I already added the following line: <option name = "SHOW_INTENTION_BULB" value = "false" / "> in% HOMEPATH%. \ Config \ options \ editor.xml, as suggested by other users. It really reduces the time of the light bulb, but it’s all still appears when a warning appears in my code I don’t want to turn off the warnings, I just want the light to disappear, since I can always press Alt + Enter to see the available sentences in the warning.

Thanks!

+6
source share
3 answers

This is currently not possible. However, when this is visible, pressing Esc will cause the light to disappear. See also this question .

+3
source

(Workaround) If you turn off entries that appear as sentences on the light bulb, they will disappear. (Direct shutdown is not possible)

1. Settings > Editor > Inspections > Language Injection 2. Settings > Editor > Intentions > Android > Override Resource in Other Configuration ... 

Thanks, Sriram

0
source

I find this sometimes annoying, but very convenient, and I'm sure you do not want it to be turned off forever. however, what you can do, you can press the right arrow on Typo:Change to.. and click turn off verification as a quick way to do this only for now, and not forever,

-one
source

Source: https://habr.com/ru/post/1012975/


All Articles