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
 Customizing default naming
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VitalTomato
New Member

3 Posts

Posted - Jan 09 2009 :  7:01:43 PM  Show Profile  Reply with Quote
VAX uses a naming scheme that is not consistent with my company's coding standard. For example, our accessor function names start with 'get' and 'set'.

If I refactor using "Encapsulate Field" VAX generates function names that don't start with 'get' and 'set'. So I need to go through the extra step of renaming the functions.

Is there a way to configure VAX to follow our own naming conventions for functions and variables?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 10 2009 :  4:47:49 PM  Show Profile  Reply with Quote
Just open Snippet editor

VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button)

then open "C++" node on the left side of the dialog. Here, find "Refactor Encapsulate Field".
You can replace the snippet here which is used to format this refactoring. You can read more about snippets (including refactoring snippets) here:

http://www.wholetomato.com/products/features/vasnippets.asp
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