We don't have such a feature currently, but are considering adding it at some point:
case=43947
The closest feature we have is "Create from usage" which can create a member variable from a not defined one, trying to guest its type, for example:
int Class1::GetSomeInt()
{
return 5;
}
void Class1::SomeFunction()
{
Apple = GetSomeInt();
}
Using "Create from usage" on Apple will offer to create "int Apple" to Class1 but you can always change the offered type in the showed dialog.