-
Notifications
You must be signed in to change notification settings - Fork 677
Coding Convention
There is no code convention for OpenPDF now. I'd like to discuss this in this page. The historic code show lot of different styles, what renders the code sometimes really unreadable.
After we have a a decision we could write a settings file for Eclipse. (IntelliJ can import these settings).
Write down your suggestion in it's own section. If you agree with one of the conventions, put some "+1" in the existing section.
I would recommend using this Code Convention from Sun:
http://www.oracle.com/technetwork/java/codeconventions-150003.pdf
This convention is well covered from the default settings in IntelliJ and Eclipse.
The only exception for the conventions would be line length. I recommend 120 characters per line.
File Encoding: UTF-8 (ASCII is a subset of it, so there should be no Problem with existing code)