Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1530: Renaming member function parameters

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
accord Posted - Jul 23 2006 : 3:06:49 PM
If a tries to rename a parameter in function declaration, the parser will not rename in the definition or vice versa.

For example:

Header:
class cTest {
void Function1(int apple, int banana);
};

Cpp:
void cTest::Function1(int apple, int banana)
{
apple++;
banana++;
}

So if I rename apple or banana the outcome will be that the word only in the header or only in the cpp will be renamed.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 24 2006 : 6:44:52 PM
for now use Change Signature instead, this renames inside the function, and it also updates the definition.
accord Posted - Jul 23 2006 : 10:04:27 PM
OK, thanks!
jpizzi Posted - Jul 23 2006 : 6:05:50 PM
I sure thought this used to work. But, I found it is a known issue. It is listed as an enhancement request.

case=1140

I have added a reference to this thread to the case.

Of course you realize that the parameter names in the two are not required to match.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000