KT-17970 Intention actions to format parameter/argument list placing each on separate line

#KT-17970 Fixed
This commit is contained in:
Valentin Kipyatkov
2017-04-04 17:10:54 +03:00
parent 47fec6c9d5
commit 92a763552c
28 changed files with 293 additions and 0 deletions
@@ -0,0 +1,7 @@
fun foo() {
bar(
<spot>1,
"abcd",
false</spot>
)
}
@@ -0,0 +1,3 @@
fun foo() {
bar(<spot>1, "abcd", false</spot>)
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention formats a function call placing each argument on separate line
</body>
</html>
@@ -0,0 +1,7 @@
fun foo(
<spot>param1: String,
param2: Int,
param3: Any</spot>
) {
bar()
}
@@ -0,0 +1,3 @@
fun foo(<spot>param1: String, param2: Int, param3: Any</spot>) {
bar()
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention formats parameter list in a declaration placing each parameter on separate line
</body>
</html>