Commit Graph

1339 Commits

Author SHA1 Message Date
Nikolay Krasko 0a2ca39f88 Search implementations for properties from constructor parameters 2013-05-20 14:17:43 +04:00
Nikolay Krasko 5cc49f55f3 KT-3542 Can't navigate to property implementation
#KT-3542 Fixed
2013-05-20 14:17:41 +04:00
Nikolay Krasko 312bd6f828 Get PsiMethod wrappers for properties and property accessors 2013-05-20 14:17:24 +04:00
Nikolay Krasko d97ab29588 Add test for wrapping function with default parameters 2013-05-20 14:15:02 +04:00
Nikolay Krasko cef1bb2aba Add test for wrapping function without body 2013-05-20 14:02:49 +04:00
Nikolay Krasko aac7f84c25 Fix absence of implemented/overridden markers on overridden functions 2013-05-20 14:02:46 +04:00
Michał Sapalski b2bb581127 Quickfix for MIXING_NAMED_AND_POSITIONED_ARGUMENTS. 2013-05-17 13:01:29 +04:00
Alexey Sedunov d5739bbe7f Fix negative quickfix tests which use when 2013-05-16 16:31:43 +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
Michał Sapalski 68cd832831 Search in all superclasses in quickfix for NOTHING_TO_OVERRIDE. 2013-05-15 10:33:19 +04:00
Natalia.Ukhorskaya 32c5f5f59d EA-46019 - assert: PropertyCodegen.generatePropertyDelegateAccess: delegate type can be null when delegate expression is unresolved and back-end called from light class generation 2013-05-14 15:38:49 +04:00
Jack Zhou 5bd144313d Create from usage: Fixed case for multi-declaration in a for-loop. 2013-05-12 23:51:02 -04:00
Jack Zhou ea14607576 Create from usage: Made CreateGetFromUsage7 test clearer. 2013-05-12 23:50:45 -04:00
Jack Zhou ec15d5fee4 Create from usage: Renamed all references of 'method' to 'function'. 2013-05-12 23:50:44 -04:00
Jack Zhou eadb73c9f8 Create from usage: Using UnsupportedOperationException for the file template instead. 2013-05-12 23:50:41 -04:00
Jack Zhou c7c8c096f7 Create from usage: Removed quickfix for NO_CLASS_OBJECT. 2013-05-12 23:50:40 -04:00
Jack Zhou b7fe134b61 Create from usage: Added tests. 2013-05-12 23:50:36 -04:00
Alexander Kirillin 41045d2a1e new quick fixes: add parameter, remove parameter, change function literal signature 2013-05-07 21:15:27 +04:00
Alexander Kirillin 5499bea181 fix for change signature when the order of named arguments is non-trivial 2013-05-07 21:15:26 +04:00
Evgeny Gerashchenko cb2f24b1cc Not loading SAM constructors for FunctionN classes. 2013-05-07 18:50:44 +04:00
Mohammad Shamsi 4b656d8c8d KT-3257 Bad diagnostics when trying to instantiate a private class
#KT-3257 Fixed
2013-05-07 13:14:43 +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
Nikolay Krasko 82cac8ed26 KT-3503 Can't navigate to implementation of kotlin functions
#KT-3503 Fixed
2013-05-01 16:53:29 +04:00
Natalia.Ukhorskaya b88981f678 Workaround for appearance of PsiClass from runtime in JavaDescriptorResolver 2013-04-30 21:47:26 +04:00
Andrey Breslav 42505246b8 Module descriptions in XML 2013-04-29 17:59:51 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Michał Sapalski 01c4826b06 Quickfix for NOTHING_TO_OVERRIDE 2013-04-29 15:44:06 +04:00
Evgeny Gerashchenko 837ab0ac4f Updated test data since another quick fix is available. 2013-04-26 14:03:06 +04:00
Wojciech Lopata b3a87d943a CastExpressionFix 2013-04-26 13:13:20 +04:00
Alexander Kirillin 0a597e563a Implemented "Change signature" refactoring 2013-04-25 21:13:33 +04:00
Wojciech Lopata 9b11db7a74 ChangeFunctionReturnTypeFix for TYPE_MISMATCH error 2013-04-24 14:34:20 +02:00
Wojciech Lopata 893cbd6b48 Quickfix for RETURN_TYPE_MISMATCH and NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY 2013-04-24 12:21:28 +02:00
Wojciech Lopata cd0e1b7508 RmoveUnnecessaryParenthesesIntention 2013-04-19 08:41:31 +02:00
Nikolay Krasko 37f25f2ee1 KT-2258 Plugin does not suggest to import objects
#KT-2258 Fixed
2013-04-19 01:10:53 +04:00
Nikolay Krasko 2b8cac44bb Test for KT-1322 There's no autoimport suggested for traits
#KT-1322 Fixed
2013-04-19 01:10:52 +04:00
Zalim Bashorov a4c02da10d Merge pull request #244 from lopekpl/type_mismatch3
QuickFix for EXPECTED_PARAMETER/RETURN_TYPE_MISMATCH
2013-04-17 07:35:08 -07:00
Wojciech Lopata d396c08454 QuickFix for EXPECTED_PARAMETER/RETURN_TYPE_MISMATCH (ChangeTypeFix) 2013-04-17 15:28:57 +02:00
Wojciech Lopata 0543b73099 Fix failing assertion in ChangeFunctionTypeFix 2013-04-17 09:22:33 +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