On Monday 06 August 2007 12:52:08 Stephan Rose wrote:
Easy solution to that. I'm in absolute heaven with this feature...
Eclipse 3.3 with CDT has an automatic code formatting feature, Ctrl +Shift+F, my favorite keyboard shortcut now. =)
May want to load some files into that and run that over the file to instantly clean up stuff like that. You can tweak the code style to your liking too.
Is there an option to make git commit ignore whitespace-only changes? Otherwise you'll be in hell of a mess trying to commit your changes. Formatting-only patches usually aren't accepted.
Cheers, Kai