In projects with many developers it is useful if all their IDEs are configured with identical code style settings, such that you won't get pseudo-differences due to changed formatting checked into version control whenever someone else changes your code. You can try to convince everybody to import project standard formatting settings, but they might forget to do that on creating a new workspace and forget to adapt them whenever a change is necessary, so this will get lost over time.
So, is there a simple way to automate things such that everybody has the same settings and gets his settings changed automatically if they need to be updated - without them taking any action on their own?
Many of these settings are stored in .settings/org.eclipse.jdt.ui.prefs
if they are configured project local , so it would be feasible to checkin this file into version control but leave out the other files in .settings. Unfortunately the formatter settings are contained in the big bucket .settings/org.eclipse.jdt.core.prefs
, so you would have to do more complicated things to update these. So I am wondering if there are simpler / other options.
Clarification: In my experience many developers ignore requests to adapt the various code style settings in eclipse since they consider them unimportant. So I want to make it at least extremely easy for them to use the project standard settings, at best the codes style adaption should work completely without their cooperation - especially on updates of the coding style. I am looking for tools to do that.