Commit Graph

8 Commits (958a0a45f164601d01cb706c19f22ed3e25eff56)

Author SHA1 Message Date
Andy Wilkinson ee409482b3 Enable the use of formatter off and on tags in Eclipse
This commit enables the use of // @formatter:off and // @formatter:on
to surround lines of code that should not be formatted. It also adds
a code template that can be used to quickly wrap the selected lines
of text with the off and on comments.

Closes gh-5050
9 years ago
Phillip Webb b779e8e4fc Add custom Eclipse code formatter
Update Eclipse settings to make use of a custom Spring formatter
implementation. Using a custom formatter allows us to fix a couple of
issues with the version that shipped with Eclipse Mars.1 (Eclipse bugs

The custom formatter also means that it is possible to use Groovy
Eclipse despite the fact that it has formatter regressions (see
https://github.com/groovy/groovy-eclipse/issues/142).

Fixes gh-4136
9 years ago
Phillip Webb 653d2b2b4e Tweak eclipse settings
- Update whitespace after inline generics
- Use a more sensible import order
- Update Javadoc warning settings
9 years ago
sopov.ivan fa7199ddac Fix Eclipse 4.5 formatter settings
Fixes gh-3384
10 years ago
Phillip Webb ccdbfd274f Fix Java 8 Javadoc compatibility
Update Javadocs to fix errors caused by Java 8 aggressive linting.

Fixes gh-2233
10 years ago
Phillip Webb 20766078d0 Update eclipse code formatter settings for Luna 11 years ago
Phillip Webb 764a0a9af8 Minor change to code formatting 12 years ago
Dave Syer fb6b224470 Fast forward existing prototype work 12 years ago