Would it be possible to implement a formatting feature that converts a function signature written with each parameter on the same line like this:
void DoSomething(int abc, int def, int xyz)
{
...
}
or with parameters distributed on different lines with multiple parameters per line, like this:
void DoSomething(int abc, int def, int longName,
int anotherParam, DWORD foo, int bar)
{
...
}
into another form in which there is one parameter per line, and the parameters are horizontally aligned properly, like the following example?
void DoSomething(int abc,
int def,
int xyz)
{
...
}
This feature could be applied to:
- current selection: reformat one or more functions in the current selection
- current file: reformat all functions in the current file
Thank you very much.