Hi,
I have tried to put up a
java code formatter based on how the JForum code looks today.
But it seems to be imposible to set up a logic that fits all the different classes. Can we agree on a code standard for our java code?
The main problem I see is that we for if/for/++ statements keep the bracket on the same line
but for try-blocks the bracket gets on its own line. I'm not able to configure this in eclipse.
It is possible to fix for try/cactch, but then if/for/++ brackets will also be on a new line.
Attached is the exported Eclipse formatter file, that show how close I get.
[originally posted on jforum.net by lazee]