Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .