Add name to argument intention to work not only on the last argument
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// INTENTION_TEXT: "Add 'a =' to argument"
|
||||
|
||||
fun foo(a: Int, b: String){}
|
||||
|
||||
fun bar() {
|
||||
foo(<caret>1, b = "")
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// INTENTION_TEXT: "Add 'a =' to argument"
|
||||
|
||||
fun foo(a: Int, b: String){}
|
||||
|
||||
fun bar() {
|
||||
foo(a = 1, b = "")
|
||||
}
|
||||
Reference in New Issue
Block a user