Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Matela2019-01-03 21:27:25 +0000
committerMateusz Matela2019-01-03 21:27:25 +0000
commit899f65ee2192a7f140cb9fc744ce9c17288627c3 (patch)
tree93647c9499b1aee6d3914651fb7690cc5362aeb4
parentb8c4e6ceaa0e9ed8269c1883728630b929b65477 (diff)
downloadnews-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.pngbin0 -> 8699 bytes
-rw-r--r--4.11/jdt.html14
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
new file mode 100644
index 00000000..4905b0db
--- /dev/null
+++ b/4.11/images/formatter-wrap-binary-expressions.png
Binary files differ
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 &gt; Java &gt; Code Style &gt; Formatter &gt; Edit...</b>) under the <b>Line Wrapping &gt; Wrapping settings &gt; 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">

Back to the top