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 257551 - Support Ratliff- or banner-style
Summary: Support Ratliff- or banner-style
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-13 13:18 UTC by hmbrand
Modified: 2016-01-13 13:18 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hmbrand 2016-01-13 13:18:14 UTC
Please add an option to the java formatter to indent closing braces so that Ratliff- or Banner-style can be supported

https://en.wikipedia.org/wiki/Indent_style#Ratliff_style
http://astyle.sourceforge.net/astyle.html#_style=banner

If this option is added, we might have a reason to move more Eclipse users to netbeans. Currently neither Eclipse nor Netbeans support this style, and our company uses the commercial jIndent product instead of the native formatters. Having Ratliff brace-style support in Netbeans would save a plugin and gain programmers that use this style.

As I see it, the only option missing from the formatter options is an option to indent the closing brace(s).