How to find where a symbol comes from?
Answered
Imagine you have multiple wildcard imports in a source file. Or a class/interface that extends multiple interfaces of a deep hierarchy. You've just encountered a symbol and would like to know which expression in the file is responsible for bringing it into scope. Is there any way to highlight such expression in IntelliJ IDEA?
PS: I know multiple ad-hoc ways of figuring this out, but am looking for a shortcut, "single click" solution.
Please sign in to leave a comment.
Hello,
Could you please provide code example demonstrating the issue?
Sure, for example:
Currently there is no such feature. Feel free to create request on YouTrack: https://youtrack.jetbrains.com/issues/IDEA