KT-795: Insert brackets after applying function completion

This commit is contained in:
Nikolay Krasko
2011-12-12 15:16:16 +04:00
parent 92d8d2de72
commit 9ae40b270a
10 changed files with 188 additions and 6 deletions
@@ -0,0 +1,8 @@
fun test() {
}
fun other() {
te<caret>
}
// INSERT: test
@@ -0,0 +1,8 @@
fun test() {
}
fun other() {
test()<caret>
}
// INSERT: test
@@ -0,0 +1,6 @@
fun test(a: Int) {
}
fun other() {
te<caret>
}
@@ -0,0 +1,6 @@
fun test(a: Int) {
}
fun other() {
test(<caret>)
}