Intentions: Implement "Add names to call arguments" intention
#KT-14729 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(x: Int, y: Int, comment: String) {
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
<spot>foo(x = 24, y = 42, comment = "Hello")</spot>
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(x: Int, y: Int, comment: String) {
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
<spot>foo(24, 42, "Hello")</spot>
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention adds names to all positional arguments of a function call according to the named argument syntax.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user