Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: All my projects disappeared from Project Explorer

Tags:

eclipse

People also ask

How do I restore project Explorer in Eclipse?

In Eclipse, if the Project Explorer pane is not already open, click the Show View icon in the lower left corner of Eclipse, then click Project Explorer.

Why can't I see my projects in Eclipse?

Hi, The proper way of doing it it to right click in the package explorer and select "Import -> General -> Existing project" into the workspace and then import your projects. The presence of a project in the folder of the workspace is not enough to ensure that Eclipse will show you your projects.

Where are my Eclipse projects?

By default projects in Eclipse are stored under your workspace. You get asked where your workspace is created or which one to open whenever you open Eclipse, but you can configure it to not ask you again.

How do I see all projects in Eclipse?

To view the project explorer, click on Window menu then, click on Show View and select Project Explorer. There is simpler way to open project explorer, when you are in the editor press alt + shift + w and select project explorer.


This happened to me. I'm still not sure how, but the reason was that my workspace meta data had become corrupted, probably due to Eclipse being improperly shutdown. The solution, as explained here, is to:

Note, steps 2 & 3 are optional if Eclipse isn't crashing, but just not showing any projects.

  1. Close Eclipse.
  2. cd /home/user/workspace/.metadata/.plugins
  3. mv org.eclipse.core.resources org.eclipse.core.resources_bak
  4. Start Eclipse
  5. Do File->Import
  6. General->Existing Projects into Workspace
  7. Click the "Select root directory" field and browse to each subfolder in your workspace folder, and import.

For me, this was very tedious, since I had several dozen projects in my workspace, but it's the only solution I found short of restoring my entire workspace from a backup.

Edit: This answer is now quite old, and better solutions may now exist. Although I haven't had need to try it, I recommend attempting @antonagestam's solution first, as others have suggested it may be faster and more effective.

Edit: Since it's fairly simple, I'd recommend trying antonagestam's solution first. However, this problem recently re-occurred for me, and that solution did not work in my case. But neither did it interfere with this solution.


I had the same problem in Aptana, all of a sudden my projects were gone. Solved it by going to the drop-down menu in Project Explorer and going Top Level Elements -> Projects.


Go to

File --> Import --> General --> Existing Project into Workspace

Then, In Root Directory Enter the workspace path where all your projects saved & click refresh as below

enter image description here

And Click Finish

enter image description here


I was having the same problem for Android projects in Eclipse. This link was very helpful in restoring the missing projects.

  1. Go to 'File->Import->General->From Existing Project'.
  2. Select the root folder to the Workspace.
  3. Click on the 'Refresh' button.
  4. Select the required projects and click 'Finish' button.