Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Open in New Window

Tags:

eclipse

In Package Explorer I right-clicked on project and selected "Open in New Window". New Eclipse window was opened with that project. Then I closed old, "main" Eclipse window, so only new "project" window remained.

Now each time I launch Eclipse I have this "project" window with project name in window title and Package Explorer drilled down into this project. And I need to press "Up" button in Package Explorer to see all my projects.

How can I restore default behaviour and launch Eclipse with workspace scope and not project?

like image 617
3biga Avatar asked Dec 21 '11 11:12

3biga


2 Answers

My original answer: Once you get the Package Explorer the way you want it, if you exit Eclipse cleanly it should come back that way.

My revised answer: It looks like a bug, even if you exit cleanly it comes back inside of the project. And in fact when you create a new window no matter what it puts you into the project. Even if you switch to the project explorer.

I found a way to fix it though, do a Window -> Close All Perspectives, then open the Java perspective and exit and come back in and you should be OK. I have filed this bug about it.

like image 60
Francis Upton IV Avatar answered Sep 25 '22 14:09

Francis Upton IV


Close the project properly " File --> Close All", Then restart eclipse. OR you can create a new work space " File --> Switch Workspace --> Other..."

like image 42
demo.b Avatar answered Sep 23 '22 14:09

demo.b