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
 VA Snippet: $ParameterList$
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

azur
Ketchup Master

Germany
54 Posts

Posted - Jul 14 2011 :  05:26:16 AM  Show Profile  Reply with Quote
Can I configure $ParameterList$?

I prefer following declaration:

bool Test
         ( int i_nFirst       // 1. 
         , int i_nSecond      // 2. 
         , int i_nThird       // 3. 
         );                   // [all the same]


The Result from "Refactor/Create Implementation" is:

bool Test( int i_nFirst /* 1. */ , int i_nSecond /* 2. */ , int i_nThird /* 3. */ )
{
...
}

At first - there is a additional space between the parameter and the comma. This is independently from parameter-comments.

At second - I wish the the implementation like this:

bool Test
   ( int i_nFirst       // 1.
   , int i_nSecond      // 2.
   , int i_nThird       // 3.
   )                    // [all the same]
{
...
} 


How can I do this?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 14 2011 :  2:01:12 PM  Show Profile  Reply with Quote
Unfortunately, this is a known problem and will be improved at some point:

case=1631

Regarding parameter list, you cannot configure it, but case 1631 is to preserve multi-line declarations and comments.

Edited by - accord on Jul 14 2011 2:02:57 PM
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