Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable PyCharm's light bulbs while keeping intentions available?

Tags:

pycharm

I like PyCharm's intentions when I want them, not when they are constantly popping up via the light bulb to distract me.

Is there a way to disable the light bulbs but have the intentions still available as normal via Alt-Enter?

Note this similar question shows an editor.xml config option for IntelliJ to hide the light bulb. PyCharm is based on IntelliJ but I can't find any such XML config file in my installation.

like image 413
Ghopper21 Avatar asked Dec 28 '13 14:12

Ghopper21


2 Answers

Figured it out:

  1. Find editor.xml in the ~/Library/Preferences/PyCharm30/options folder
  2. Add the line <option name="SHOW_INTENTION_BULB" value="false" />
  3. Restart
  4. Rejoice in best of both worlds -- less distraction but inspections/intentions still available with Alt-Enter
like image 161
Ghopper21 Avatar answered Oct 19 '22 23:10

Ghopper21


Update in 2019:

There is now a setting for this in the File > Settings...:

Under Editor > General > Appearance uncheck the option Show intention bulb.

like image 39
Raffael Avatar answered Oct 19 '22 23:10

Raffael