Commit Graph

20 Commits

Author SHA1 Message Date
Toshiaki Kameyama 3c1b41c020 Move statement: move into lambda correctly
#KT-17887 Fixed
2020-05-09 22:08:02 +02:00
Toshiaki Kameyama 19824201e2 Move statement: do not move into lambda beyond 'if/when/try/for/while'
#KT-9065 Fixed
2020-05-09 22:08:02 +02:00
Nikolay Krasko fc4865a440 Don't extend to comments when a comment is being moved (KT-23461) 2019-09-16 16:57:48 +03:00
Toshiaki Kameyama ed28a06285 Move statement: move expression over comments (KT-23461)
#KT-23461 Fixed
2019-09-16 16:57:48 +03:00
Toshiaki Kameyama 7b8abc5457 Move statement: enable expression ended with semicolon (KT-8581)
#KT-8581 Fixed
2019-09-16 16:26:02 +03:00
Toshiaki Kameyama 9d6b36c249 KT-20282 'Move statement up' works incorrectly for statement after 'finally' block if 'try' block contains closure 2018-03-20 20:39:17 +03:00
Toshiaki Kameyama 3f96e1dabc Move statement up/down fails for multiline declarations with lambdas (KT-21013)
#KT-21013 Fixed
2018-03-05 16:10:59 +03:00
Nikolay Krasko 6194bc10f8 Move statement out of top-level lambda in scripts (KT-19322)
#KT-19322 Fixed
2017-08-07 12:12:41 +03:00
Nikolay Krasko 45013ce8af Fix formatting for multiline binary expressions
#KT-4797 Fixed
2014-05-16 17:09:50 +04:00
Alexey Sedunov 0e9875aec3 Support moving into "else" branch of conditional expression
#KT-3877 Fixed
2014-01-29 15:58:53 +04:00
Alexey Sedunov 609154bab3 Generalize movable element constraint
#KT-4468 Fixed
 #KT-4376 Fixed
2014-01-29 15:58:51 +04:00
Alexey Sedunov e13abf2444 KT-4274 #Fixed 2013-12-17 01:41:19 +04:00
Alexey Sedunov d80512f68a Fix move when multi-line elements have shared lines 2013-09-06 19:41:17 +04:00
Alexey Sedunov b3b948ac39 Fix movement bug when expression is followed/preceded by comment at the functional literal block boundary 2013-09-06 19:41:15 +04:00
Alexey Sedunov f700870bea KT-3791 (Move statement moves lambda parameters out of lambda itself) Fixed 2013-09-06 19:41:14 +04:00
Alexey Sedunov 6e513f067f KT-3736 Fixed: "Move Statement Down doesn't work to improperly formatted code" 2013-07-10 18:46:09 +04:00
Alexey Sedunov 3a881672e8 KT-3732 "Move statement" should respect DSLs 2013-07-09 18:33:33 +04:00
Alexey Sedunov 4a19d4f77b Fix "Move statement" for the cases when nested closure is used (KT-3735) 2013-07-08 19:16:58 +04:00
Alexey Sedunov cda940f415 Add support of "braceless" blocks 2013-06-05 15:51:15 +04:00
Alexey Sedunov b00ec82884 Implement "move expression up/down" action handler 2013-06-05 15:50:47 +04:00