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
 Feature Requests
 Autotext for destructor in C++
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

drzoom
Ketchup Master

Switzerland
57 Posts

Posted - Aug 25 2006 :  03:19:48 AM  Show Profile  Reply with Quote

The tilde character is used in the most cases only for the destructor. So I had the idea to create an autotext which is expanding after a typed ~ to the constructor.

But I found no way how to get the class name from the current context.

Can I do that already? If the answer is no, this is a fature request

best regards
Tobias

rhummer
Tomato Guru

USA
527 Posts

Posted - Aug 25 2006 :  09:14:47 AM  Show Profile  Reply with Quote
actually already beeing requested to have an autotext symbol to paste in the current classname.

case=2050

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 27 2009 :  10:06:50 PM  Show Profile  Reply with Quote
case=2050 is implemented in build 1715
New tokens are $NamespaceName$, $BaseClassName$, $ClassName$, $MethodName$, and $MethodArgs$.
These should not be used in refactoring snippets.

Whole Tomato Software, Inc.
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