KT-795: Insert brackets after applying function completion
This commit is contained in:
@@ -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>)
|
||||
}
|
||||
Reference in New Issue
Block a user