Community
Participate
Working Groups
Using 3.4 candidate I20080617-2000. Working on fix for bug 233259, I discovered that the comment formatter does not work properly with the string references. The following test case: public class Test { /** * @see "string reference: 01234567" * @see "string reference: 012345678" * @see "string reference: 01234567 90" * @see "string reference: 01234567890123" */ void foo() { } } is formatted as follow using Eclipse built-in + 'max line width for comments'=40: public class Test { /** * @see "string reference: 01234567" * @see * "string reference: 012345678" * @see * "string reference: 01234567 90" * @see * "string reference: 01234567890123" */ void foo() { } } I would expect the string reference to stay on the same line than the @see tag... Note that 3.3 formatter behavior is worst as it splits the string, hence producing a javadoc syntax error: public class Test { /** * @see "string reference: 01234567" * @see "string reference: * 012345678" * @see "string reference: 01234567 * 90" * @see "string reference: * 01234567890123" */ void foo() { } }
This bug will be fixed by patch posted on bug 233259: https://bugs.eclipse.org/bugs/attachment.cgi?id=105695 So, move the target to 3.4.1...
Released for 3.5M1 in HEAD stream.
There's no way to split bug 233259 patch to extract specific change which fixes this bug. So, set this bug as duplicate instead of dependent... *** This bug has been marked as a duplicate of bug 233259 ***
Verified for 3.5M1 using I20080805-1307
Verified for 3.4.1 using M20080827-2000