New quick-fix option?

I had pasted in some code with an unknown identifier (in the current scope).
Clicking on the identifier caused a lightbulb to pop up, with options like
changing it to something else or introducing a local variable or a class
level field.

Would it be possible to add the option to introduce a parameter as well?
Because in the last ten times that I've run into this scenereo, the correct
option was to introduce a parameter at least a third of the time, and this
is the one option that's missing from the choices.

Just an idea.


1 comment
Comment actions Permalink

Hello Paul,

Thank you for the suggestion. This feature is planned for the next major
version.

I had pasted in some code with an unknown identifier (in the current
scope). Clicking on the identifier caused a lightbulb to pop up, with
options like changing it to something else or introducing a local
variable or a class level field.

Would it be possible to add the option to introduce a parameter as
well? Because in the last ten times that I've run into this scenereo,
the correct option was to introduce a parameter at least a third of
the time, and this is the one option that's missing from the choices.

Just an idea.

Thanks,
Andrey Simanovsky


0

Please sign in to leave a comment.