bot47
bot47

Reputation: 1514

Is there a tool to tidy up C++ code?

In Visual Studio there is a function (I guess it's shortcut was ^+E followed by D) to automatically indent the code and clean up whitespace.

I'm now on Mac OS X doing C++ and like to have something similar. A CLI tool would be great. Is there something like this?

Upvotes: 0

Views: 603

Answers (1)

Juraj Blaho
Juraj Blaho

Reputation: 13451

There is Artistic Style which is a CLI source code formatter for C, C++, C# and Java.

Upvotes: 2

Related Questions