i am not sure i follow, but this is what i am thinking:
given the code:
bool getWindowPosition(int &top, int &left, int &height, int &width) { ... }
void saveSettings()
{
if(getWindowPosition(|)
{
}
}
here VA will be showing the tooltip for the four parameters. you are looking for something like place the caret into the function name "getWindowPosition" and trigger a refactoring that turns the code into this:
void saveSettings()
{
int top, left, height, width;
if(getWindowPosition(int top, left, height, width)
{
}
}
i can see a certain appeal to this. i am just wondering how likely this is to run into nasty problems.
the first rather obvious problem is what about overloaded functions and default parameters?
for the overload VA is going to have to ask which overload you want to call. the default parameters present a different problem, since no matter what VA does someone is bound to want something else