Introduce "add parameter names to following arguments"

This commit also refactors relevant intentions & inspections,
like "add name to argument", "add names to call arguments",
"unnamed boolean literal argument"

#KT-30622 Fixed
This commit is contained in:
Mikhail Glukhikh
2019-05-06 15:45:51 +03:00
parent f26a4e06bd
commit 955bfd6e7b
21 changed files with 189 additions and 77 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
fun foo(s: String, b: Boolean){}
fun bar() {
<caret>foo("", true)
foo(<caret>"", true)
}
@@ -1,5 +1,5 @@
fun foo(s: String, b: Boolean){}
fun bar() {
<caret>foo(s = "", b = true)
foo(<caret>s = "", b = true)
}