I wonder if for kotlin projects go to class should...
# intellij
c
I wonder if for kotlin projects go to class should also find top level functions and top level values. (it could be renamed to go to top level object) I know that i can use go to symbol, but that finds way more things.
1
e
doesn't it find nested classes too? "top-level constructs and nested classes" doesn't sound like they should go together really mesh as a single category…
personally, I'd be happy if find class also found the *Kt file facade class; that should still allow for navigating to top-level constructs pretty easily (assuming reasonable naming) without adding too much to that list
c
yes that would also be a solution
i created a youtrack about this: https://youtrack.jetbrains.com/issue/KTIJ-21430
c
looks somehow related but not the same
r
No its not the same but IMO it is preferable -- see my comment on your issue.
That ticket is basically what @ephemient said above, without the "also":
personally, I'd be happy if find class also found the *Kt file facade class; that should still allow for navigating to top-level constructs pretty easily (assuming reasonable naming) without adding too much to that list
e
I meant "also" as "in addition to the current find class functionality", not "in addition to top-level" so KT-10984 looks just right to me
👍 1
c
KT-10984 sure is a great improvement to the current situation.