Whole Tomato Software Support Forum
Whole Tomato Software Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Visual Assist X
 Suggestions and Ideas
 Constructor initializer list
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andre.horst
Tomato Guru

Germany
146 Posts

Posted - Jun 20 2012 :  03:53:00 AM  Show Profile  Visit andre.horst's Homepage  Reply with Quote
I would like to have a "Create constructor" refactoring, that have all members in its initializer list in the right order. If VAX is a bit smarter, than it would take only the required members to the initializer list, f.e. the integral types, pointers and objects, that require a specific ctor call.

Additionally a "sort" for the initializer list corresponding to the right order in the class declaration woiuld be nice or even an "Add missing members to initializer list" would be nice.

foxmuldr
Junior Member

23 Posts

Posted - Jun 20 2012 :  5:28:50 PM  Show Profile  Reply with Quote
Agree.
Go to Top of Page

feline
Moderator

United Kingdom
12804 Posts

Posted - Jun 21 2012 :  10:46:35 AM  Show Profile  Reply with Quote
We are considering adding a command to do this at some point. There are a couple of feature requests for this. One to create the contructor's initialization list with default values or comments:

case=10622

and one to sort the contructor's initialization list into the declared in class order:

case=8368

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Whole Tomato Software Support Forum © 2013 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000