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 - Multiline alignment for chained methods in Java
Summary: Multiline alignment for chained methods in Java
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal with 4 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-07 18:53 UTC by tp21
Modified: 2015-10-27 16:24 UTC (History)
3 users (show)

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 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.