Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 115292 - option for blank lines before and after comments
option for blank lines before and after comments
Status: NEW
Product: java
Classification: Unclassified
Component: Editor
All All
: P3 with 4 votes (vote)
Assigned To: Dusan Balek
Depends on:
  Show dependency treegraph
Reported: 2007-09-11 22:51 UTC by sid21177
Modified: 2016-11-25 22:52 UTC (History)
2 users (show)

See Also:


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

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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo