Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Reorder initializer list

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
mwb1100 Posted - Aug 24 2007 : 12:15:30 AM
A recent request to reorder method definitions according to how they are ordered in the class declaration caused me to think that it might be nice to have VAX able to put a contructor's initialization list in its proper order.

I like my init lists to be in the order that the inits will actually occur (ie., the order the members are declared in the class) as all good init lists should be, but I hate actually doing the work to make it so. If VAX could do this for me, I'd appreciate it.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 08 2008 : 08:52:07 AM
We are considering creating an initialization list:

case=10622

I have some concerns about this idea for alt-g. If this was done, people are going to ask why alt-g goes not offer the member variable when it is set inside a constructor.

Find References, or perhaps Find References in File should help if you just need to locate all references to the member variable.
fmaddin Posted - Aug 06 2008 : 5:14:57 PM

Our company would really like to have this feature and I would like to add to this and make dealing with initializer lists easier in general.

* Alt-G on a member variable in the header file would take you to the initializer list, and vice versa.
* An AddInitializer function to add them as they are created in the header file. Or an AddMemberHere function for the header that does it all.
* Perhaps a function to highlight missing initializers and/or add default() intitializers for the missing ones. I wouldn't care if it didn't compile, I could fill in the correct params.


feline Posted - Aug 24 2007 : 09:23:33 AM
An interesting idea, I have put in a feature request for this:

case=8368

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