News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Textmate - php syntax check
January 27, 2009 @ 12:55:22

If you're a fan of the Textmate editor for the Mac platform, you might want to check out this new post from the cssgallery website. It shows how you can get your favorite editor to check your PHP syntax for you.

A nice "hidden" feature that Textmate has, is to check the syntax of the php files you are writing, and display a popup with the result. [...] Each time you save, a syntax check will be done, and a popup will show you the result

You'll need to edit the PHP bundle slightly to get things working, but that's as easy as going through the UI and changing a drop-down value to activate the check. You'll need to have a php binary where the editor can use it, but most OS X installs will have that in place anyway. Check out this image to see the end result.

0 comments voice your opinion now!
textmate editor bundle edit syntax check save

blog comments powered by Disqus

Similar Posts

Davey Shafik's Blog: Netbeans for PHP: Continues to Impress

Danne Lundqvist's Blog: Two weeks with Zend Studio for Eclipse

PHP-GTK Community Site: Which editing widget do you use in your PHP-GTK apps?

Bjarte Karlsen's Blog: My vim setup for editing php files

Joshua Thijssen's Blog: Facter: Zend Server

Community Events

Don't see your event here?
Let us know!

opinion package update list release deployment library series tips interview install symfony zendserver api introduction laravel language community podcast framework

All content copyright, 2014 :: - Powered by the Solar PHP Framework