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.

link|improve this question

feedback

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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