Create From Usage: Place generated declarations next to original element container if they have common parent
#KT-6687 Fixed
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
class A {
|
||||
val baz = 1
|
||||
|
||||
fun test() {
|
||||
val a: A = foo()
|
||||
}
|
||||
|
||||
private fun foo(): A {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user