Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Code Formating utility
|
|
Re: Code Formating utility [message #9180 is a reply to message #9167] |
Fri, 20 April 2007 01:18   |
yeus
Messages: 19 Registered: October 2006
|
Promising Member |
|
|
Well...
With the code-formating utility you can format your code according to different standarts. It handles indendation of blocks, paragraphs, right placement for commentaries, whether curly brackets are placed directly behind a function declaration, or in the next line.
Spaces between variables in formulas and around operators. You can choose between tabs/spaces for indendation, and once I even saw the option for alphabetical ordering of classmembers, within a class declaration.
That feature came into my mind today, when I copy& pasted some code from another project into TheIDE. Because that other project used spaces and no tabs for indendation, TheIDE was not able to recognize the Blocks correctly, and messed something up with the colors. After I converted all the spaces into tabs, everything was alright. It was a lot of work though... And I like to have some "standardized" Form of Code.
I also used to work with another guy together on a project who had a complete different formating style in his code. The code formating thing helped us a lot in that situation, because everyone of us would just reformat the code the way he liked it with just two mouseclicks. 
Greetings, Tom
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 27 23:39:52 CEST 2025
Total time taken to generate the page: 0.03105 seconds
|