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
 1522: autotext suggestion
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mnd
Senior Member

42 Posts

Posted - Jun 15 2006 :  04:29:16 AM  Show Profile  Reply with Quote
Ciao,

the new build 1522 is extraordinary!

I have a small request, the autotext for "Refactor Create Implementation" is missing the $SymbolName$ variable. The $SymbolContext$ carry on the name of the class too but we are used to end the function implementation with the name of the function commented out.

I.E.

class foo
{
void bar();
}

void foo::bar()
{
} // bar

Kindest Regards,

- mn

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 15 2006 :  5:01:27 PM  Show Profile  Reply with Quote
the autotext rules are designed to be edited, so everyone can change them to suit their own needs. the default rules you get when installing are simply that, defaults.

simply make this change to your autotext rule and it works

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

mnd
Senior Member

42 Posts

Posted - Jun 16 2006 :  01:40:44 AM  Show Profile  Reply with Quote
ok, but what kind of variable can I use?

- mn
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 16 2006 :  01:47:25 AM  Show Profile  Reply with Quote
Use $SymbolName$:

$SymbolType$
$SymbolContext$($ParameterList$) $MethodQualifier$
{
$end$$MethodBody$
} // $SymbolName$
Go to Top of Page

mnd
Senior Member

42 Posts

Posted - Jun 16 2006 :  02:09:20 AM  Show Profile  Reply with Quote
It worked! many thanks.

- mn
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