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
 Feature Requests
 Class Members in Memory Order
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

abso
New Member

2 Posts

Posted - Oct 22 2014 :  3:04:13 PM  Show Profile  Reply with Quote
Is it possible to have class member data be listed in the suggestions box in memory order rather than alphabetical order?

Thanks!

feline
Whole Tomato Software

United Kingdom
18938 Posts

Posted - Oct 23 2014 :  12:32:42 AM  Show Profile  Reply with Quote
What do you mean by memory order? The order the members are declared in the header file? Or something else?

If the members are no longer in alphabetical order, isn't this going to make it harder to find the item you want in the listbox?

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

abso
New Member

2 Posts

Posted - Oct 23 2014 :  6:51:44 PM  Show Profile  Reply with Quote
Yeah, I mean the way they are declared in the header. Sometimes I'm constantly tabbing between header/source to determine the memory layout of the class. I'd be nice to just see it in the listboxes. I figure its not a feature most people would want so I wouldn't be disappointing if it wasn't added.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18938 Posts

Posted - Oct 24 2014 :  01:07:38 AM  Show Profile  Reply with Quote
I don't think this has ever come up before, and its unlikely we would add an option for this.

Why don't you just show the header file along side the cpp file? Open the header file, and use:

IDE Window menu -> New Vertical Tab Group

you can now work in the cpp file while reading the order in the header file at the same time.

Alternatively add comments to the class members, and rely on VA showing you the comments in the tooltips for the current item in the listbox?

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

robiwan
New Member

8 Posts

Posted - Apr 10 2015 :  08:35:32 AM  Show Profile  Reply with Quote
I would +1 on this request, as the chore of doing what you suggest for about 200 classes is quite daunting. And in GCC the warning "...when initialized here" just peppers the build log, and I would assume VA already has all information in order to do this.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18938 Posts

Posted - Apr 11 2015 :  11:13:59 PM  Show Profile  Reply with Quote
Are you talking about the order that class members are initialized on a class constructor? It sounds like it from the warning message.

If so then we are considering adding a feature to make sure that the member variables are initiated in the right order:

case=8368

I read the original post as asking for the ordering of members in a listbox when typing, which is quite a different thing.

zen is the art of being at one with the two'ness

Edited by - feline on Apr 11 2015 11:19:58 PM
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