Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [incubation] Project Release Coding Style

You can configure the Java Editor to perform auto-actions on save, potentially on a per-project basis. I have never enabled it on my code because I have never adjusted formatting styles to match my longer line wrapping preferences.

Some projects, notably EMF, have very esoteric code styles which I find that I always need to emulate by hand.

Note that if code formatting is configured on a per-project basis, this configuration is stored in git so that anyone checking out the project and using Eclipse will automatically check in correctly formatted code. This is how we do it in Mylyn and it means we don't have code formatting as a part of our release process - all the code is already always correctly formatted.

Cheers,
Sam

Back to the top