Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 More control over formatting

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
Legendweaver Posted - Jul 07 2009 : 12:17:53 PM
One of the enormous shortcomings of Visual Studio is the limited options to control auto-formatting of code, especially compared to Netbeans and Eclipse. For example, Netbeans includes control of indentation, alignment, wrapping of lines, extra lines between blocks, etc. A file or project can be reformatted into an entirely new format with a single command.

I realize that VAX uses Visual Studio's built-in formatting commands, and that building such a system from scratch would be an enormous undertaking, but on the other hand, I think it would substantially increase the value that VAX offers. Regardless, even if these kind of massive changes are not available, it would be great to have some of these controls when VAX formats code that it introduces - for example, when using refactor->extract method, VAX puts * and & next to variable names, rather than next to the type names, ie:

void example(const Box2i &frameExtent, const Box2i *fillExtent)

as opposed to

void example(const Box2i& frameExtent, const Box2i* fillExtent)

Given that the second is my prefered style, it would be nice to have an option to select it.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 08 2009 : 1:07:21 PM
If you edit the four VA Snippet "Refactor" items then you can get some control over how VA formats code when performing a refactoring operation.

Beyond this, we are aware that code formatting is a popular request, but we don't have any current plans to try and do this. This FAQ entry links to a couple of tools for doing code formatting if you are interested:

http://docs.wholetomato.com?W147

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