Commit Graph

387 Commits

Author SHA1 Message Date
Alexey Sedunov 8964e0e152 Implement Unwrap/Remove for conditionals and loops 2013-06-21 18:18:08 +04:00
Alexey Sedunov fa01d59ef8 Fixed moving of classes without body 2013-06-21 18:18:07 +04:00
Alexey Sedunov 6f942a21de Move intention-related classes and tests to "intentions" directory 2013-06-13 20:19:38 +04:00
Alexey Sedunov 12ea273ac0 Simplify unfolding of properties, fix caret position 2013-06-13 20:19:35 +04:00
Alexey Sedunov 3ab393e460 Implement split/join property declaration 2013-06-13 20:19:34 +04:00
Alexey Sedunov f9c4606128 Introduce 'when' subject: consider equality right-hand side as subject candidate 2013-06-13 20:19:32 +04:00
Zalim Bashorov 1e0f926d39 Fixed the expected test result for OverrideImplementTest#testFunctionWithTypeParameters. 2013-06-11 15:50:16 +04:00
Alexey Sedunov 3f2ff3eb24 Add code transformations for if/when in local property initializers 2013-06-07 17:05:05 +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
Nikolay Krasko 9bb2d90bca Go to implementation line markers for properties 2013-05-20 14:17:45 +04:00
Nikolay Krasko aac7f84c25 Fix absence of implemented/overridden markers on overridden functions 2013-05-20 14:02:46 +04:00
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
Nikolay Krasko 0c749005e1 KT-3498 Show overrided/implemented line marker
#KT-3498 Fixed
2013-05-01 16:53:32 +04:00
Nikolay Krasko 0e95581bca Test not only line marker number but also their position 2013-05-01 16:53:31 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Wojciech Lopata cd0e1b7508 RmoveUnnecessaryParenthesesIntention 2013-04-19 08:41:31 +02:00
Andrey Breslav c422e4194d Reverting pull request 240 2013-04-12 15:25:52 +04:00
Michał Sapalski d875bf80cb Fixed regression in rendering generic types upper bounds. 2013-04-12 12:49:00 +04:00
Michał Sapalski 97796f9b0f Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-12 12:49:00 +04:00
Alexey Sedunov af8c3792f6 Tests for code transformation: if statement with assignments <-> assignment with if expression 2013-04-04 15:52:17 +04:00
Evgeny Gerashchenko 53f775e98d Test for KT-488 Implement members breaks in generic classes
#KT-488 obsolete
2013-03-14 20:49:42 +04:00
Natalia.Ukhorskaya 3d4a5256e6 Surround with: move declaration out from block 2013-02-21 15:30:26 +04:00
Natalia.Ukhorskaya c11be77aa1 Do not apply ExpressionSurrounders for expressions with Unit type and for call expressions inside qualified expression 2013-02-18 17:30:52 +04:00
Natalia.Ukhorskaya 7c360a0ede Add surround with function literal 2013-02-18 17:21:16 +04:00
Natalia.Ukhorskaya 7789062c7c Add try-catch, try-finally, try-catch-finally surrounders 2013-02-18 17:12:47 +04:00
Natalia.Ukhorskaya 654fa09fff Add when surrounder 2013-02-18 17:00:39 +04:00
Natalia.Ukhorskaya 814ca0385a Add string template surrounder 2013-02-18 17:00:34 +04:00
Natalia.Ukhorskaya 856bffb324 Add parentheses surrounder 2013-02-18 17:00:03 +04:00
Natalia.Ukhorskaya 09ca020780 Add surround with not 2013-02-13 17:21:05 +04:00
Natalia.Ukhorskaya 2499bb79ca Add surround with if /else 2013-02-13 17:21:04 +04:00
Natalia.Ukhorskaya 1786c2c256 Add surround with if 2013-02-13 17:21:03 +04:00
Natalia.Ukhorskaya b55b3f95f4 Fix tests: wrong test data (internal visibility shouldn't be displayed after overriding a function) 2013-02-07 13:33:06 +04:00
Natalia.Ukhorskaya 74f05bf659 Write protected keyword overriding java package protected function 2013-02-06 21:54:20 +04:00
Natalia.Ukhorskaya 7f28540e62 Add internal keyword overriding package(java) visibility 2013-02-06 21:54:16 +04:00