Bug 334964 - Javadoc Formatter should keep single empty rows.
Summary: Javadoc Formatter should keep single empty rows.
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 19:10 EST by Kai Hackemesser CLA
Modified: 2011-01-20 19:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.