Insert space between ) and statement body

This commit is contained in:
Nikolay Krasko
2013-11-13 19:06:29 +04:00
parent c50804a3f3
commit 7587e8ffcb
3 changed files with 23 additions and 1 deletions
@@ -123,6 +123,8 @@ public class JetFormattingModelBuilder implements FormattingModelBuilder {
.aroundInside(ELSE_KEYWORD, IF).spaces(1)
.betweenInside(RPAR, THEN, IF).spaces(1)
.between(RPAR, BODY).spaces(1)
;
}
@@ -5,4 +5,14 @@ fun f() {
}
for (i in array(1, 2)) {
}
for (i in array(1, 2)) {
}
for (i in array(1, 2)) continue
for (i in array(1, 2))
{
}
}
+11 -1
View File
@@ -1,9 +1,19 @@
fun f() {
for(i in array(1, 2)) {
for(i in array(1, 2)) {
}
for (i in array(1, 2)) {
}
for
(i in array(1, 2)) {
}
for
(i in array(1, 2)){}
for(i in array(1, 2))continue
for (i in array(1, 2))
{
}
}