Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334964

Summary: Javadoc Formatter should keep single empty rows.
Product: [Eclipse Project] JDT Reporter: Kai Hackemesser <kaha>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Kai Hackemesser CLA 2011-01-20 19:10:34 EST
Build Identifier: 

I'm missing an option in the formatter settings to remove unneeded empty rows but one.

if this option is enabled the javadoc or the block comment should format from 
<code>
/*(*) 
 *
 * This is a comment.
 * 
 *
 * This is a separate paragraph in the comment
 *
 *
 * @author kaha@gmail.com
 */
</code>

into

<code>
/*(*) 
 * This is a comment.
 *
 * This is a separate paragraph in the comment
 *
 * @author kaha@gmail.com
 */
</code>

If I'm turning on the currently existing "Remove blank lines" feature, it formats into 

<code>
/*(*) 
 * This is a comment. This is a separate paragraph in the comment
 *
 * @author kaha@gmail.com
 */
</code>

Reproducible: Always

Steps to Reproduce:
see above.