Eclipse for PHP with aptana plugin works great
for me. I had some trouble getting it to work, so I listed up all the
steps to take.
- Install Eclipse for PHP: http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliossr1
- Install Aptana 2 as Eclipse plugin: You do this by opening eclipse and going to Help -> Install new software and add this link: http://d3lq98emif3szr.cloudfront.net/tools/studio/plugin/install/studio/2.0.5.1278522500/ Then select Aptana Studio, next, next and restart Eclipse.
- Install JQuery support: do this by creating a temporary new default web project (File -> New -> Project -> Web (the first one) -> Default Web Project), Choose a name, Click Next, Click Install Javascript Libraries at the bottom of the window, Expand Javascript Libraries, select JQuery Support and click Install. Then Next, next and restart Eclipse
- Change the default Javascript editor to Aptana JS Editor: In eclipse, go to windows -> preferences -> general -> editors -> file associations, click *.js in the first list, then click Aptana JS Editor in the second one, and finaly click Default to make this your default Javascript Editor
- Enable JQuery in the Aptana JS Editor: In Eclipse, go to windows -> preferences -> aptana -> editors -> javascript -> code assist, check JQuery 1.3, and finally click OK.
Post a Comment