Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Move Implementation with comment

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
GKarRacer Posted - Aug 05 2009 : 7:07:21 PM
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 /* ... */.
5   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Nov 07 2014 : 09:54:56 AM
case=30651 is fixed in build 2052
peterchen Posted - Oct 04 2011 : 06:50:26 AM
Just weighting in for the priorities: same problem here.
accord Posted - Sep 29 2011 : 7:52:00 PM
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.
GKarRacer Posted - Sep 28 2011 : 2:48:34 PM
Any progress on this? I see that the latest version still has this problem.
accord Posted - Aug 06 2009 : 5:06:42 PM
I am seeing the same effect here. Thank you for the clear description.

case=30651

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