Commit Graph

22386 Commits

Author SHA1 Message Date
Valentin Kipyatkov 462074df8c MergeWhenIntention code refactoring + smaller range 2015-05-14 01:10:09 +03:00
Valentin Kipyatkov 102aa661ee Moved intention based inspection classes to their intention classes + some renames 2015-05-14 01:10:08 +03:00
Valentin Kipyatkov 9a97818b82 Smaller range for SimplifyNegatedBinaryExpressionIntention 2015-05-14 01:10:08 +03:00
Valentin Kipyatkov fc3609d403 SimplifyNegatedBinaryExpressionIntention - no i18n + code simplification 2015-05-14 01:10:08 +03:00
Valentin Kipyatkov 0422cf402d RemoveExplicitTypeArguments - no i18n + minor 2015-05-14 01:10:07 +03:00
Valentin Kipyatkov 54051c40dc Moved 2 intentions from idea-analysis to idea 2015-05-14 01:10:07 +03:00
Valentin Kipyatkov addcadeddf Replace "contains" with "in" intention handles negation 2015-05-14 01:10:06 +03:00
Valentin Kipyatkov e601057e93 Smaller ranges for intentions 2015-05-14 01:10:06 +03:00
Valentin Kipyatkov 11812a9ece Renamed some intentions + test data dirs 2015-05-14 01:10:05 +03:00
Valentin Kipyatkov 096df91972 Renamed intentions package 2015-05-14 01:10:05 +03:00
Valentin Kipyatkov 8095aabd42 Refactored intentions to replace special name calls with operators 2015-05-14 01:10:04 +03:00
Valentin Kipyatkov fbc3fa2b09 KT-7212 Convert member function to extension intenton positions caret improperly
#KT-7212 Fixed
2015-05-14 01:10:04 +03:00
Valentin Kipyatkov 3222486dba Changed intention text to less confusing 2015-05-14 01:10:03 +03:00
Valentin Kipyatkov 5491523f05 Renamed intention class 2015-05-14 01:10:03 +03:00
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