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
 Move implementation and parameter doc comments
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MCM
New Member

Germany
3 Posts

Posted - Sep 19 2006 :  04:54:11 AM  Show Profile  Reply with Quote
Hi,

I've got a problem with the "move implementation to source" refactoring. If I do that on "foo" in:


class C {
    int foo(
       int bar; ///< some parameter 
    )
    {
       return 1;
    }
};

I end up with

int C::foo( int bar;  ///< some parameter ) ) 
{
   return 1;
}

(Note the double parantheses) and I have to remove the comment manually.

VA should omit the comment altogether, methinks.

This is a nuisance, since this is the standardized style of commenting here.

Besides, we all just love the refactoring methods here!

Best regards,
MCM

PS.: Using VA_X.dll file version 10.3.1534.0 built 2006.09.02
VAOpsWin.dll version 1.3.3.6
VATE.dll version 1.0.5.8
DevEnv.exe version 7.10.6030.0
msenv.dll version 7.10.6030.0
Comctl32.dll version 5.82.2900.2180


1=e^{2i\\pi}

rhummer
Tomato Guru

USA
527 Posts

Posted - Sep 19 2006 :  7:45:06 PM  Show Profile  Reply with Quote
Thank you for the example.

case=2604

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

MCM
New Member

Germany
3 Posts

Posted - Sep 20 2006 :  10:10:50 AM  Show Profile  Reply with Quote
Please remove the ";" in "int bar;" from the example - that's a typo. Incidentically VA just refuses to refactor as long as the semicolon is in there.

1=e^{2i\\pi}
Go to Top of Page

rhummer
Tomato Guru

USA
527 Posts

Posted - Sep 20 2006 :  10:33:42 AM  Show Profile  Reply with Quote
I already removed it from the example case in our bug tracker ;)

VA X thinks that it is a method declaration with that semicolon there so it limits what it offers to you ;)

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

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