Community
Participate
Working Groups
Hi, My Eclipse formatter is currently set to wrap after 120 characters. However, on formatting, it will sometimes keep lines over that amount. For example, if you format the following piece of code with the attached formatter, it will return as being valid on 1 line. Checkstyle immediately has a heart attack, and says it's over 120 characters (which is correct). Oddly, if I set it to wrap after 110 characters, it will in fact wrap at a point that would be valid for that many characters. :S public boolean hasMinInputs() { return (hasSecurityType() || hasTriplet() || hasCustodianCash() || hasCustodianStock() || hasHoldingId() || hasImagineSite()); } Thanks, Michael
Created attachment 233867 [details] Eclipse Formatter
Probably a duplicate of bug 303519 or bug 349535?
This problem no longer occurs after the formatter redesign. *** This bug has been marked as a duplicate of bug 303519 ***