Php – How to make “PHP Explorer” (project explorer?) area persistent between sessions in eclipse/PDT

configurationeclipseeclipse-pdtPHP

PHP Explorer is the eclipse PDT tab (the leftmost in standard configuration) where you can browse the folders of your project. I believe the same tab in standard eclipse is called "Project Explorer" but I am not sure.

What happens to me is that when I close and reopen eclipse, although the files that were open at close time are still open on relaunch of eclipse, all my folder hierarchy in PHP Explorer (where I had various folders open at close time) is displayed collapsed.

Is there away to tell eclipse to reopen all my folders the way they were at close time?

Thank you in advance for your time!

Best Answer

For the sake of quick access to a file deep in the hierarchy, I use the following:

Ctrl-Shift-R (Open Resource) dialog/Start typing filename/open file

If I also want to see the file in the hierarchy, I use:

Right click/Show In/PHP Explorer

EDIT: I've just discovered another option. In the upper right of PHP Explorer control, there is the "Link with editor" button, and it makes the PHP Explorer automatically show the part of the tree containing the file being edited.