Is there a way to hide yellow light bulb, which greatly annoys me showing on every line. I don't want to disable any inspections. I just want to hide yellow light bulb.
I'm trying to switch from eclipse (not the first time) and this is one of the thing that annoys me greatly and prevent from switching.
I know that I can make refactoring using alt+enter, why remind me constantly about it?
There is an option, but it's not exposed in the preferences dialog. Add or modify the following line inside the <component name="EditorSettings">
section in your editor.xml
file and restart IntelliJ IDEA:
<option name="SHOW_INTENTION_BULB" value="false" />
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
where <PRODUCT>
is e.g. IdeaIC13
, IntelliJIdea13
, PyCharm30
or AndroidStudio
.
This will prevent the lightbulb from ever being shown. This solution came up in the discussion of an issue about this problem.
The option is now available in the Settings! Rejoice!
Editor > General > Appearance
[ ] Show intention bulb
来源:https://stackoverflow.com/questions/16712626/hide-intellij-idea-yellow-light-bulb