Commit Graph

12 Commits

Author SHA1 Message Date
Alexey Sedunov
158c2753b8 Transform 'if' to 'when' with subject if possible 2013-05-15 18:57:27 +04:00
Alexey Sedunov
ee9b96e943 Fix caret positioning in unfolded assignments 2013-05-15 18:51:08 +04:00
Alexey Sedunov
5dc08a5d25 Add tests with multiple conditions types in 'when' 2013-05-15 18:50:39 +04:00
Alexey Sedunov
d30e8d88fb Get rid of excessive replaces 2013-05-15 12:57:59 +04:00
Alexey Sedunov
7dd5a2cfa4 Add tests for 'if-when' and 'when' transformations 2013-05-15 12:57:57 +04:00
Alexey Sedunov
09b4a5afa3 Add tests for unfolding to 'when' 2013-05-15 12:57:42 +04:00
Alexey Sedunov
64e578297c Replace fold/unfold intentions with a set of specialized ones 2013-05-15 12:57:41 +04:00
Alexey Sedunov
d5e78c3bd5 Add support of comments in asymmetric returns 2013-05-15 12:57:38 +04:00
Alexey Sedunov
8757e3763b Remove redundant tests 2013-05-15 12:57:37 +04:00
Alexey Sedunov
f473224e84 Add tests for folding/unfolding operations 2013-05-15 12:57:30 +04:00
Wojciech Lopata
cd0e1b7508 RmoveUnnecessaryParenthesesIntention 2013-04-19 08:41:31 +02:00
Alexey Sedunov
af8c3792f6 Tests for code transformation: if statement with assignments <-> assignment with if expression 2013-04-04 15:52:17 +04:00