Get rid of lightbulb icon
Hi,
How do I get rid of the stupid lightbulb that appears after a couple of seconds on every single line I go to?
If I hover over it, it says press click or alt-enter. If I press it, it has one line that says "documentation string stub".
I hate this thing, how do I get rid of it with extreme prejudice?
Thanks!
How do I get rid of the stupid lightbulb that appears after a couple of seconds on every single line I go to?
If I hover over it, it says press click or alt-enter. If I press it, it has one line that says "documentation string stub".
I hate this thing, how do I get rid of it with extreme prejudice?
Thanks!
Please sign in to leave a comment.
The inspection/lightbulb icon is fine with me – never or rarely in the way, just there, and it makes quite a few best-practices very easy. Quite frankly, I wish more people used tools like this – or pylint. You might want to consider customizing which inspections are enabled before you turn it off altogether.
..anyways, to change it:
For a particular annoying inspection:
alt-enter:<highlight the inspection item you wish to affect>:<right arrow>
..you'll be presented with a list of options to affect either that or all inspections, as well as an option to display the inspection settings screen.
The inspection settings screen can also be accessed via:
settings:inspections
..where you can check or uncheck as many options as you like (or the whole language).
You'll probably come to like the code inspection once you disable a few of them to fit a more relaxed coding style. For example: Not everyone wants to document every method's parameters and return value in a way which is easily readable by docstring-to-documentation converters like Sphynx. I find it to be very useful, and have most of them enabled, but cherrypicking the list of enabled inspections makes it very easy to keep to decent standards without too much intrusion.
BTW, I'm having difficulty with this site in Chrome and am having to use Firefox to post this.
Thanks again!
I think you can get rid of the lightbulb entirely in newer versions.
Editor > General > Appearance > “Show intention bulb”