Is there a way to get Eclipse to save the state of the project explorer tree and expand to where it was on startup? Every time I shut down Eclipse and start it back up, the file I had open last is opened, but the tree in the project explorer is completely collapsed...
Expand all all in project explorer is Shift + Numpad * (multiplty), as mentioned before. Collapse all in project explorer is Ctrl + Shift + Numpad - (subtract). Alternatively, you can just jam on the right arrow to expand to the bottom of a selected tree, or jam on the left arrow to collapse back up to the top.
Found it! If you click the "Link with Editor" (the button that has a left arrow over a right arrow) button in the Project Explorer, it expands the tree in the project explorer to the file you're currently editing. This is a toggle button and its state is saved when closing Eclipse. So when you open it back up, your project explorer is expanded to the file that is currently open.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With