Create from usage: Support generation of Java fields from usages in Kotlin code
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Create property 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Disable 'Convert to Expression Body'
|
||||
// ACTION: Edit intention settings
|
||||
// ACTION: Create extension property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
fun test(a: A): String? {
|
||||
return a.<caret>foo
|
||||
}
|
||||
Reference in New Issue
Block a user