views:

30

answers:

0

Hi,

we are using an eclipse formatting profile, that states that line width is 125 characters and that the method parameters should be wrapped when necessary. Now this line does not get broken in two:

    public FeaturePart(final Long fooBarBarBarBar, final String foo, final int sequenceNumber, final boolean fooBarBarBazBar) {

Note that the characters beyond 125th are non-letters. Checkstyle with the same line-width setting (125 characters) complains about the length of this line.

Is there a way to make the eclipse autoformatter and checkstyle line-width check consistent at this point? I have tried to find any settings that might help in both checkstyle and formatter but failed.