mark-cs
mark-cs

Reputation: 4707

Eclipse project root shortcut

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

Answers (3)

derio
derio

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

mark-cs
mark-cs

Reputation: 4707

Looks like there is no user friendly way to do this :(

Upvotes: 0

dty
dty

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

Related Questions