diff options
| author | Mateusz Matela | 2019-01-03 21:27:25 +0000 |
|---|---|---|
| committer | Mateusz Matela | 2019-01-03 21:27:25 +0000 |
| commit | 899f65ee2192a7f140cb9fc744ce9c17288627c3 (patch) | |
| tree | 93647c9499b1aee6d3914651fb7690cc5362aeb4 | |
| parent | b8c4e6ceaa0e9ed8269c1883728630b929b65477 (diff) | |
| download | news-899f65ee2192a7f140cb9fc744ce9c17288627c3.tar.gz news-899f65ee2192a7f140cb9fc744ce9c17288627c3.tar.xz news-899f65ee2192a7f140cb9fc744ce9c17288627c3.zip | |
Bug 543080 - [formatter] wrapping binary expressions: separate options
for operator types - UI
| -rw-r--r-- | 4.11/images/formatter-wrap-binary-expressions.png | bin | 0 -> 8699 bytes | |||
| -rw-r--r-- | 4.11/jdt.html | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/4.11/images/formatter-wrap-binary-expressions.png b/4.11/images/formatter-wrap-binary-expressions.png Binary files differnew file mode 100644 index 00000000..4905b0db --- /dev/null +++ b/4.11/images/formatter-wrap-binary-expressions.png diff --git a/4.11/jdt.html b/4.11/jdt.html index 48e6d5c5..1f3f9148 100644 --- a/4.11/jdt.html +++ b/4.11/jdt.html @@ -77,6 +77,20 @@ ul {padding-left: 13px;} <h2>Java Formatter </h2> </td> </tr> + <tr id="wrap-binary-expressions"> + <td class="title">Line wrapping settings for binary operators</td> + <td class="content"> + Instead of a single line wrapping setting for binary expressions, there's now a whole section of <b>settings for various kinds of binary operators</b> (multiplicative, additive, logical, etc.). + There are settings for <b>relational</b> (including equality) and <b>shift operators</b>, which were not covered by the old setting. + Also, <b>string concatenation</b> can now be treated differently from arithmetic sum. + <p> + The settings can be found in the Profile Editor (<b>Preferences > Java > Code Style > Formatter > Edit...</b>) under the <b>Line Wrapping > Wrapping settings > Binary expressions</b> subsection. + </p> + <p> + <img src="images/formatter-wrap-binary-expressions.png" alt="" /> + </p> + </td> + </tr> <tr id="javadoc-tags-indent"> <td class="title">Indent Javadoc tag descriptions</td> <td class="content"> |
