Skip to content
asturio edited this page Oct 12, 2019 · 4 revisions

Code Conventions

  • The Java code in OpenPDF should be indented with 4 spaces.

So from now on, please use our Style Guide for Java code. This is a very short modification of the Google Guide for Java code: https://google.github.io/styleguide/javaguide.html

The differences are only: Indentation by 4 spaces, Continuation by 8 spaces. This way there should be not much reformatting in the project.

For IntelliJ: https://github.com/LibrePDF/OpenPDF/blob/master/intellij-java-openpdf-style.xml For Eclipse: Help wanted