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
 1530: Autotext: $SymbolContext$ without namespace?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

marinovi
New Member

Hungary
4 Posts

Posted - Jul 28 2006 :  08:46:54 AM  Show Profile  Reply with Quote
Autotext "Refactor Create Implementation" cannot be used to create implementation without a namespace prefix (if classname included/needed).
I do suggest a new keyword "$SymbolClass$" to be able to refer the feractored member's classname only.

in example:
$SymbolType$ $SymbolContext$($ParameterList$) $MethodQualifier$
will create: void my_namespace::CFoo::Bar() { // implementation is probably already in my_namespace

i would like to use:
$SymbolType$ $SymbolClass$::$SymbolName$($ParameterList$) $MethodQualifier$
to create: void CFoo::Bar() { // without namespace prefix

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 29 2006 :  1:15:55 PM  Show Profile  Reply with Quote
in the next version Create Implementation should place the function into the existing namespace block, if it can find it, which should solve this problem for you.

zen is the art of being at one with the two'ness
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