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
 trailing function in $GeneratedPropertyName$
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JaanClaeys
Starting Member

Belgium
1 Posts

Posted - Aug 23 2011 :  10:07:30 AM  Show Profile  Reply with Quote
I would like to control the use of the trailing of the instance variabel:

For example if I have:

int iInstance;

I could indicate that the vowel "i" has to be removed in the field $GeneratedProperyName$, instead of _ or m_
so he would create:

int Instance() { return iInstance; }
void Instance(int i) { iInstance = i; }



feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Aug 25 2011 :  6:50:21 PM  Show Profile  Reply with Quote
We are considering adding a setting to control which leading characters are removed by Encapsulate Field, but I am not sure when this might be done:

case=17714

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

support
Whole Tomato Software

5566 Posts

Posted - Aug 09 2012 :  01:55:40 AM  Show Profile  Reply with Quote
case=67462 is related to case=17714 and is implemented in build 1912.
The following name patterns are supported:
[lower-case letter][upper-case letter]*
[lower-case letter]_[prefix]*

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