How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development

Before PDT installation in Eclipse How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development

Eclipse is my primary IDE for WordPress Plugin development. Some time back I’ve written an article on how to Setup your WordPress Plugin into Eclipse? In other words: Eclipse and WordPress Plugin SVN repository Connectivity.

You could develop plugin OR edit PHP file in any text editor, but why not to use Eclipse plugin called PDT for better user interface. PDT should be a must have extension for any Eclipse Environment. That’s the first thing I do after downloading Eclipse. PHP Development Tools (PDT) delivers a PHP Integrated Development Environment framework for the Eclipse platform. It leverages the existing Web Tools Project in providing developers with PHP capabilities.

PDT comes with below built in features. If you are a Java Developer then you might already know about all of these features:

  1. Syntax Highlighting
  2. Content Assist
  3. Code Formatter
  4. Quick Outline
  5. Code Templates
  6. Code Navigation
  7. Power of Eclipse Ecosystem
  8. PHP Debugging
  9. Syntax Validation

In this tutorial I’ll show steps on how to install PDT in Eclipse.

Step-1

Click on Help -> Install New Software...

Eclipse Install New Software How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development

Step-2

Click on Add… and then Add Repository.

Install New Software in Eclipse How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development

Eclipse PDT update site:

http://download.eclipse.org/tools/pdt/updates/latest/

Provide PDT upgrade site How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development

Step-3

Select checkbox infront of Packages and click Next -> Accept Terms and Conditions -> Finish

Select Package and Install How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development

Step-4

Now restart Eclipse and open same .php file again. You should see all above mentioned benefits.

After PDT installation in Eclipse How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development

Have anything to add to this article? Please chime in and join the conversion.
twitter How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Developmentfacebook How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Developmentgoogle How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Developmentpinterest How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Developmenttumblr How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Developmentbuffer How to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin Development