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
 1548: Another Move Implementation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

diavo
Senior Member

Germany
31 Posts

Posted - Mar 09 2007 :  02:40:04 AM  Show Profile  Reply with Quote
A little unimportant error:

class test
{
test(int i) {int j;};
}


results after move implementation in


class test
{
test(int i);;
}



AND a second question: is there any way to avoid jumping to the implementaion file after using that refactoring. This is very annoying if I have to refactor a lot of functiion like that: I always have to switch back to the header file to get the next one.

Edited by - diavo on Mar 09 2007 05:11:12 AM

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Mar 09 2007 :  11:03:22 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=5432

As for jumping to the cpp file, we try to avoid to much file changing during the refactoring operations. One good solution would be to use a macro to call Move Implementation to Source File, and then call alt-o afterwards. See here for the details on how to use macro's with VA's refactoring:

http://docs.wholetomato.com?W382

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Mar 09 2007 :  11:14:23 AM  Show Profile  Reply with Quote
The pre-existing semi-colon is not part of the implementation so is not considered when the implementation is turned into a declaration. That is, the semi-colon after } is spurious and ignored.
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