Fix InteliJ code formatter instructions

Update CONTRIBUTING.adoc with improved code formatter instructions.

Fixes gh-1271
pull/1487/merge
Phillip Webb 10 years ago
parent 650e326ae7
commit d0f493cbea

@ -16,10 +16,12 @@ given the ability to merge pull requests.
None of these is essential for a pull request, but they will all help. They can also be None of these is essential for a pull request, but they will all help. They can also be
added after the original pull request but before a merge. added after the original pull request but before a merge.
* Use the Spring Framework code format conventions. Import `eclipse-code-formatter.xml` * Use the Spring Framework code format conventions. If you use Eclipse and you follow
from the `eclipse` folder of the project if you are using Eclipse. If using IntelliJ, the ``Importing into eclipse'' instructions below you should get project specific
copy `spring-intellij-code-style.xml` to `~/.IntelliJIdea*/config/codestyles` and select formatting automatically. You can also import formatter settings using the
spring-intellij-code-style from Settings -> Code Styles. `eclipse-code-formatter.xml` file from the `eclipse` folder. If using IntelliJ, you can
use the [Eclipse Code Formatter Plugin](http://plugins.jetbrains.com/plugin/6546)
to import the same file.
* Make sure all new `.java` files to have a simple Javadoc class comment with at least an * Make sure all new `.java` files to have a simple Javadoc class comment with at least an
`@author` tag identifying you, and preferably at least a paragraph on what the class is `@author` tag identifying you, and preferably at least a paragraph on what the class is
for. for.

Loading…
Cancel
Save