Drupal API Library for Eclipse

JordiTR - September 22, 2006 - 15:19

Hi you all.

Is there any team or individual that has converted the Drupal API to an Eclipse Library?

I'm not very good at programing and I'm considering to work on eclipse. It is harder than other IDEs but being able to work with libraries (and code assist from those libraries) would allow to have a powerful Drupal development tool, being eclipse open source as it is, an also having inner CVS support.

Maybe no need for it...

JordiTR - October 5, 2006 - 10:54

Going more in depth on eclipse (at present time I'm running EasyEclipse) I've realized that it's not required to create special libraries since eclipse itself (once we have defined a project, and in this case a project based on a drupal project) tracks all the files and libraries (each time one enters) and thus it provides all drupal api functions, help and autocompletion. Eclipse is a bit slow and rigid but a tremendous IDE (for free).

I've just answered myself to resolve that question just in case anyone else could search for something similar at any time :-)

lovin eclipse

dman - October 5, 2006 - 11:21

I was very happy when I found it auto-sensing all the functions (and their docs) from setup.

Occasionally (I dunno why) the line numbers get out of synch so hot-jumping ends up about half a page away from the target, but rebuilding the project ( F5, CTRL-B ) usually fixes that.

I'm using PHPEclipse plus the web developer package, but not the integrated host/preview/debug setup.
My only wish is that I could configure the syntax formatter just a little bit more to stop it from wrecking my aligned array declarations. I believe that array is a keyword in Java (which Eclipse always assumes) , but behaves like a function in PHP, leading to Broken layouts in formAPI regions.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

Eclipse's distros

JordiTR - October 9, 2006 - 14:15

Hi Dan.

I've invested quite a long time to understand eclipse and its world. Finally I discovered that probably the simples way to PHP-eclipse is www.easyeclipse.org, a complete distro with PHP, PHP debugger, SQL, CSS, HTML and CVS (and a few other things) with just one installer. I'm working with it and after looking for other distros it looks to be the most tight one.

Also www.aptana.com offers the best distro for HTML, CSS and JS (with several interesting standard AJAX libraries), but I haven't managed to get it working on my easyeclipse environment. It looks as if the HTML/CSS code interpreters on both distros collide. It's not weird since the Aptana distro faces HTML/JS very deeply.

Other than that I have to say that two things annoy me very much on eclipse: it huge memory demand and its inability to warp code lines. The list of wonderful things is quite astonishing for me, being someone improving his php skills day by day ;-)

Code and API support

JordiTR - October 9, 2006 - 14:18

By the way, it's true, all it's code and project tools finally got sense when discovering that it was helping me on code assist with all the API functions without any need to configure it. That's invaluable for me.

Just discovered EasyElcipse

faunapolis - August 26, 2007 - 20:22

Awesome!

You can even connect to the Drupal CVS repository with the PHP version of EasyEclipse.

J.

Just discovered Eclipse PDT

yettyn - September 14, 2007 - 12:16

While EasyEclipse looks nice it still include the "old" PHP Eclipse for php editing (this might change in the future though). Instead I found the all new Eclipse PDT (http://www.eclipse.org/pdt/) all-in-one packages which basically gives you all you want and up-to-date, based on new Eclipse Europa (3.3). I also installed the Aptana plugin, which among other things gives you ftp connectivity with a synchronize feature - develop locally and sync with your online site - very handy.

In any case Eclipse is really awesome and probably the best there is for php developing - and it's all free!

 
 

Drupal is a registered trademark of Dries Buytaert.