Set Up Eclipse PDT 2.0 On Eclipse 3.4 (Ganymede)

This is a howto about setting up a proffessional PHP IDE using Eclipse by hand. I'll be using Eclipse PDT for PHP support. The PDT project provides a PHP Development Tools framework for the Eclipse platform. This project encompasses all development components necessary to develop PHP and facilitate extensibility. It leverages the existing Web Tools Project in providing developers with PHP capabilities. We will have in the end features like subversion support, edit remote files, database development, debugging and more.

 

Get Eclipse

Download Eclipse Classic.

 

Remote Files

Get Target Management/RSE

The Target Management project creates data models and frameworks to configure and manage remote (mainframe down to embedded) systems, their connections, and their services. The base toolkit includes a Remote Files subsystem that allows transparent working on remote computers just like the local one, a shell and a processes subsystem. Other offerings include a lightweight Terminal and a Network Discovery framework.

Now in your Eclipse add the TM/RSE update site:

  • Help ? Software Updates
  • In the "Available Software" tab, click on the "Add Site" button and write this one: http://download.eclipse.org/dsdp/tm/updates/3.0/ (this is the URL for the version 3.0, check TM/RSE site to get latest one).
  • Now click on "Manage Sites" and check the TM/RSE URL.
  • Click on the "Refresh" button.
  • Now select the TM/RSE options you want:
    • RSE FTP
    • RSE Local
    • RSE SSH
    • RSE Telnet
    • Target Management Service Discovery
    • Target Management Terminal

 

Get Subclipse

Subclipse is an Eclipse Team Provider plug-in providing support for Subversion within the Eclipse IDE.

  • Help ? Software Updates
  • In the "Available Software" tab, click on the "Add Site" button and write this one: http://subclipse.tigris.org/update_1.4.x (this URL is for the version 1.4, check Subclipse site).
  • Now click on "Manage Sites" and check the TM/RSE URL.
  • Click on the "Refresh" button.
  • Now select the Subclipse options you want:
    • Subclipse
    • SVNKit

 

Webtools

The Eclipse Web Tools Platform (WTP) project extends the Eclipse platform with tools for developing Web and Java EE applications. It includes source and graphical editors for a variety of languages, wizards and built-in applications to simplify development, and tools and APIs to support deploying, running, and testing apps.

  • Help ? Software Updates
  • In the "Available Software" tab, open "Ganymede".
  • Go to "Web and Java EE Development".
  • Select options:
    • Eclipse XML Editors and Tools
    • Web Developer Tools
    • Web Page Editor

 

Database

The Eclipse Data Tools Platform provides extensible frameworks and exemplary tools, enabling a diverse set of plug-in offerings specific to particular data-centric technologies and supported by the DTP ecosystem.

  • Help ? Software Updates
  • In the "Available Software" tab, open "Ganymede".
  • Go to "Database Development".
  • Select options:
    • Data Tools Platform Enablement
    • Data Tools Platform SQL Development Tools

 

Set Up PDT

You need to install first some required components for PDT.

 

Graphical Editing Framework

The Graphical Editing Framework (GEF) allows developers to take an existing application model and quickly create a rich graphical editor. This module is needed for Eclipse PDT.

  • Help ? Software Updates
  • In the "Available Software" tab, open "Ganymede".
  • Go to "Graphical Editors and Frameworks".
  • Select options:
    • Graphical Editing Framework GEF

 

Dynamic Languages Toolkit

Dynamic Languages Toolkit is a tool for vendors, researchers, and end-users who rely on dynamic languages. DLTK is comprised of a set of extensible frameworks designed to reduce the complexity of building full featured development environments for dynamic languages such as PHP and Perl. Besides a set of frameworks DLTK provides exemplary Tcl, Ruby, and Python Integrated Development Environments ready to use out of the box.

  • Help ? Software Updates
  • In the "Available Software" tab, open "Ganymede".
  • Click on "Manage Sites".
  • Check "http://download.eclipse.org/technology/dltk/updates/".
  • Select options:
    • Dynamic Languages Toolkit Project (DLTK) 0.95
      • Dynamic Languages Toolkit - Core Frameworks

 

PDT

The PDT project provides a PHP Development Tools framework for the Eclipse platform. This project encompasses all development components necessary to develop PHP and facilitate extensibility. It leverages the existing Web Tools Project in providing developers with PHP capabilities.

  • Download latest integration build here.
  • Unzip it somewhere.
  • Start eclipse.
  • Help ? Software Updates
  • Go to "Available Software" tab.
  • Click on the "Add Site" button.
  • Click on "Local".
  • Select the folder where you unzip the file.
  • Select "PDT Feature".

Now you can start develop PHP application using Eclipse/PDT.

Share this page:

60 Comment(s)