Let’s say you download and extract a project such as Joomla and you want to add it to your namespace. Intuitively, you would think that you could just copy the extracted folder to your namespace and close and reopen Eclipse and all of a sudden the project magically appears. Guest what? It does not work that way.
I am not going to curse at Eclipse because simply it is free, but we could benefit from Eclipse having a initialize script that checks for new folder at the root of the namespace and prompt us to make choice whether or not we want to create a project using this new directory. It is just common sense.
Here are the step that worked for me:
(FYI: eclipse version: 220.127.116.1100216-1730)
1. Copy a .project file from an existing project to your php folder (Joomla in this case) 2. Open .project file and change the name of the project to the new project. 3. Then Open Eclipse and go to File->Import... 4. Select your root folder and then click finish.
That seems to be a lot of work, for something that simple.