Commit Graph
8 Commits
Author SHA1 Message Date
Tagir Valeevandintellij-monorepo-bot 298c5663d5 IDEA-243020 Unroll loop: support enum.values()
GitOrigin-RevId: cd921c0446083fc0f81fdab57fd3b14b3d60f12b
2020-06-10 06:48:29 +03:00
Tagir Valeevandintellij-monorepo-bot c180e2cec5 IDEA-243019 Unroll loop: get loop size from dataflow
GitOrigin-RevId: 0ba4a16c098414fcb539502446b6cd138922f398
2020-06-10 06:27:06 +03:00
Bas Leijdekkers 27c17db32b IG: make ExpressionUtils.resolveLocalVariable() skip parentheses 2019-03-08 11:32:41 +01:00
Tagir Valeev 91b269f9fb CountingLoop: support decreasing loops
Fixes IDEA-190412 Unroll loop action: support decreasing loops
2018-04-17 17:48:00 +07:00
Tagir Valeev ff3d49c50d UnrollLoopAction: comment handling fixed 2017-12-04 17:45:10 +07:00
Tagir Valeev cdd80f8de4 UnrollLoopAction: support counting loop; limit max iterations to unroll 2017-10-09 11:24:05 +07:00
Tagir Valeev 7345e8b0ef UnrollLoopAction: fixes according to review IDEA-CR-24513
1. Check that loop parameter is not written
2. Support List.of, Collections.singleton, Collections.singletonList
3. Support if w/o braces
4. Support break not in last position
2017-09-18 16:37:40 +07:00
Tagir Valeev 94a5fea51d IDEA-178774 Unroll loop intention action 2017-09-12 09:25:51 +07:00