Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 AutoText: more macros

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
peterchen Posted - Aug 10 2006 : 11:02:15 AM
It would be nice if AutoText could refer to some macros using the current code context, e.g.:

Autotext for oper

bool operator==($CLASS$ const & rhs) const
{
$end$
}

so when I have:

class CFoo
{
oper
};

the oper gets expanded to
bool operator==(CFoo const &rhs)


Also others similar to the ones available in refactoring.

5   L A T E S T    R E P L I E S    (Newest First)
peterchen Posted - Jan 28 2009 : 11:40:18 AM
Oh drat, now I have to update ;)

Thank you!
support Posted - Jan 27 2009 : 10:08:19 PM
case=2050 is implemented in build 1715
New tokens are $NamespaceName$, $BaseClassName$, $ClassName$, $MethodName$, and $MethodArgs$.
These should not be used in refactoring snippets.
sean Posted - Oct 07 2006 : 11:55:36 AM
whoops - case=1969 is fixed in 1538 but this request is actually case=2050. 2050 is not implemented in build 1538.
support Posted - Oct 06 2006 : 7:45:28 PM
Fixed in 1538.
rhummer Posted - Aug 10 2006 : 10:41:32 PM
There is a request to add the refactor autotext keywords to the insert menu item.

I think this would fall in with what you want.

case=1969

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