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
 Refactoring - create constructor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Suma
New Member

6 Posts

Posted - Jul 30 2013 :  07:59:50 AM  Show Profile  Reply with Quote
Often I write constructors which do only member wise initialization from parameters. Would it be possible to have refactorization for this?

class A
{
TypeX x;
TypeY y;
};

Refactorization would create:

A(TypeX x, TypeY y):x(x),y(y){}

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Jul 30 2013 :  08:32:48 AM  Show Profile  Reply with Quote
This is a sensible suggestion. We are considering adding a refactoring command to do this:

case=14340

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:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000