Community
Participate
Working Groups
Hi, i have the problem, that the Eclipse 3.1 Java source formatter breaks some of my code lines in a bad way ... It makes out of something like [..] if (log.isDebugEnabled()) { log.debug(dbNode + " already exists, skipping creation"); } [..] this ugly layout: [..] if (log.isDebugEnabled()) { log .debug(dbNode + " already exists, skipping creation"); } [..] It would perfectly fit into one line, why he breaks the line? I haven't found an option to avoid this behaviour. This is a small example. I have a bigger one, where the formatter makes this: [..] if (log.isDebugEnabled()) log .debug("We have " + childOfChildProductIDList.size() + " obejctID(s) (->" + childOfChildProductIDList + ") for child of child-object-ID " + parentID + " to create links to from existing nodes with child-object-ID=" + childID); [..] out of an compact code block. I hope, it is only a small bug and easy to fix, but at the moment it is some kind of a showstopper to use the formatter.
moving to core.
*** This bug has been marked as a duplicate of bug 59891 ***
It was in fact more a duplicate of bug 264112, hence it's fixed since 3.6M5. *** This bug has been marked as a duplicate of bug 264112 ***
verified for 3.6M7 using build I20100426-0852