Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1530: Refactoring: Change Signature

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
khb Posted - Jul 10 2006 : 02:59:20 AM
I declared a Function in the following format:
bool bThisIsAFunctionWithSeveralParameters(int iThisIsTheFirstParameter,
                                           int iThisIsTheSecondParameter,
                                           int iThisIsTheThirdParameter,
                                           int iThisIsTheForthParameter);
Then I used Change Signature to change "First" to "FIRST". This results in:
bool bThisIsAFunctionWithSeveralParameters(int iThisIsTheFIRSTParameter,        int iThisIsTheSecondParameter,        int iThisIsTheThirdParameter,        int iThisIsTheForthParameter);
So, the line breaks are gone. If I rename the function, they are retained. Is it possible to retain the line breaks also when changing the signature? I guess there might be some cases where this isn't possible, but maybe it possible for the general case?

Regards,
Marcus.
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 06 2006 : 7:06:55 PM
unfortunately no estimate yet. i have bumped the priority on this, which hopefully will help.
khb Posted - Sep 06 2006 : 08:26:10 AM
Is there any estimation when this problem will be solved? It's really annoying as it happens to me quite often.

Regards,
Marcus.
feline Posted - Jul 18 2006 : 6:45:20 PM
confirmed. i have put a note about this on the case.
khb Posted - Jul 17 2006 : 04:40:39 AM
I just found out that the same thing happens to the function definition if I use Create Implementation on the function declaration in the post above.

Regards,
Marcus.
feline Posted - Jul 10 2006 : 6:33:18 PM
i get the same thing.

case=1631

for now you can call rename on the parameter instead of Change Signature, and this does not cause the formatting bug.

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