Wednesday, March 11, 2009

Getting PDT into Symfony mode

Here's how to setup Eclipse PDT to ease Symfony development.

  1. Download an all in one PDT distro from http://www.eclipse.org/pdt/downloads/
  2. Install RSE so you can develop directly on a remote server or sync your current project. (update site: http://download.eclipse.org/dsdp/tm/updates/3.0/, search for "Remote" when installing to make sure you get all aspects of the plugin. Make sure you select the RSE core!)
  3. Install Terminal so you can SSH to a remote server and execute Symfony commands. (Update site is the same as for RSE.)
  4. Install SQLExplorer to talk directly to your database from Eclipse (update site: http://eclipsesql.sourceforge.net/)
  5. Follow the directions at (http://trac.symfony-project.org/wiki/SymfonyAndPDT) to install the YAML editor and get code completion working. This will only work if you are developing a project on your machine. If you're developing directly on a server using RSE, this method will not work.
  6. Add the symfony code completion templates at (http://www.symfony-framework.com/2008/06/03/speed-symfony-developing-with-eclipse-snippets-templates/) to at least get some snippet help when developing remotely.

No comments:

2008 joshnankin.com | Based on template from Free CSS Templates