Skip to content

Commit

Permalink
Merge pull request alibaba#292 from imu2008/formatter
Browse files Browse the repository at this point in the history
修复Eclipse不同版本格式化结果不一致问题
  • Loading branch information
SeanCai committed Apr 3, 2018
2 parents 2d699c9 + 9a6a16b commit 3ccb0fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p3c-formatter/eclipse-codestyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@
<!--Java:BINARY_OPERATION_SIGN_ON_NEXT_LINE-->
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>

<!--ASSIGNMENT_WRAP 需要设置为 WRAP_AS_NEEDED WRAP_AS_NEEDED-->
<setting id="org.eclipse.jdt.core.formatter.wrap_before_assignment_operator" value="true"/>
<!--ASSIGNMENT_WRAP 需要设置为 WRAP_AS_NEEDED WRAP_AS_NEEDED . Add in jdt.core-3.12,it's not work in previous version -->
<setting id="org.eclipse.jdt.core.formatter.wrap_before_assignment_operator" value="false"/>

<!--IDEA无配置项,Eclipse使用对应值即可-->
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
Expand Down

0 comments on commit 3ccb0fb

Please sign in to comment.