Commit Graph

12 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 7f0065c806 Fix OperatorToFunctionIntention: insert function literal expressions to arguments correctly 2015-12-17 11:11:29 +03:00
Yan Zhulanow 9d1af5a17e Fix tests: "infix modifier required" and "operator modifier required" errors 2015-11-27 15:51:11 +03:00
Valentin Kipyatkov 34298190b3 Use unaryPlus() and unaryMinus() instead of plus() and minus() + no identityEquals() 2015-10-30 17:25:35 +03:00
Valentin Kipyatkov 612f9b1041 Comments and formatting preseving added 2015-10-22 18:48:17 +03:00
Valentin Kipyatkov 311bd5f25d One more test added 2015-10-22 18:48:16 +03:00
Valentin Kipyatkov a3d9085ddd Disabled "Convert to get/set call" intention where it did not work correctly anyway 2015-10-22 18:48:16 +03:00
Valentin Kipyatkov c6978d6b69 KT-9450 «Replace overloaded operator with function call» breaks code for index access result saved to variable
#KT-9450 Fixed
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov dc6c6f13d5 OperatorToFunctionIntention and SwapBinaryExpressionIntention: more narrow availability range + no i18n 2015-04-16 22:00:52 +03:00
Stanislav Erokhin 3de0dff575 Migrate testdata to new lambda syntax 2015-04-07 13:08:53 +03:00
Alexander Udalov fe544eaf71 Rename jet -> kotlin in idea: intentions
org.jetbrains.jet.plugin.intentions -> org.jetbrains.kotlin.idea.intentions
2015-01-13 01:14:37 +03:00
Evgeny Gerashchenko fda7aeecfb Simplified CodeTransformationTest. Only one doTest method remains, intention class is moved to test data. Merged other intention tests (SpecifyTypeExplicitlyTest, ConvertToBlock/ExpressionBodyTest) into this one. 2014-07-10 15:05:17 +04:00
Jeremy Kaplan b3842285e8 Implemented Operator To Function intention action.
Converts +a, --a, a * b, a..b, a %= b, a in b, etc. to their function call counterparts.
2014-05-12 21:04:51 +04:00