[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] How to ensure consistent code format on CVS

I work in a small group of developers all working on a Java project. I have converted everyone to Eclipse. I like my code to look a certain way so I have created a profile under "Code style". The problem is, everyone else has their own particular way they like looking at the code. This leads to a problem when you format a whole class and then check it in to CVS; even if you only changed the content of one line of code, the Eclipse DIFF makes it look like everything has changed. Is there any way to automatically reformat a java file into the group format as it is being checked in. This way, we can each have our own style profile, but when we check in to CVS, it automatically will reformat to a standard style so that when you do a DIFF it will only show real changes. Has anyone seen a plugin out there that would do this or have any idea of how to do it in Eclipse?