Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij highlight file in Project Explorer

In Eclipse, one can choose a File in Editor, right click and hight-light the file in Project Explorer. That will expand the tree, and one can see the file highlighted. I'm wondering how one can accomplish the same in Intellij IDEA.

like image 917
Vineel Avatar asked Sep 12 '25 05:09

Vineel


2 Answers

There is a shortcut: ALT + F1 then select 1.Project View.

Or you can press Scroll from Source button:

enter image description here

like image 164
Ruslan Avatar answered Sep 13 '25 19:09

Ruslan


It's a very easy to do.

Go to the setting of the explorer and click on setting (three dots) -> Click the option as highlighted (Always Select Opened File)

That is all you need.

enter image description here

like image 33
Indrajeet Gour Avatar answered Sep 13 '25 19:09

Indrajeet Gour