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

7 comments
Comment actions Permalink

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...

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



0
Comment actions Permalink

just disable the intention in the popup.


This is not possible, there is no button right beside the intention (see
attached screenshot).

Tom



Attachment(s):
make-not-static.png
0
Comment actions Permalink

Click on the bulb at the left of the list item.

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

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.

0
Comment actions Permalink

Click on the bulb at the left of the list item.


Thanks, that works. But it irritates me to configure some intentions
with sub-menus and some with the light bulb.

Tom

0
Comment actions Permalink

The method is meant (wasn't a good example to name the method like the
parameter).

static/non-static is not applicable in that context


That's why we want to get rid of this useless intention. See IDEABKL-3188.

Tom

0
Comment actions Permalink

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

0

Please sign in to leave a comment.