This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 115292

Summary: option for blank lines before and after comments
Product: java Reporter: sid21177 <sid21177>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker CC: Mat2095, RomkeVanderMeulen
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description sid21177 2007-09-11 22:51:56 UTC
On the java code->formatting->blank lines tab

Can we get an option for inserting blank lines before single/multi-line comments as well.
This option is present in the jalopy formatter plugin for NB 6.0

thanks
Comment 1 bondolo 2007-12-17 23:28:42 UTC
I would like to plead for this issue as well with separate treatment for javadoc comments and plain comments.
Comment 2 Exilor 2013-12-29 03:08:38 UTC
The ability to add blank lines before and after in line code comments is important for visual separation of my code. Every time I use the formatter it removes blank lines after comments sticking it right on top of code. Any option to prevent this would be appreciated.
Comment 3 marcosaluzzo 2015-08-20 19:23:42 UTC
I would love this feature. Very annoying that all blank lines before my comments are removed.