Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Advise about"Refactor Create Implementation"

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
jzq740176597 Posted - Jun 28 2012 : 02:27:33 AM
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?
4   L A T E S T    R E P L I E S    (Newest First)
jzq740176597 Posted - Jul 01 2012 : 10:10:17 AM
Got it ! I will try! thanks ,but I still hope VA can deal with the No-Staitc case! Good Luck!
feline Posted - Jun 29 2012 : 10:25:34 PM
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.
jzq740176597 Posted - Jun 29 2012 : 8:30:09 PM
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
{

}
accord Posted - Jun 28 2012 : 10:18:45 PM
Which Visual Assist version are you using? "static" is removed from me using VA 1908 when I use the Create Implementation refactoring command.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000