IntelliJ IDEA: Show containing folder in 'project' sidebar.
Autoscroll from source option can be enabled under the gear icon in the Project tool window.
Doesn't the Projects sidebar show the project's entire directory structure?
As an alternative, if you go to View -> Navigation Bar, you can see the selected file's path on the top left.