Mikhail Glukhikh
|
bec28c8388
|
Replace with for-each: add new-lines using comment saver
Related to KT-15858
|
2018-02-28 11:29:44 +03:00 |
|
Toshiaki Kameyama
|
7f880bf58c
|
Replace with for-each: add new-line if necessary #KT-15858 Fixed
|
2018-02-28 11:18:21 +03:00 |
|
Kirill Rakhman
|
a895a3e3de
|
ConvertToForEachFunctionCallIntention: convert 'continue' to 'return@forEach'
Fixed #KT-11764
|
2016-04-05 18:48:02 +02:00 |
|
Natalia Ukhorskaya
|
6a3ac66208
|
Intention tests: add runtime where necessary
|
2015-12-17 11:11:23 +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
|
5d0b42ee71
|
ConvertToForEachFunctionCallIntention preserves comments outside of body too
|
2015-05-27 16:15:54 +03:00 |
|
Valentin Kipyatkov
|
8b44c93667
|
JetPsiFactory.createByPattern supports PsiChildRange as argument, used it in ConvertToForEachFunctionCallIntention
|
2015-05-27 16:15:54 +03:00 |
|
Valentin Kipyatkov
|
333445d93e
|
Fixed Convert to foreach intention loosing comments
|
2015-05-27 16:15:52 +03:00 |
|
Valentin Kipyatkov
|
b0aca040d8
|
"JetPsiFactory.createExpressionByPattern" and some usages of it
|
2015-05-14 01:00:24 +03:00 |
|
Valentin Kipyatkov
|
6421f48c07
|
Further code improvements during review
|
2015-04-16 22:00:54 +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 |
|
Pradyoth Kukkapalli
|
33fd82cf45
|
New Intention: Replace for loop with forEach
Replaces an expression of the form “for (i in list) { … }” with an
expression of the form “list.forEach { i -> … }”
|
2014-05-07 14:01:37 +04:00 |
|