Whole Tomato Software Support Forum
Whole Tomato Software Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Visual Assist X
 General Release
 Advise about"Refactor Create Implementation"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
196 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
Moderator

United Kingdom
2251 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
196 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
Moderator

United Kingdom
12804 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
196 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:
Whole Tomato Software Support Forum © 2013 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000