Commit Graph

12 Commits

Author SHA1 Message Date
Tagir Valeev
1c84c9bef2 IDEA-219189 "Split into 2 if's" generates redundant 'else if' clause
GitOrigin-RevId: 0218fd86bb09eea638be20dd96bd248ce498a399
2019-08-05 04:02:41 +03:00
Tagir Valeev
31298c2000 IDEA-209300 Split into 2 if's doesn't work when I'm staying on the last symbol of && 2019-03-21 13:27:00 +07:00
Tagir Valeev
1318c26754 SplitConditionUtil: disable action for incomplete statement 2018-12-01 17:57:56 +07:00
Anna.Kozlova
7001ac6394 split if: ensure condition operands comparison stops at first non-equivalent sub condition (IDEA-196560) 2018-08-01 11:52:03 +02:00
Tagir Valeev
f805fa2840 SplitConditionUtil#createAndAnd: fix corner cases with ending line comment
Review ID: IDEA-CR-31527
2018-04-12 16:51:31 +07:00
Tagir Valeev
86bb492eb2 SplitIfAction and ExtractIfConditionAction code unified
Fixes IDEA-152047 Better "Split into 2 if's" result for else-if cases
2018-04-09 12:34:01 +07:00
Anna.Kozlova
04b2a7b199 enable split if with redundant parenthesis 2018-03-29 16:11:08 +02:00
Anna Kozlova
dba040b010 split if: assertion when no spaces present (IDEA-100389) 2013-02-04 14:07:10 +04:00
anna
130e95dbf8 split if: skip comments inside (IDEA-95297)
they should be restored though
2012-11-19 17:04:41 +01:00
anna
9aea03d01b split if: actually forbid splitting when different operations are on the left of binary expr (IDEA-64877) 2011-02-02 18:07:59 +01:00
anna
47f39e770c split if: unparenthesis (IDEA-56272) 2010-07-06 13:04:34 +04:00
Alexey Kudravtsev
2718da9fc7 more java tests moved to community 2010-06-25 12:46:40 +04:00