What is the IntelliJ equivalent from Eclipse, show file in the package explorer view

You can highlight a file you have open in the editor in a number of views using the Select In...menu that can be opened using ALT-F1 when the editor window has the cursor.

The most usual ones (Project/Packages) are found under the menu opened by ALT-F1 and then right arrow.


You can also double click the circle/cross button ontop of the Project view

it will show you the current active file in the project structure

enter image description here


You can turn on Autoscroll from source in Project Tool Window so that the file/class to the left is scrolled to as soon as you open a file for edit.

If this option is on, IntelliJ IDEA automatically navigates from a file in the editor to the corresponding node (file, class, field, method, etc.) in the Project tool window. Note that selecting this option makes the Scroll to Source button unavailable.