Reputation: 2900
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
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
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
Reputation: 3556
Have you setup Eclipse for PHP Developers?
As far as I remember, it leaves the source files intact.
Upvotes: 0