Hi David, this might be an eclipse config. Open preferences and go to Java / Editor / Save Actions. There you can select to format the code on save of a file. Maybe this option is switched on for you.
That said I think it would make sense to have a common formatter for the code. In CXF we have checkstyle checks for the formatting as well as an eclipse formatter. It helps a lot to make sure that the code is formatted in the same way by everyone and makes it easier to spot actual changes. On the other hand the cxf formatting rules are a bit strange regarding imports so without all the formatters installed it is a pain... So like
most of the time it is a two edged sword ... Christian On 25.04.2017 03:51, David Jencks wrote:
For reasons unclear to me Eclipse has started saving modified files reformatted with the felix eclipse code template. This, to put it mildly, has shown that the code isn’t formatted with the template, and I can’t fish out my actual changes by hand. What would people think if I reformatted the entire DS project and checked in the result? I’m hoping that I can convince git to end up showing me my actual changes after this exercise. In a somewhat separate issue, I have so far been unable to convince Eclipse to let me open the R7 branch, so it’s possible someone else may have to apply similar changes to that. thanks david jencks
-- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com
