Commit Graph

22396 Commits

Author SHA1 Message Date
Valentin Kipyatkov 1ad5ea4f7e Corrected test data 2015-05-14 01:10:13 +03:00
Valentin Kipyatkov 841d07f1aa More correct fix of getEnclosingElementForLocalDeclaration( 2015-05-14 01:10:13 +03:00
Valentin Kipyatkov d67b678a65 Minor changes after review 2015-05-14 01:10:12 +03:00
Valentin Kipyatkov d09c1e7c5b "Invert if" - handling some more cases 2015-05-14 01:10:12 +03:00
Valentin Kipyatkov 279b406bca "Invert if condition" intention works better for non-symmetric if's
#KT-5009 Fixed
2015-05-14 01:10:11 +03:00
Valentin Kipyatkov 181af17315 KT-7704 Intention actions on visibility modifier for quick changing it
#KT-7704 Fixed
2015-05-14 01:10:11 +03:00
Valentin Kipyatkov ad91d2cd9e Removed unused deprecated constructors 2015-05-14 01:10:10 +03:00
Valentin Kipyatkov d95b198da7 Refactored (and more correct) getOutermostLastBlockElement and its usages 2015-05-14 01:10:10 +03:00
Valentin Kipyatkov 38ac420057 Fixed bug in MergeWhenIntention 2015-05-14 01:10:10 +03:00
Valentin Kipyatkov 6456729973 Better intention text 2015-05-14 01:10:09 +03:00
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