Let’s say you have `data class Foo(val bar: String...
# getting-started
j
Let’s say you have
data class Foo(val bar: String)
. In IntelliJ , selecting
Foo
and hitting Alt-F7 only searches for the usages of the constructor. How do I make it search for all the usages of the class Foo?
e
my workaround:
data class Foo constructor(val bar: String)
selecting
Foo
searches for usages of class
Foo
, selecting
constructor
searches for uses for uses of the primary constructor
j
Thanks. That’s also my workaround. But it’s so annoying.
j
My workaround is to Ctrl+click on the opening parenthesis
I discovered it by accident and it works like a charm