Formatter does not support Ratliff style [message #1719835] |
Tue, 12 January 2016 14:04 |
H.Merijn Brand Messages: 2 Registered: January 2016 |
Junior Member |
|
|
Our developers currently use jIndent in both Eclipse and Netbeans, and years and years of discussions and compromises lead us to use Ratliff- or banner-style ( en.wikipedia.org/wiki/Indent_style#Ratliff_style ) for brace placements in all languages used: C, perl, java, ruby
The managers want to save money and abolish jIndent and use the default formatters in the IDE and asked me to find where they fall short.
So far I have not spotted an option in NetbeansEclipse' java formatter to select indentation of the closing brace.
Did I miss it? Is there an option to get the NetbeansEclipse java formatter to do what we want?
if (c.isFoo ()) {
if (c.isBar ())
return;
String str = c.getActionDescription ();
if ("ABORT".equals (str)) {
process.abort ();
LOG.info ("Process aborted");
}
else
LOG.info ("Process will do " + str);
}
Please don't answer if all you do is vent the opinion that you think that is a stupid style. You are entitled to have your own opinion and I agree that you may disagree with the required layout/style: end of argue. Note that it is not up to you to set developer-group rules. I'm just seeking the option to use this style, and jIndent is supporting that.
[Updated on: Wed, 13 January 2016 13:23] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03243 seconds