Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 How to align refactor extract method

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
voiid Posted - Feb 15 2011 : 04:03:38 AM
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.
2   L A T E S T    R E P L I E S    (Newest First)
voiid Posted - Feb 17 2011 : 04:51:17 AM
Hey feline, super!
Thank you.

I must admit I been there but it seems I overseen this entry :X
feline Posted - Feb 15 2011 : 11:38:36 AM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000