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 246334

Summary: Multiline alignment for chained methods in Java
Product: editor Reporter: tp21
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: markiewb, moghrabi, tp21
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description tp21 2014-08-07 18:53:19 UTC
There's not an option to align chained methods in:

Tools -> Options -> Formatting -> Java -> Alignment -> Multiline Alignment

so when you do that you get what is set in:

Tools -> Options -> Formatting -> Java -> Tabs And Indents -> Continuation Indentation Size

Here's an example here of what I mean with formatting:

http://forums.netbeans.org/topic61515.html

would be nice with the streams api?
Comment 1 brettryan 2014-10-16 02:19:06 UTC
It's becoming more so important with the stream API. I could have sworn that NB used to support this at some time though, alas installing prior versions I can't seem to find it.
Comment 2 lvaills 2015-10-27 16:24:28 UTC
Working more and more with some fluent APIs, this lack of formatting is quite unfortunate; Even more when the team's members can do it with other IDEs.