Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way, or tool, or add-in, to automatically format code so that each statement is on a single line and not word-wrapped across multiple lines? For example:

Before:

// Store our custom animation data in the Tag property of the model.
model.Tag = new SkinningData(animationClips, 
                             bindPose,
                             inverseBindPose);

After:

// Store our custom animation data in the Tag property of the model.
model.Tag = new SkinningData(animationClips, bindPose, inverseBindPose);

In other words, I'd like to take some code that is formatted like the Before example and get it to the After format.

share|improve this question

1 Answer 1

With uncrustify you can do a lot, unfortunately it has to be ran outside of the IDE (no integration)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.