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
 Advise about"Refactor Create Implementation"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
329 Posts

Posted - Jun 28 2012 :  02:27:33 AM  Show Profile  Reply with Quote
Now I has a static func declear in the class definition.
i.e
class A{
   static  void Do()const;  //To Create Implementation
}
I want the result:
/*static*/  void Do()const
{

}

How?

Creation come from persist!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 28 2012 :  10:18:45 PM  Show Profile  Reply with Quote
Which Visual Assist version are you using? "static" is removed from me using VA 1908 when I use the Create Implementation refactoring command.
Go to Top of Page

jzq740176597
Tomato Guru

China
329 Posts

Posted - Jun 29 2012 :  8:30:09 PM  Show Profile  Reply with Quote
quote:
Originally posted by accord

Which Visual Assist version are you using? "static" is removed from me using VA 1908 when I use the Create Implementation refactoring command.


I Use VA1906,
How I can get the result?
/*static*/ void Do()const
{

}

Creation come from persist!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jun 29 2012 :  10:25:34 PM  Show Profile  Reply with Quote
You can make this happen by changing the VA Snippet Refactor Create Implementation to:

/* $SymbolStatic$ */ $SymbolType$ $SymbolContext$( $ParameterList$ ) $MethodQualifier$
{
	$end$$MethodBody$
}

but this will add the comment block to all functions created via Create Implementation, although only static functions will have static inside the comment block.

zen is the art of being at one with the two'ness
Go to Top of Page

jzq740176597
Tomato Guru

China
329 Posts

Posted - Jul 01 2012 :  10:10:17 AM  Show Profile  Reply with Quote
Got it ! I will try! thanks ,but I still hope VA can deal with the No-Staitc case! Good Luck!

Creation come from persist!
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