Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 VAOutline auto-arrange.

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
Rain Dog Posted - Jun 09 2008 : 6:08:13 PM
Using VAX refactoring "create implementation" often leaves my cpp files having a different ordering than the layout of my header file leaving me having to manaully re-order the functions in my cpp file so that they are the same as my header.
4   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 13 2015 : 8:18:41 PM
case=12454 is fixed in build 2059
feline Posted - Jun 11 2008 : 08:20:02 AM
Consider this simple example. Header file goes:

void function1();
void function2();


the matching cpp file goes:


void function2() { /* ... */ }

#include "do_something_odd.h"
using namespace MORE_ODD_STUFF

void function1() { /* ... */ }


At this point what happens when you ask VA to order the cpp file so it looks like the header file?

This starts to get really nasty when people start doing clever things with macro's, #defines, etc in either the cpp of the header file.
schoenherr Posted - Jun 11 2008 : 12:40:44 AM
but how about a command like "reorder according to header file"
feline Posted - Jun 10 2008 : 05:38:20 AM
There are two separate issues here. Firstly the placement of the new implementation when using Create Implementation. We are considering doing something about this, but it is not clear what to do for the best.

case=12454

Which is discussed here:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7228

the second issue is actually re-ordering files automatically. There are lots of ways this can go wrong, lots of possible edge cases to consider. For now VA Outline is designed to allow you to quickly and easily re-order files manually by simply dragging and dropping items in VA Outline, or using cut and paste to move them around.

We do not have any current plans to try and re-order files automatically.

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