Eclipse PDT 2.0 incoming
It looks like the next major release of one of the best PHP development tools around, PDT for the Eclipse platform, is due out soon. Version 2.0 had initially been expected on September 15th earlier this year, but due to a shift in the specification and roadmap for the project they ended up delaying the proposed release date to December 29th.
This date seems to be realistic, as the first of 3 proposed release candidates was released on December 9th on the PDT site. This is good news, as it is intended to provide a bunch of new features for us PHP developers out there, along with better integration with existing Eclipse frameworks and foundations such as the WTP and DLTK modules.
Among the proposed features are such things as support for PHP 5.3 (namespaces and so on) and Eclipse 3.4. This shift to the latest Eclipse base will please many people as it will allow them to utilise the latest versions of productivity tools and other development IDEs which only work in v3.4 (PDT 1.03 only works on Eclipse 3.3 from my experience, I haven’t tested PDT 1.05 which was released recently and says it works with Eclipse 3.4 – maybe this is a stop-gap solution).
The full plan is available here for those of you who are interested, but the main points of improvement are:
- Mark occurances – a handy editor feature for refactoring and debugging
- Improvements to the modelling of your PHP projects in the system (PHP Model Infrastructure, whatever that is, Type Hierarchy View and an improved PHP Explorer)
- Code templates
- Code assistance with dynamic variables and types along with overridden methods
As you can see, none of the features are going to change your life overnight, but they may well make an already great tool even better, tighter and more in-depth than before – which can’t be bad.
If you want to check out the release candidates (RC1 is out at the time of writing) then go over to the PDT download page and grab it there. You will need Eclipse 3.4 with a few other modules first though!
Geoff Adams
Programmer, Research and Development









[...] coming, but it is finally here: the PHP Development Tools for Eclipse (PDT) have reached v2.0! We mentioned a few weeks ago that the project was going into release candidate overdrive in the run-up to its proposed release [...]
By PHP Development Tools v2.0 | JustSearch Labs January 2nd, 2009Have you tried using JQuery with Eclipse Ganymede & PDT2.0. It’s full of errors, one for each ‘$’ sign in the javascripts. Eclipse is no good for web development if it can’t be fixed. I’m gutted.
By Craig January 27th, 2009I’m using jQuery in PDT 2.0 quite heavily in my current project, and must say I have not encountered errors being generated by the $ function. I am running the PDT 2.0 GA release with Ganymede, so I’m wondering if there is maybe a problem with your configuration – for one, are the JavaScript Development Tools installed?
By Geoff Adams January 27th, 2009Aha, (possible light at the end of the tunnel), what are the “JavaScript Development Tools” and where would one find them? I’d be VERY keen to know.
By Craig January 27th, 2009You should be able to obtain them through the ‘Software Updates’ option under the ‘Help’ menu. Simply select a mirror and then do a search for ‘javascript’ – it should come up. If I remember correctly, it requires the WST (Web Standard Tools I think – don’t quote me though!) to function. Alternatively, the all-in-one package for PDT 2.0 is here: http://www.eclipse.org/pdt/downloads/ – this the package I am currently running with a couple of additional plugins (Subversive for SVN access for example).
By Geoff Adams January 27th, 2009Looking at the “About Eclipse Plug-ins” I see there’s 4 JavaScript items in the WST area: JavaScript Code Manipulation Tools Core, JavaScript Development Tools UI and JavaScript infopop. Is that what you mean?
I’ve also tried the fix at http://www.langtags.com/jquerywtp/index.html to no avail.
If it makes a difference, I’m running 64 bit Eclipse on a 64 bit Ubuntu workstation and getting no production out of it whatsoever because of this problem.
By Craig January 27th, 2009I think the problem you are having is that the version of Eclipse in the main Ubuntu repository is 3.2.2. ‘About Eclipse Plug-ins’ is not in 3.4. I would suggest downloading the PDT All-in-one package from http://www.eclipse.org/pdt/downloads/ and using that as a base from which to add more modules to. The JavaScript tools are simply called ‘JavaScript Development Tools’ and are at version 1.0.3.
By Geoff Adams January 27th, 2009Hi,
Having similar problems getting jqueryWTP to work. Its not recognizing $. I have installed pdt (pdt-all-in-one-win32-2.0.0GA.zip) and have Ganymede version 3.4.1. I also have Javascript Developer Tools 1.0.3 and Web developer tools 3.0.3.
The plugin (org.eclipse.wst.javascript.ui_1.0.200.v200805160650.jar) does not seem to work.
Any help or suggestions would be great.
By Steve Whitfield February 5th, 2009I don’t use that plugin, but I suspect that it is for an older version of Eclipse and WTP judging from the timestamp in the filename (from May 2008). I can’t tell from the actual jQueryWTP site which versions of other components they have built it against, so I have no idea which version it is for.
By Geoff Adams February 6th, 2009I’m using the latest stable PDT all in one, and confirm the problem of $ stated by Crayg.
The problem is “$ cannot be resolved” and you can see only when using $.
Take note that the problem is not visible using something like $(”#hello”). You can see using something like $., e.g. $.trim() or $.ajax().
Using jQuery. don’t help.
Surely the problem is due to Ecplise not scanning in outside scripts imported with src=
By Rik March 26th, 2009I have never encountered this issue – I don’t get autocompletion for jQuery (as it is vanilla PDT installed), but I also don’t get any errors. Your best bet is going onto the bug tracker for the PDT project and submitting a bug report.
By Geoff Adams March 26th, 2009If you click the option to “Add Javascript Support” to the project (right click the project) Then the errors will appear. I have not found a way to turn this back off.
Unfortunately I am also in the list of people looking for a solution to the jquery error problem. It’s quite frustrating.
By Bill Terry April 2nd, 2009