Missing option for 'remove parameter' in intentions

I know there was some debate in the past about the order of 'assign parameter to field', 'create parameter for field' and 'remove parameter' (Intentions/Declarations). I never want to use 'remove parameter' and would just like an option for it not to show up. The other two have options to disable them via the Intention settings, so I assume this is just an oversight.

FYI: I use the other two constantly; not just in constructor declarations, but in initialization() functions also.

Thanks.

2 comments
Comment actions Permalink

It's controlled by Settings|Errors|unused symbol inspection.

--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"mhunsicker" <no_reply@jetbrains.com> wrote in message
news:19302643.1152885764256.JavaMail.javamailuser@localhost...
>I know there was some debate in the past about the order of 'assign
>parameter to field', 'create parameter for field' and 'remove parameter'
>(Intentions/Declarations). I never want to use 'remove parameter' and would
>just like an option for it not to show up. The other two have options to
>disable them via the Intention settings, so I assume this is just an
>oversight.
>

FYI: I use the other two constantly; not just in constructor declarations,
but in initialization() functions also.

>

Thanks.



0
Comment actions Permalink

Doesn't that setting control whether or not it highlights an unused parameter? I like it highlighting unused parameters. I'm talking about hitting Alt-Enter (or clicking on the lightbulb) when the cursor is on an unused parameter for a function. A popup menu gives you three options: assign, create, remove. The assign and create have options to turn them off in Intention Settings/Declaration.

0

Please sign in to leave a comment.