开发者

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

开发者 https://www.devze.com 2022-12-29 20:38 出处:网络
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 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 l开发者_如何学Goook at my existing files?


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.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消