Turn off the light bulb in the Android Studio Java editor

I just installed Android Studio and started the editor customization process to my liking. However, I can’t for my whole life find an opportunity to turn off the small light bulb that appears in the left field a second after pressing a line of text.

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

Does anyone know how to disable this feature?

+5
source share
2 answers

I found the answer to this question here . Basically, to disable a function, you need to manually edit editor.xml and change SHOW_INTENTION_BULB from true to false . 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.

+4
source

They are called Intent in Android Studio. You can disable them one at a time or groups of them. Settings can be found in:

File> Preferences> Editor> Intent

I personally don't like any helpers of any kind in development. I just turned off everything and clicked OK.

+1
source

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


All Articles