How to automatically navigate to current class in IntelliJ IDEA Project Tool Window?
intellij-idea
Solution
`Navigate` (`View` in older versions)| `Select In...` (Alt+F1), Project View (Enter).
It's also possible to enable Autoscroll from Source option in the `Project View` so that current file is automatically selected.
Problem
I would like to have a keyboard shortcut in IntelliJ IDEA that has the following effect: the tree in the project tool window expands to show the currently open class (or file), and this class becomes selected in the tree. Is this possible?