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
 Spaces around function arguments
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

softbiz
Starting Member

Australia
1 Posts

Posted - Jul 13 2011 :  9:25:15 PM  Show Profile  Reply with Quote
When using Create implementation or other functions that change the class and method arguments VAX adds spaces around the argument list as follows :

MyClass::MyMeythod( int arg1, int arg2 );

whereas we prefer

MyClass::MyMethod(int arg1, int arg2);

How do we change this in VAX?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 14 2011 :  01:45:17 AM  Show Profile  Reply with Quote
VAssistX -> Tools -> Edit VA Snippets...

Here, you can edit

Refactor Create Implementation
Refactor Document Method
Refactor Encapsulate Field
Refactor Extract Method
Refactor Create From Usage Method Body

snippets to control the formatting of these refactoring commands ("Create Implementation" snippet will be used for "Move Implementation to source file" as well.) You can learn more about VA 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