With intellij idea, how do I find out what makes a variable be visible?
An example of when it is hard:
- Suppose you look at
class A
, and you see a variablesomething
. If you jump to source you see that it's defined intrait X
. But you don'textend
traitX
directly. What do you extend, then, that makes this variable visible? If you have a deeply nested hierarchy, tracking can be hard.
Any recommendations or solutions?
EDIT: Please vote for the feature if you're interested: http://youtrack.jetbrains.com/issue/IDEA-124369