phpeclipseprojectlaneclipse-pdt

Running Eclipse php project from a shared folder


I have been using Eclipse Kepler along with PDT tools on local system to manage PHP projects and its turned out to be a better choice for me then the other editors around. Only problem I've found in this environment is that content assist is only available when you open a file residing in the workspace.

Now my problem, I am assigned to work on a PHP Project which is on another system on the local LAN network. Is there any way I can add that project folder to eclipse? so that I can directly edit and save the files on the remote system?

Things I can't look into for various reasons

Thanks


Solution

  • I managed to get what I want by creating what you call a Symbolic Link in c:\wamp\www (using WAMP) folder which is also my eclipse workspace, for the network shared project I wanted to import into Eclipse. To do this open an elevated command prompt and run this command

    mklink /d projectname \\network_shared_folder
    

    /d option creates a directory symbolic link. Now, the network project will be available as a local project on the web root which can be easily imported into Eclipse (or any other IDE)

    Hope this comes in handy for someone who stumbles upon this problem. Now I can get content assist for any file in the project.

    Thanks.