Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1530: Autotext: $SymbolContext$ without namespace?

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
marinovi Posted - Jul 28 2006 : 08:46:54 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 29 2006 : 1:15:55 PM
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.

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