Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1530: Refactoring: Change Signature
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

khb
Tomato Guru

Germany
337 Posts

Posted - Jul 10 2006 :  02:59:20 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 10 2006 :  6:33:18 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

khb
Tomato Guru

Germany
337 Posts

Posted - Jul 17 2006 :  04:40:39 AM  Show Profile  Reply with Quote
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 18 2006 :  6:45:20 PM  Show Profile  Reply with Quote
confirmed. i have put a note about this on the case.

zen is the art of being at one with the two'ness
Go to Top of Page

khb
Tomato Guru

Germany
337 Posts

Posted - Sep 06 2006 :  08:26:10 AM  Show Profile  Reply with Quote
Is there any estimation when this problem will be solved? It's really annoying as it happens to me quite often.

Regards,
Marcus.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 06 2006 :  7:06:55 PM  Show Profile  Reply with Quote
unfortunately no estimate yet. i have bumped the priority on this, which hopefully will help.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000