2009
11.26

Textmate doesn’t support code completion for PHP out of the box so here are the instructions for getting the PHP code completion bundle from macromates. Some of the instructions online are currently outdated.

So lets get started. To download and install the bundle please follow these instructions.

  1. Open Terminal
  2. Run the following commands

mkdir -p /Library/Application\ Support/TextMate/Bundles

cd /Library/Application\ Support/TextMate/Bundles

svn co http://svn.textmate.org/trunk/Bundles/PHP.tmbundle

And that’s it. Crack open textmate and check that it’s worked. Create a new PHP file and type the first few letters of a php function followed by escape. ⌥ F1 will give you some useful usage documentation.

Have fun :)

No Comment.

Add Your Comment