Mike
Mike

Reputation: 2900

How to setup eclipse ide for php development with pre-existing source

I have been using Dreamweaver for my web development and would like to try out eclipse. I would like to keep the source files where they are now. What do I need to set for my workspace and then how do I set it to look at my existing files?

Upvotes: 9

Views: 5488

Answers (3)

realtimez
realtimez

Reputation: 2555

Eclipse PDT:

1: New -> Local PHP Project. Create it wherever you want (e.g your workspace).

2: Import -> File System. Select the root of your source code.

3: Click Advanced -> Create Links.

Now all source files will be edited in their current location.

Upvotes: 2

Brent Parker
Brent Parker

Reputation: 739

You'll want to set up a workspace in the parent directory of the folder containing that project. Then, you'll create a new PHP project in Eclipse with the same name as the folder containing that project. That should get you going!

For example say you have a folder called Development. Inside that you have a folder called MyProject which contains all the subdirectories and code for your PHP project. On startup you'll select Development for your workspace and then create a PHP project called MyProject.

Upvotes: 9

gurun8
gurun8

Reputation: 3556

Have you setup Eclipse for PHP Developers?

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR2/eclipse-php-galileo-SR2-win32.zip

As far as I remember, it leaves the source files intact.

Upvotes: 0

Related Questions