Go to type declaration for functions
If I have this piece of code:
1 class Foo(foo: Int => String) {
2 def bar = {
3 ...
4 val a = foo(5)
5 ...
6 }
7 }
and while placing the caret on foo in line 4, I try to go to type declaration, it brings me to the declaration of Scala's Function1.
However, I would like to end up at the specific implementation of function foo inside my codebase.
Is there a way to achieve this with the current Scala plugin?
Thank you,
Nermin
请先登录再写评论。
ctrl+b + find usage?
It requires analyze data flow to here feature, which is not implemented for Scala. You can watch recently added issue: http://youtrack.jetbrains.com/issue/SCL-4592
Best regards,
Alexander Podkhalyuzin.