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
 How to align refactor extract method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

voiid
New Member

Germany
4 Posts

Posted - Feb 15 2011 :  04:03:38 AM  Show Profile  Reply with Quote
When I do refactor : extract method VA always puts a space before and after the function parameters like : void MyMethod( int A, int B ).

I don't say that this is ugly, the problem is the most of my code uses no space and as I try to follow a coding style I always need to remove the spaces manually.

If VA would offer a refactor whole file and corrects all other functions to this coding style too, I could live with it, but right now it's a bit ugly and unnecessary work

I couldn't find help for this in the forums and I really searched for it.

Gold + Silver Price Comparison & Numismatics Search-Engine
http://www.bullion-investor.com

Edited by - voiid on Feb 15 2011 04:05:57 AM

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 15 2011 :  11:38:36 AM  Show Profile  Reply with Quote
You can change this by editing the VA Snippet "Refactor Extract Method". Remove the spaces inside the brackets, around "$ParameterList$" on the line:

$end$$SymbolType$ $SymbolContext$( $ParameterList$ ) $MethodQualifier$

http://www.wholetomato.com/products/features/vasnippets.asp

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

voiid
New Member

Germany
4 Posts

Posted - Feb 17 2011 :  04:51:17 AM  Show Profile  Reply with Quote
Hey feline, super!
Thank you.

I must admit I been there but it seems I overseen this entry :X

Gold + Silver Price Comparison & Numismatics Search-Engine
http://www.bullion-investor.com
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