Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA: Show containing folder in 'project' sidebar.

I'm using IntelliJ IDEA 12.1.6., and I'm trying to figure out how to make a file's parent folder show in the 'project' sidebar when I open it. I'm pretty sure I had it set up that way in the past, but I can't find the relevant setting. I've tried googling to no avail. Any ideas?

like image 772
LeoPleurodon Avatar asked Oct 30 '13 17:10

LeoPleurodon


People also ask

How do I show the sidebar in IntelliJ?

From the main menu, select View | Appearance and enable or disable the necessary elements.

How do I change project structure view in IntelliJ?

To change settings of a module that hosts the file you are currently editing, just press Alt+F1, 7 or open the View menu, select Select In and click Project Structure. IntelliJ IDEA will open the Project Structure dialog and jump to the required module.

How do I show files in IntelliJ project Explorer?

If you right click somewhere inside any opened file or right click on it's tab there is option to `show file in explorer'.


2 Answers

Autoscroll from source option can be enabled under the gear icon in the Project tool window.

like image 121
CrazyCoder Avatar answered Oct 06 '22 23:10

CrazyCoder


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.

like image 39
ozandlb Avatar answered Oct 06 '22 22:10

ozandlb