Get rid of intention "Make 'method' not static"
How to get rid of the above intention? For me it is completely useless,
I never had a case, where it solved a problem, but I had a couple of
situations, where it created problems (pressed Alt-Enter, Enter on a
method invocation of a not-yet existing method, which I wanted to create).
Tom
Please sign in to leave a comment.
Tom,
just disable the intention in the popup.
Eugene.
"Thomas Singer (MoTJ)" <nomail@nodomain.com> wrote in message
news:dae7gl$gdc$1@is.intellij.net...
>
This is not possible, there is no button right beside the intention (see
attached screenshot).
Tom
Attachment(s):
make-not-static.png
Click on the bulb at the left of the list item.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
What exactly does Make 'foo' not static mean in that context? It's a parameter/local variable; static/non-static is not applicable in that context.
Thanks, that works. But it irritates me to configure some intentions
with sub-menus and some with the light bulb.
Tom
The method is meant (wasn't a good example to name the method like the
parameter).
That's why we want to get rid of this useless intention. See IDEABKL-3188.
Tom
There are some intentions which when disabled never occur even when
Alt-Enter is pressed. To me it is not understandable, which can be fully
disabled and which only half (like "Make 'method' not static"). Could
you please describe the difference between both? Thanks in advance.
Tom