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 262446 - Change order of line wrapping priorities
Summary: Change order of line wrapping priorities
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 14:32 UTC by wvreeven
Modified: 2016-06-15 14:32 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 wvreeven 2016-06-15 14:32:25 UTC
When a line is very long and contains both an assignment and method parameters, then the editor prefers to wrap the line at the method parameter instead of at the assignment.

When a line is very long and contains a method call for which the method parameter is a statement that concatenates multiple Strings with a + symbol (a bad practise that I try to avoid but am not always able to), for instance a log statement, then the editor will first wrap the line at the method parameter and then breaks up the concatenation of the Strings.

In both cases I would prefer to give wrapping at the method parameters a lower preference over the other wrapping. Thanks for making it so!