Idea formatting (wrapping) getting worse?

Have anyone noticed that Idea does not wrap correctly any more v4.0 was much
better at it. I can

For example:

throw new JDOUserException("More than one OrgUnit for " + fieldName + "='" +
code +"' were found :\n" + ou + " and\n" + iter.next());

gets formated as

throw new JDOUserException(
"More than one OrgUnit for " + fieldName + "='" + code + "' were
found :\n" + ou + " and\n" +
iter.next());

even thoug I have method param allignment set to true and wrapping for
method calls set to wrap if long

It use to produce

throw new JDOUserException("More than one OrgUnit for " + fieldName + "='" +
code +
"' were found :\n" + ou + " and\n" +
iter.next());


2 comments
Comment actions Permalink

Sorry my news gropup reader scrambled my post. May be this one will be better:

Have anyone noticed that Idea does not wrap correctly any more v4.0 was much
better at it. I can

For example:

throw new JDOUserException("More than one OrgUnit for " + fieldName + "='" + code +"' were found :\n" + ou + " and\n" + iter.next());

gets formated as

throw new JDOUserException(
"More than one OrgUnit for " + fieldName + "='" + code + "' were found :\n" + ou + " and\n" +
iter.next());

even thoug I have method param allignment set to true and wrapping for
method calls set to wrap if long

It use to produce

throw new JDOUserException("More than one OrgUnit for " + fieldName + "='" +
code + "' were found :\n" + ou + " and\n" + iter.next());

0
Comment actions Permalink

I filed a bug on this once, but it never got a JB response. The
suggestion was the community was to start with fresh IntelliJ settings.
Unfortunately, that did not work either. The editor appears to have a
problem with wrapping +String.

Alex Roytman wrote:

Sorry my news gropup reader scrambled my post. May be this one will be
better:

Have anyone noticed that Idea does not wrap correctly any more v4.0
was much
better at it. I can

>

For example:

>

throw new JDOUserException("More than one OrgUnit for " + fieldName +
"='" + code +"' were found :\n" + ou + " and\n" + iter.next());

>

gets formated as

>

throw new JDOUserException(
"More than one OrgUnit for " + fieldName + "='" + code + "'
were found :\n" + ou + " and\n" +
iter.next());

>

even thoug I have method param allignment set to true and wrapping for
method calls set to wrap if long

>

It use to produce

>

throw new JDOUserException("More than one OrgUnit for " + fieldName +
"='" +
code + "' were found :\n" + ou + " and\n"
+ iter.next());

>

0

Please sign in to leave a comment.