Eclipse PDT 2.2 Debian 5

How to install Eclipse PDT 2.2 on Debian 5

  1. Download the latest Eclipse PDT All-In-One package
    1. Visit the Eclipse PDT downloads page
      http://www.eclipse.org/pdt/downloads
    2. Click the download link for your architecture.
      1. 32 bit:
        All-In-One Linux x86/GTK 2 32-bit
      2. 64 bit:
        All-In-One Linux x86/GTK 2 64-bit
    3. Select a mirror and click to download Eclipse PDT
  2. Extract the Eclipse download to /usr/lib
  3. Create launcher for quick-launch panel
    1. Right click the Quick-Launch panel
    2. Select the Add to Panel... option
    3. Select the Custom Application Launcher option
    4. Click the Add button
    5. Set the following fields
      Type: Application
      Name: Eclipse PDT
      Command: /usr/lib/eclipse/eclipse
      Comment: Eclipse PDT IDE
      1. Click No Icon
        1. Clise Browse...
        2. Browse to the /usr/lib/eclipse folder
        3. Click Open
      2. Select the icon.xpm file
      3. Click the OK button
    6. Click Close

How to configure Eclipse PDT 2.2 for Debian 5

  1. Open Eclipse
    1. Set the Workspace
      /var/www
    2. Check the Use this as the default and do not ask again checkbox
    3. Click OK
  2. Edit Eclipse Preferences
    1. Select the Window > Preferences menu option
    2. Edit Text Editor Settings
      1. Select the General > Editors > Text Editors left column option
      2. Check the Insert spaces for tabs checkbox
    3. Use external browser.
      1. Select the General > Web Browser left column option.
      2. Select the Use external web browser radio option.
      3. Select the Mozilla browser.
    4. Configure Automatic Updates
      1. Select the Install/Update > Automatic Updates left column option
      2. Check the Automatically find new updates and notify me check box
    5. Configure JavaScript file formatting
      1. Select the JavaScript > Code Style > Formatter left column option
      2. Create a new custom profile
        1. Click the New... button
        2. Enter a Profile name
        3. Click OK
        4. Set the following options
          Tab policy: Spaces only
          Indentation size: 2
        5. Click OK
    6. Configure CSS file formatting
      1. Select the Web > CSS Files > Editor left column option
      2. Set the following options
        Indent using spaces
        Indentation size: 2
    7. Configure indenting for HTML files
      1. Select the Web > HTML Files > Editor left column option
      2. Set the following options
        Indent using spaces
        Indentation size: 2
    8. Configure indenting for XML files
      1. Select the XML > XML Files > Editor left column option
      2. Set the following options
        Indent using spaces
        Indentation size: 2
    9. Click the OK button
  3. Close Eclipse
    1. Check the Always exit without prompt checkbox
    2. Click the OK button

Open Source Software: