Community
Participate
Working Groups
Build Identifier: Declare an annotation on a piece of java syntax, for instance, a type: @NamedQuery(name = RegistrationUserEntity.listRegUsersWithStatus, query = "SELECT ru FROM RegistrationUserEntity ru WHERE ru.status = :status") public class RegistrationUserEntity { When the annotation declaration exceeds the margin, it does not wrap. I would expect to see this instead: @NamedQuery(name = RegistrationUserEntity.listRegUsersWithStatus, query = "SELECT ru FROM RegistrationUserEntity ru WHERE ru.status = :status") public class RegistrationUserEntity { Presumably, a new section should be added to the "Line Wrapping" tab of Formatter Profile settings that deals specifically with annotations. This section should allow configuration of where to wrap arguments and how to indent them. I'm uncertain whether the fact that annotation arguments can take an assignment too qualifies it for special treatment. Reproducible: Always
What is your build id? It definitely sounds like a duplicate of bug 282030...
Build is I20100129-1300, will try M6.
Closing as duplicate, please reopen if you think it's another issue, thx *** This bug has been marked as a duplicate of bug 282030 ***
By setting "Wrap where necessary" for Annotations->Element-value pairs, this works good. Verified for 3.6RC1 using build I20100513-150
Verified.