Member Login
Member Login
Username
Password
Forgot password?
Signup
Resend Activation Email
  • Home
  • Join TheBOX
  • Downloads
    • e107 Themes
      • Free e107 Themes
      • Premium e107 Themes
    • e107 Plugins
      • Free e107 Plugins
      • Free CorlleteLab Widgets
      • Premium CorlleteLab Widgets
    • Free PHP Tools
  • Blog
  • Community
    • News
    • Forum
    • Site Showcase
  • Help
    • What's All About
    • Getting Started
    • Users & Access
    • Subscription Services
    • Site Resources & Content
    • What's new - site changelog
    • Site Roadmap
    • Why us?
    • Support Ticket
Follow Us on Twitter   Become a fan!
Free Source Network - e107 addicted

Site Blog - Programming

12
Apr

Aptana and Eclispe - Code Formatter for PHP Development Tools for Eclipse

in Programming
Facebook Twitter del.icio.us Digg it reddit Google StumbleUpon
 SecretR      Comments: 6    

The story


Those of you who are using the 'PHP development tools' (PDT ) plugin for Eclipse should know this is the most wanted ever feature from the PDT development team (Zend company). I think I know the reason why it's still not implemented - it's available for the commercial PDT analogue - Zend Studio for Eclipse.

I did a wide research half year ago and didn't find anything even close to useful. The breakthrough came a month ago. I call it pure luck - I don't know how I ended up to a site (free hosted) in totally illegible for me language (Chinese?) except it's title
Eclipse PDT (PHP Development Tools) - PHP Code Formatter Plugin (prototype)
I was able to (almost) understand the rest thanks to Google Translate project.

However I wasn't able to find any reference to the person/team behind this page. If someone can give me information in this matter, please do it. I really wanna say "Thank you" to this guy.

To understand better how lucky I was, I'll tell you that some days later I was trying to open this page with no success - it was restricted to US IP's only (and I'm far from US located).

Requirements


JRE 6.+
Aptana 2.+ (tested on 2.0.2) OR Eclipse 3.4+
Eclipse Web Tools Platform (WTP) 3.+ - tested on v3.1.1
Eclipse Dynamic Languages Toolkit (DLTK) 1.+ - tested on v1.0.1
PHP Development Tools (PDT) 2.+ - tested on v2.1.2

Download


Project URL: http://atlanto.web.fc2.com/pdt/workshop/formatter_plugin.html
Direct download (free-source.net mirror) PDT 1.3: va000137.pdt.tools.formatter_0.92.4.jar
Direct download (free-source.net mirror) PDT 2.x: va000137.pdt.tools.formatter_0.92.4.v20081027.jar

Installation


Copy the downloaded .jar file to your Aptana/Eclipse 'dropin' folder (INSTALL_PATH/dropins), restart Aptana/Eclipse, done. Yep, so easy it is.
Now go to Preferences / PHP / Code Style / Formatter and set your preferred code styling options.

EDIT: Thanks to tgtje who pointed me to PDT Tools project on SourceForge Japan. You can download the most recent version of Code Formatter dropin from there and I can say: "Thank you so much atlanto from sourceforge.jp" :)

Showing posts 1 to 1 from 1

Blog categories

e107 (2)
Programming (1)
Security (2)
Design (1)
Flex & AIR (1)
Thoughts (1)
Free Source Network (1)

All categories

Recent News

  • Jan 16 2012, 17:44:05
    Anouncing "Corporate" e107 Premium Theme Package
    in FS NET
  • Nov 15 2011, 17:10:33
    Anouncing "Goldy" e107 Premium Theme Package
    in e107 Themes
  • Nov 08 2011, 22:56:15
    Important! We need your cooperation
    in FS NET
  • Oct 15 2011, 15:52:49
    Anouncing "eSpacy" e107 Premium Theme Package
    in FS NET
  • Oct 05 2011, 13:28:03
    FS Net has a new ticket system running
    in FS NET
Session Validation failed with code 10001