Reputation: 4707
Is there a shortcut in Eclipse to jump to or select the root element of the current project in the package explorer.
Thanks
Upvotes: 5
Views: 1111
Reputation: 962
I'm not sure I understand the question correctly. Do you always want to jump to the root of the project?
Just in case you just meant the parent element, that can be done with the left arrow. Press once to jump to the parent, twice to collapse it. If you want to go all the way to the root without collapsing anything try pressing the left-up arrows in quick succession.
Upvotes: 0
Reputation: 18998
I tend to just use the "collapse all" button on the project explorer. If you use working sets, then you'll need to expand the relevant one to see your project, but otherwise I think that's as close as you'll get.
Upvotes: 1