Commit Graph

22372 Commits

Author SHA1 Message Date
Valentin Kipyatkov 48ac89dca4 Refactored ConvertMemberToExtension to re-use original declaration instead of regenerating it by text
#KT-4920 Fixed
2015-05-14 01:10:02 +03:00
Valentin Kipyatkov ac9d75b45e KT-6632 "Convert to extension" intention should not be available on methods that override or implement a superclass method
#KT-6632 Fixed
2015-05-14 01:10:02 +03:00
Valentin Kipyatkov a23c6a2cdc Smaller range + refactoring of ConvertMemberToExtension 2015-05-14 01:10:02 +03:00
Valentin Kipyatkov 04ec19cb4a Converted ConvertMemberToExtension to Kotlin 2015-05-14 01:10:01 +03:00
Valentin Kipyatkov 518ea85c87 Renames 2015-05-14 01:10:01 +03:00
Valentin Kipyatkov a3bd6ca017 Introduced shortcut properties + getArrowNode -> getArrow 2015-05-14 01:10:00 +03:00
Valentin Kipyatkov d86e142366 Smaller range for SplitPropertyDeclarationIntention 2015-05-14 01:10:00 +03:00
Valentin Kipyatkov cb320bc0ac Moved function 2015-05-14 01:09:59 +03:00
Valentin Kipyatkov 4488a6719d Refactored DeclarationUtils 2015-05-14 01:09:59 +03:00
Valentin Kipyatkov 345076c11e Converted DeclarationUtils to Kotlin 2015-05-14 01:09:59 +03:00
Valentin Kipyatkov 269074b399 Smaller range fro SafeAccessToIfThenIntention 2015-05-14 01:09:58 +03:00
Valentin Kipyatkov 776e653421 Refactored SafeAccessToIfThenIntention 2015-05-14 01:09:58 +03:00
Valentin Kipyatkov 8a30d2d664 Avoid creation expressions by texts 2015-05-14 01:09:57 +03:00
Valentin Kipyatkov 749416434f Smaller range for IfThenToDoubleBangIntention 2015-05-14 01:09:57 +03:00
Valentin Kipyatkov 2b77fe2ff1 Refactored IfThenToDoubleBangIntention 2015-05-14 01:09:56 +03:00
Valentin Kipyatkov b94d6306a7 Minor 2015-05-14 01:09:56 +03:00
Valentin Kipyatkov ea168b0f6b Smaller ranges for intentions 2015-05-14 01:09:56 +03:00
Valentin Kipyatkov 4c275cb4ea Code refactoring 2015-05-14 01:09:55 +03:00
Valentin Kipyatkov a3360df424 Moved intentions from UnfoldBranchedExpressionIntention.kt into own files 2015-05-14 01:09:55 +03:00
Valentin Kipyatkov 3743e9f508 Refactored UnfoldBranchedExpressionIntention's getting rid of UnfoldableKind 2015-05-14 01:09:54 +03:00
Valentin Kipyatkov 2ea2be01cd Minor code refactorings 2015-05-14 01:09:54 +03:00
Valentin Kipyatkov a81f445190 Converted file to Kotlin 2015-05-14 01:09:53 +03:00
Valentin Kipyatkov 224e73e4f0 Inlined JetPsiFactory.createReturn 2015-05-14 01:09:53 +03:00
Valentin Kipyatkov ceb9b3d663 Fixed test data 2015-05-14 01:09:53 +03:00
Valentin Kipyatkov 71d9c4726b No more usages of createReturn(text) 2015-05-14 01:09:52 +03:00
Valentin Kipyatkov 67a5e8a69d Fixed bug in DeprecatedLambdaSyntaxFix 2015-05-14 01:09:52 +03:00
Valentin Kipyatkov ed595aab27 Fixed formatting problem + other way of creating returns 2015-05-14 01:09:51 +03:00
Valentin Kipyatkov 386be4bd10 Fixed formatting problem 2015-05-14 01:09:51 +03:00
Valentin Kipyatkov 8e2d381b85 Code simplifications 2015-05-14 01:09:51 +03:00
Valentin Kipyatkov 089267deee Refactored branched folding intentions into separate files and inlining methods from util 2015-05-14 01:09:50 +03:00
Valentin Kipyatkov 832b4fb8d8 Refactored FoldBranchedExpressionIntention removing common subclass and FoldableKind 2015-05-14 01:09:50 +03:00
Valentin Kipyatkov d77b77809c Code corrections after conversion 2015-05-14 01:09:49 +03:00
Valentin Kipyatkov b1ef08c9a1 Conversion to Kotlin (not compilable yet) 2015-05-14 01:09:49 +03:00
Valentin Kipyatkov b9486846e1 ElvisToIfThenIntention - smaller range + minor code improvements 2015-05-14 01:09:48 +03:00
Valentin Kipyatkov 3b7bb81141 Renamed methods so that tests for parsing do not fail 2015-05-14 01:09:48 +03:00
Valentin Kipyatkov 37ab41ac52 Added parameter info + isAvailable 2015-05-14 01:09:47 +03:00
Valentin Kipyatkov 43ccdf1036 Changed order of quickfixes 2015-05-14 01:09:47 +03:00
Valentin Kipyatkov 21eb2acd31 Shorter quickfix names 2015-05-14 01:09:47 +03:00
Valentin Kipyatkov e31f0ed829 Add constructor parameters quickfix reuses existing parameters 2015-05-14 01:09:46 +03:00
Valentin Kipyatkov 0952e9a63a Add constructor parameters quickfix works for multiple constructors 2015-05-14 01:09:46 +03:00
Valentin Kipyatkov 4ac2e29d28 Fixed error type case 2015-05-14 01:09:45 +03:00
Valentin Kipyatkov c6ebc50e6c Renaming test data files 2015-05-14 01:09:45 +03:00
Valentin Kipyatkov 381049d13e Fix for non-accessible constructor case 2015-05-14 01:09:44 +03:00
Valentin Kipyatkov a5dabac296 Refactored "Change to constructor invocation" and new "Add constructor parameters and use them" quickfixes into one factory, making the first one always available 2015-05-14 01:09:44 +03:00
Valentin Kipyatkov cd419c2ddf Moved test data 2015-05-14 01:09:44 +03:00
Valentin Kipyatkov 00dcbd4d93 Initial implementation of KT-4046 Support 'Create constructor matching superclass'
#KT-4046 Fixed
2015-05-14 01:09:21 +03:00
Valentin Kipyatkov 734b502ad6 Fixed test data 2015-05-14 01:00:30 +03:00
Valentin Kipyatkov df25adcb15 Smaller range for IfNullToElvisIntention and inspection 2015-05-14 01:00:29 +03:00
Valentin Kipyatkov 40f52f0216 Minor changes on code review 2015-05-14 01:00:29 +03:00
Valentin Kipyatkov 69c787dded Fixed resolveToDescriptor for parameter of catch block 2015-05-14 01:00:29 +03:00