Refactoring - Reorder function members

Hello,
I really like the "Extract" refactoring tool in phpStorm. It is working great!

In my projects I often have a large amount of parameters in the methods header, like
function test(a1, a7, a2, a9, a5, .... ans so on) {
...
}

I know that I can do a kind of sorting when I use the extract-tool, so that it will be e.g. a1,a2,a3,a4 and so on.
The problem is that during development of my project I add sometimes parameters, e.g. a12,a13,a14.

Is there a tool to re-sort or re-order the list of paramters later? That would be a great help.

Thank you.
Adrian.

1 comment
Comment actions Permalink

Hello Adrian,

Please vote - http://youtrack.jetbrains.net/issue/WI-2973

Thank you for feedback!

0

Please sign in to leave a comment.