Reputation: 1514
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
Reputation: 13451
There is Artistic Style which is a CLI source code formatter for C, C++, C# and Java.
Upvotes: 2