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 control formating of "Create Declaration"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sibratel
New Member

2 Posts

Posted - May 19 2011 :  12:06:36 PM  Show Profile  Reply with Quote
I searched the help docs and forum a bit but couldn't find the answer to this question:

When using features such as "Create Declaration", "Change Signature" etc. The formating of the generated code is not what I would like it to be. Is there any way to specify if I want the input arguments to be separated by line breaks and also control their spacing/tabs. An example of how I would like it to look:


float
DoSomething(
	float				argument
) const;


Can this be done? If not can you recomend some other tool that could do it for me?

Thanks a lot

feline
Whole Tomato Software

United Kingdom
18958 Posts

Posted - May 19 2011 :  2:53:52 PM  Show Profile  Reply with Quote
You can control some of the formatting of VA refactoring commands by editing the "Refactor*" VA Snippets, but this is not going to give you this level of control.

Unfortunately VA does not try to do code formatting, instead we simply ask the IDE to do so for us, due to the large number of options required to let people fully configure code formatting.

I am aware of this commercial code formatting plugin:

http://www.profactor.co.uk/stylemanager.php

but personally I have never used it, so I cannot recommend it, and I don't know if it will let you do this, but it might be worth a look.

zen is the art of being at one with the two'ness
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