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
 Move Implementation with comment
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

GKarRacer
Ketchup Master

USA
58 Posts

Posted - Aug 05 2009 :  7:07:21 PM  Show Profile  Reply with Quote
The "Move Implementation to Source File" option formats the line incorrectly if there is a trailing comment on the function declaration line. For example:

class SomeClass
{
   void SomeFunction()  // Some comment
   {
      // Some code here
   }
};

Results in the following code:

class SomeClass
{
   void SomeFunction()  // Some comment;
};

void SomeClass::SomeFunction() /* Some comment */
{
   // Some code here
}

Notice that the semi-colon is in the wrong place in the class definition. Also, if the comment is copied over to the source file, then I'd prefer it kept the same comment style, i.e. // (double slash) instead of /* ... */.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 06 2009 :  5:06:42 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=30651
Go to Top of Page

GKarRacer
Ketchup Master

USA
58 Posts

Posted - Sep 28 2011 :  2:48:34 PM  Show Profile  Reply with Quote
Any progress on this? I see that the latest version still has this problem.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 29 2011 :  7:52:00 PM  Show Profile  Reply with Quote
Unfortunately, no progress has been made on this yet.
I have increased the priority of this for you, hopefully it will help a little bit.
Go to Top of Page

peterchen
Tomato Guru

126 Posts

Posted - Oct 04 2011 :  06:50:26 AM  Show Profile  Reply with Quote
Just weighting in for the priorities: same problem here.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 07 2014 :  09:54:56 AM  Show Profile  Reply with Quote
case=30651 is fixed in build 2052
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