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
 Technical Support
 case=68550: not properly solved
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

azur
Senior Member

Germany
40 Posts

Posted - Sep 13 2012 :  02:58:02 AM  Show Profile  Reply with Quote
It seems to me that your parsing is wrong.

Example 1:
class CDataTestReparsing : CObject
{
public:
   CDataTestReparsing();
   ~CDataTestReparsing();
protected:
   void testMember2();
   void testMember1();
};


Result:
CDataTestReparsing::CDataTestReparsing()
{

}  // public

CDataTestReparsing::~CDataTestReparsing()
{

}  // ~CDataTestReparsing

void CDataTestReparsing::testMember2()
{

}  // protected

void CDataTestReparsing::testMember1()
{

}  // testMember1


Example 2:
class CDataTestReparsing : CObject
{
public:
CDataTestReparsing();
~CDataTestReparsing();
protected:
void testMember2();
void testMember1();
};

Result:
CDataTestReparsing::CDataTestReparsing()
{

}  // CDataTestReparsing

CDataTestReparsing::~CDataTestReparsing()
{

}  // ~CDataTestReparsing

void CDataTestReparsing::testMember2()
{

}  // void

void CDataTestReparsing::testMember1()
{

}  // void


----------------------

If you use "Refactor->Create Implementation" on a single method then the created method is selected so you can cut+paste to a different location. That's fine.

After finishing the bulk "Refactor->Create Implementation" you are back from where you started. If you switch to the implementation file only the last created method is selected. That's not what I expected.

accord
Whole Tomato Software

United Kingdom
3277 Posts

Posted - Sep 13 2012 :  08:24:01 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description. I have reopened the case:

case=68550

I have put in an enhancement request to select all created methods, not just the last one:

case=69256
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Oct 29 2012 :  11:08:33 AM  Show Profile  Reply with Quote
case=68550 is fixed in build 1918
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000