Turn off PyCharm bulbs that still have intentions?

I like PyCharm's intentions when I want them, not when they constantly appear through a light bulb to distract me.

Is there a way to turn off the bulbs, but are there any intentions still available via Alt-Enter?

Note this similar question shows the editor.xml configuration option for IntelliJ to hide the light bulb. PyCharm is based on IntelliJ, but I cannot find such an XML configuration file in my installation.

+6
source share
3 answers

It revealed:

  • Locate editor.xml in the ~ / Library / Preferences / PyCharm30 / options folder
  • Add the line <option name="SHOW_INTENTION_BULB" value="false" />
  • Restart
  • Rejoice in the best of both worlds - less distractions, but checks / intentions are still available with Alt-Enter
+10
source

@ Reply Ghopper21 worked for me. This is how my editor.xml looked at how I applied the patch.

 <application> <component name="EditorSettings"> <option name="ARE_LINE_NUMBERS_SHOWN" value="true" /> <option name="SHOW_INTENTION_BULB" value="false" /> </component> </application> 

In PyCharm 4.5, the path to my editor.xml file was ~/Library/Preferences/PyCharm40/options

+1
source

Add update for 2017:

In Python Community Edition version 2017.2.3 for Windows, I found the editor.xml file instead of C:\Users\<username>\.PyCharmCE2017.2\config\options

0
source

All Articles