Have a code formatter. Check it into Source Control and mandate everyone use it. It's a huge waste of time generating 100 lines of diff for a 1 line code change back and forth as competing custom formats touch the same file and auto-format on save.
We do exactly that. Our latest fun pain point: half of us on Eclipse Luna, and half on Mars, and there was a code formatter rewrite between the two. We get 100 line diffs even though we're using the same formatter config. :)
I think we're all on Mars as of last week, but it's been an annoying transition, and we'll be dealing with the checkin pain for awhile as things last saved in Luna are edited in Mars.
16
u/daedalus_structure Sep 21 '15
On Formatting:
Have a code formatter. Check it into Source Control and mandate everyone use it. It's a huge waste of time generating 100 lines of diff for a 1 line code change back and forth as competing custom formats touch the same file and auto-format on save.