Reformatting of javadoc broken in 6.0.4?

When I reformat code in 6.0.4 with right column wrapping turned on for javadoc, @see and {@link ...} references gets wrapped too, breaking IDEA's ability to properly parse the linked-to or @see-ed symbol. Like this example:

/**

  • ...

  • @see com.foobar.gazonk.MyClass#myClassMethod(Bork, Bork, Bork)

  • ...

*/

becomes when reformatted:

/**

  • ...

  • @see com.foobar.gazonk.

  • MyClass#myClassMethod(Bork, Bork, Bork)

  • ...

*/

...and while IDEA does not add red squiggles and linking mostly works, it still cannot parse it properly itself (with ctrl-Q for example): The star signs at the line breaks are not ignored. Is newlines in even allowed by the javadoc spec?

Please sign in to leave a comment.