Hi
I often thought that it would be so nice to be able to copy methods from one class to another and having the scope adapted to the new class automatically.
Example:
CMyBaseClass::AnyVirtualMehtod()
{
TRACE("Trace related to CMyBaseClass");
// Comment related to CMyBaseClass
}
copy/paste in the new class (derived or not, shouldn't matter) automatically pastes the following code:
CMyDerivedClass::AnyVirtualMehtod()
{
TRACE("Trace related to CMyDerivedClass");
// Comment related to CMyDerivedClass
}
or
CMyNewBetterClass::AnyVirtualMehtod()
{
TRACE("Trace related to CMyNewBetterClass");
// Comment related to CMyNewBetterClass
}
I guess this wouldn't be too much of a problem, as I think the parsed information should already provide data like this.