Commit Graph

1339 Commits

Author SHA1 Message Date
Alexey Sedunov 9d46c90165 Implement Unwrap/Remove for lambdas 2013-06-21 19:32:03 +04:00
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
Svetlana Isakova 342e9ebe7a KT-3563 Compiler requiring java.io.File, and it's unclear why
#KT-3563 fixed
2013-06-20 13:43:02 +04:00
Nikolay Krasko 935c5ec16d Add folding doc and multiline comments 2013-06-18 17:46:02 +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
Alexey Sedunov e13508c22b Add support of backticks in JetPsiMatcher 2013-06-13 20:19:31 +04:00
Zalim Bashorov 1e0f926d39 Fixed the expected test result for OverrideImplementTest#testFunctionWithTypeParameters. 2013-06-11 15:50:16 +04:00
Evgeny Gerashchenko 9b19685ec1 Merge branch master into pr/269 2013-06-10 17:40:37 +04:00
Nikolay Krasko d50300dedc Navigate to super for objects 2013-06-07 17:24:19 +04:00
Nikolay Krasko 994107ee0a Mix class object scope to member resolution scope in lazy resolve 2013-06-07 17:24:17 +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
Alexey Sedunov a2ee65e64c Add type tests for JetPsiMatcher 2013-06-05 15:03:19 +04:00
Alexey Sedunov 3a635c537e Move JetPsiMatcher with tests to plugin module 2013-06-05 15:03:17 +04:00
Wojciech Lopata 4bf7151e47 Make "type mismatch" quickfixes not available in case of error types 2013-05-29 14:58:34 +02:00
Wojciech Lopata 2a97617880 QuickFix: change type of constructor parameter to match value argument in invocation 2013-05-29 13:53:07 +02:00
Wojciech Lopata c6a378f4fb Rename directory with tests 2013-05-29 13:53:06 +02:00
Wojciech Lopata 0a541373a5 QuickFix: change property type to match expression returned by getter 2013-05-29 13:53:06 +02:00
Wojciech Lopata 16d9abf546 QuickFix: change type of overridden function to type of overridding function 2013-05-29 13:53:05 +02:00
Wojciech Lopata e08d9ee8da Fix quickFix for PROPERTY_TYPE_MISMATCH_ON_OVERRIDE 2013-05-29 13:53:04 +02:00
Wojciech Lopata 9fdbd01660 QuickFix: change type of overridden property to type of overridding property 2013-05-29 13:53:03 +02:00
Wojciech Lopata 0d65a1b789 Better text for ChangeVariableTypeFix 2013-05-29 13:53:02 +02:00
Wojciech Lopata 1a5d515972 QuickFix: change function return type to match expexted type of call 2013-05-29 13:53:01 +02:00
Wojciech Lopata 76e648ded3 QuickFix: change overloaded operator parameter type or return type 2013-05-29 13:53:00 +02:00
Wojciech Lopata d3492d8e6f QuickFix: change property type to match it's initializer type 2013-05-29 13:53:00 +02:00
Wojciech Lopata ed6e734c14 Single factory for TYPE_MISMATCH error 2013-05-29 13:52:59 +02:00
Wojciech Lopata 9b90ee2e80 ChangeFunctionLiteralReturnTypeFix for EXPECTED/ASSIGNMENT_TYPE_MISMATCH errors 2013-05-29 13:52:52 +02:00
Wojciech Lopata 44fa32c617 ChangeFunctionParameterTypeFix for TYPE_MISMATCH error 2013-05-29 12:22:41 +02:00
Wojciech Lopata b99e46b6f9 Cleanup in "type mismatch" tests 2013-05-29 12:22:40 +02:00
Wojciech Lopata 35fa071e1b Better behaviour of "Change Type" quickfixes in case of function types 2013-05-29 12:05:18 +02:00
Sergey Rostov f9e8683db5 KT-1545, KT-3161 KDoc formatter 2013-05-28 13:05:28 +04:00
Sergey Rostov 2ad1bfa743 KT-3161 JetCommenter implementation stub 2013-05-28 13:05:28 +04:00
Michał Sapalski cacb4b26e4 Support for generic classes in quickfix for NOTHING_TO_OVERRIDE 2013-05-28 12:02:55 +04:00
Michał Sapalski d4fc814d76 Quickfix for NOTHING_TO_OVERRIDE: add function to one of supertypes. 2013-05-28 12:02:54 +04:00
Nikolay Krasko 5ca4df3d1d KT-3618 Missing space in error message "inconstructor"
#KT-3618 Fixed
2013-05-20 17:56:26 +04:00
Nikolay Krasko ddb7b54eee KT-3620 Don't auto-import js.* and remove in optimize imports
KT-3620 Fixed
2013-05-20 17:56:24 +04:00
Nikolay Krasko f33792a567 Configure project descriptor with directives
Implement optimize import test with redesigned class
2013-05-20 17:56:23 +04:00
Nikolay Krasko 9bb2d90bca Go to implementation line markers for properties 2013-05-20 14:17:45 +04:00
Nikolay Krasko 3c087965f1 Add presentation renderer for field declared in constructor 2013-05-20 14:17:44 +04:00