beautification

C Code formatting/beautification tool..

When working on large code base with large team, its real challenge to maintain code quality and coding style. well, controlling code quality is a huge topic on its own. But control of code style could be simplified with a tool. We started using indent. Its real neat tool with huge set of options to configure. In the beginning we were ...

Anyone knows a good beautifyer for VS2005 / ASP.NET markup?

I'm looking for one those to help me in my fight against Visual Studio's propension to bollock up markup code in ASP.NET pages (especially when coming back from design view.) I might be old-fashioned, but I like be able to tell at a glance which element nests in which. Or, alternately, is there an option to turn that feature (markup ...

Php code formatter / beautifier and php beautification in general

Do you know any good tools for nicely formatting messy php code? Preferably a script for Aptana/Eclipse, but a standalone tool will do too. ...

One coding style policy, many beautification tools?

Are there any projects that help to show that two code beautification tools are configured to produce identical results? For example, suppose that a project has mandated a particular coding style. Further suppose that the developers of this project are free to use whatever development environment they feel makes them most productive. Th...

Online Code Beautifier And Formatter

What are the best online Code Beautifier And Formatter out there? I'm not asking for highlighters. Any language will do. ...

Are you compelled to eliminate syntactic cruft?

When you encounter working code that is unpleasing to the eye, how likely are you to refactor it? I know code aesthetics is mostly subjective, but I'm bothered a lot by "ugly" code and find it difficult to resist the urge to clean it up. I don't like: Heavy function nesting AndFinally(AndThenDoThis(DoThis(strVar, 1, DoThat("February"...

Best C++ Code Formatter/Beautifier

There are lots of source-code formatting tools out there. Which ones work best for C++? I'm interested in command-line tools or other things that can be automatically run when checking code in/out, preferably without needing to launch an editor or IDE. (If you see the one you like already listed as an answer, vote it up. If it's not ...

Stand-alone Java code formatter/beautifier/pretty printer?

I'm interested in learning about the available choices of high-quality, stand-alone source code formatters for Java. The formatter must be stand-alone, that is, it must support a "batch" mode that is decoupled from any particular development environment. Ideally it should be independent of any particular operating system as well. So, a ...

Eclipse: Is there any way to have all local variables aligned in Eclipse?

Eclipse has a great feature to allow you to align all your 'fields in columns' meaning that it will turn: int myVar = 2334; int asdf = 34; String s = "hello"; into int myVar = 2334; int asdf = 34; String s = "Hello"; This makes the code a lot more readable and I love it. However I can't seem to find a similar setti...

Tabs in .NET TabControl/TabPage are Ugly

I am creating tabs in C#'s TabControl, and while that is very easy to do, they are extremely ugly. I did some searching around the internet and found a company that sells graphical improvements to various GUI components in .NET, but that costs $400. Given that I am working on a master's project, that is out of the question, does anybod...

Create creative diagrams or find someone creative

This question might be slightly non-techy/dev, but I am sure many of you had a similar problem. We code, write test-cases, put comments in source-code (!), put messages in svn commit, write comments in tracked issues. We create ERD/class/usecase/.. diagrams with whatever tool. We might write user-manuals, wikis, guidelines,.. Not every...

Regex for beautify text

HI, I would like to create a function that beautify my text. For this I use a regex who remplace some characters, but it not run. Can you give me the regular expression for this : Replace the first letter by a caps Replace any underscore _ by a space So for example: the_pack_2 will be The pack 2. Thx ...

Is it acceptable having parameter in class constructor?

Guys for wc, a rubygem I'm writing and that is useful for counting word occurrences in a text, I choose to put 3 parameters in class constructor. The code is working, but I want to refactor it for niceness. In your experience, it's easier to read/mantain/use as API a class with a constructor with no params and a lot of setters/getters m...

Is placement and format of copyright statement relevant?

Every software I have seen, contain copyright statement at the beginning of a file and takes pretty much lines of comment. Therefore you have to scroll down to see the code, which is a bit annoying, especially when code itself is very short. I think that it would be nicer to keep copyright statement at the bottom of a file and join all ...

Tools to bracket conditional statement

Does anyone know of a tool which can beautify C++ code to add brackets to conditional statements? What I need to do is change: if ( myCondition ) setDateTime( date, time ); to if ( myCondition ) { setDateTime( date, time ); } but I've got to do this hundreds of times. I could probably write something in perl but don't want ...