How do you search for all usages of a class, even if a class isn't explicitly mentioned? For example:
Copy code
data class Test(val x: Int)
fun foo() = Test(3)
fun bar() {
val test = foo()
println(test)
}
Find usages of the Test class only yields the constructor call in
foo
, nothing about
bar
, even though it does obviously use it.
I looked trough the find unsages settings, and there you can select a couple more things, eg "usages of functions" and "usages of properties", but that still does't cover my
bar
example.
Is there a way to really find all usages?