views:

24

answers:

0

There are a couple of similar threads here, but most of the other tips don't work on PDT so let's make this one specific to Eclipse PDT for PHP.

I'll start (w/ credit to those that work from other the other threads):

  1. CTRL-SPACE = code completion
  2. CMD-/ = auto comment
  3. CMD-SHIFT-L = key assist
  4. If autocomplete isn't working right and filenames aren't expanding, right click on project folder and go to php build path and add folder
  5. CMD-SHIFT-t = shows list of classnames
  6. CMD-SHIFT-r = shows list of files
  7. I would say add the Generate Getters and Setters plugin except I just did and it doesn't work for me.
  8. Don't like the @author variable used by the doc block? Change it. Note the comments include the tricky way of fixing this on the Mac.