Commit Graph

30 Commits

Author SHA1 Message Date
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
8d226594ff Put comments and whitespaces under body in script files
It's more consistent to normal function body for IDE.
Doc comments in file beginning are now sticks to declarations
correctly.
Moving declarations at the end of scripts is fixed
2017-08-07 12:17:17 +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
3d0d82b862 Fix tests for move: check applicability from changed text
Presentation status has stopped working after 18ce2c6070
2016-09-20 15:26:36 +03:00
Valentin Kipyatkov
06db49bab7 Restored lost tests 2016-05-10 15:41:33 +03:00
Nikolay Krasko
85bc32a884 Adjust move code tests for KEEP_FIRST_COLUMN_COMMENT option
#KT-4175 In Progress
2016-03-16 12:38:21 +03:00
Mikhail Glukhikh
adf43519d6 Code mover fix: correct commas / semicolons after enum entries, relevant test fixes, extra tests 2015-08-11 10:38:20 +03:00
Dmitry Jemerov
f93eeeb563 fix tests by adding missing 'init' keywords to testdata 2015-04-29 14:07:05 +02:00
Alexey Sedunov
2dbfd1fc4c Move Statement: Fix comma placement for class parameter
#KT-6672 Fixed
2015-01-30 21:16:27 +03:00
Alexander Udalov
044f7b6156 Rename jet -> kotlin in idea: refactoring, codeInsight
org.jetbrains.jet.plugin.* -> org.jetbrains.kotlin.idea.*
2015-01-13 01:15:08 +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
71a0d4cc45 KT-4018 When moving members move comments too 2013-10-15 18:44:00 +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
fa01d59ef8 Fixed moving of classes without body 2013-06-21 18:18:07 +04:00
Alexey Sedunov
62bdb37014 Do not move closing brace in function-like elements 2013-06-05 15:51:32 +04:00
Alexey Sedunov
7805ee01eb Fix moving of value parameters and arguments 2013-06-05 15:51:27 +04:00
Alexey Sedunov
cda940f415 Add support of "braceless" blocks 2013-06-05 15:51:15 +04:00
Alexey Sedunov
30e333c670 Allow to move "when entry" at closing brace 2013-06-05 15:51:10 +04:00
Alexey Sedunov
5345d0a0d5 Fix moving of value/type parameters 2013-06-05 15:50:59 +04:00
Alexey Sedunov
57edbdfbc4 Allow moving out to arbitrary blocks and moving any declaration into class body 2013-06-05 15:50:53 +04:00
Alexey Sedunov
b00ec82884 Implement "move expression up/down" action handler 2013-06-05 15:50:47 +04:00
Alexey Sedunov
fe8891299b Implement "move class-level declaration up/down" action handler 2013-06-05 15:50:41 +04:00