Add intentions to put arguments / parameters on one line #KT-23266 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-03-26 15:49:49 +03:00
committed by Mikhail Glukhikh
parent 96581f1ecb
commit 03902030ed
28 changed files with 285 additions and 33 deletions
+1
View File
@@ -0,0 +1 @@
org.jetbrains.kotlin.idea.intentions.JoinParameterListIntention
@@ -0,0 +1,2 @@
fun test(<caret>
a: Int, b: Int, c: Int) {}
@@ -0,0 +1 @@
fun test(a: Int, b: Int, c: Int) {}
@@ -0,0 +1,7 @@
// INTENTION_TEXT: "Put parameters on one line"
fun test(
a: Int,
b: Int,<caret>
c: Int
) {}
@@ -0,0 +1,3 @@
// INTENTION_TEXT: "Put parameters on one line"
fun test(a: Int, b: Int, c: Int) {}
@@ -0,0 +1,3 @@
// IS_APPLICABLE: false
fun test(a: Int, b: Int, c: Int<caret>) {}
+3
View File
@@ -0,0 +1,3 @@
// IS_APPLICABLE: false
fun test(<caret>) {}
@@ -0,0 +1,3 @@
fun test(<caret>
a: Int
) {}
@@ -0,0 +1 @@
fun test(a: Int) {}