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
 Make $BaseClassName$ work on class declaration
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andre.horst
Tomato Guru

Germany
150 Posts

Posted - May 18 2011 :  03:34:59 AM  Show Profile  Reply with Quote
I use the symbol context snippets for documentation snippets. The snippet $BaseClassName$ works quite good inside a class context but does not work outside the class context.

<using snippet with $BaseClassName$ does not work here>
class CFoo : public CBar
{...
<using snippet with $BaseClassName$ works here>

Ok, there is no class context if I am outside the class, but maybe you can provide a "Document Class" feature similar to the "Document Method" and the $BaseClassName$ works there.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 18 2011 :  11:29:08 AM  Show Profile  Reply with Quote
We are looking to extend Document Method so that it can be used on a class:

case=4932

I have put a note onto this case about being able to use $BaseClassName$ in this situation.

For now you could always trigger the snippet inside the class, and then cut and paste the comment block to above the class. Not ideal, and you might already be doing this, but it should help a bit.

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