Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Source code Beautifier

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
elli Posted - Jun 25 2013 : 11:47:44 PM
The VS caps here very limited. More options like "Uncrustify" are required. Works on selected area or the whole file.
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 27 2013 : 12:30:11 PM
An interesting thought, but our colouring code does not work like that. We are applying custom colouring over the top of what the IDE does, sometimes behind the IDE's back. The methods are different in VS2010 and above, but we are still working with the file structure and symbol positions that the IDE gives us.

If you start claiming that a line of code starts at column 8 when the IDE thinks it starts at column 1, then all sorts of fun and games will follow. As I understand it any reformatting of the code needs to actually be a real reformatting of the code.
jay.carlton Posted - Aug 27 2013 : 09:42:05 AM
True. Just to play devil's advocate, it would be interesting someday to exploit VA X's custom just-in-time painting capabilities to do a "soft reformat" of somebody else's code to match my conventions without actually editing the file or checking it out. And you wouldn't need UI widget for every option if you exposed a small domain specific language for applying the formatting rules. Maybe not a whole regex engine, but enough to say I want spaces and tabs to work this way, or whatever.
feline Posted - Aug 26 2013 : 9:48:42 PM
Interesting, I had not heard of that one, thank you for the link.

Unfortunately we don't have any current plans to add source code formatting to VA. From the description, "454 configurable options as of version 0.60", which says it all. People are very specific about how they want their source code formatted, and there are a lot of different opinions out there, so you need a massive number of options to make everyone happy.
jay.carlton Posted - Aug 26 2013 : 4:43:43 PM
http://uncrustify.sourceforge.net/
feline Posted - Jul 04 2013 : 11:14:28 AM
Can you post an example to explain what you are talking about? "Uncrustify" is not a term I recognise.

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