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 to Source File bug

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
mikeidge Posted - Jan 22 2025 : 10:12:04 AM
Hello,

This has been driving my potty for months. Whenever I use Move Implementation to Source File, Visual Assist moves all of the functions within the class to the cpp file, but in doing so, it reverses the order of all the functions. (The order of the functions in the header remains unchanged.)

Is this a bug, or is there a setting somewhere that I've yet been unable to find?

Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 29 2025 : 11:30:53 AM
Using the simple test class, in the header file:

class SimpleMoveImplementationOrderingTest
{
public:
	short MoveMeOne() { return 1; }
	short MoveMeTwo() { return 2; }
	short MoveMeThree() { return 3; }
	short MoveMeFour() { return 4; }
};

when I trigger Move Implementation to Source File on the class, the implementations are in the expected, correct order.

Do you have:

VA Options -> Code Generation -> Maintain order in header and source files for generated C/C++ implementations

turned On or Off? If this is Off, what effect does turning it On have?

If this is already turned On, can you please try the same test class that I used here, and see what results you get?

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