News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Clay Loveless' Blog:
TextMate and phpDoc Comment Blocks
June 21, 2006 @ 06:04:09

On the KillerSoft blog today, there's a few comments from Clay Loveless about his trial of Textmate, specifically when dealing with phpDocumentor comment blocks.

I've been a BBEdit user for a decade, and despite my switch to Zend Studio last fall for the bulk of my PHP development, I still find myself going to plain text editors for little tweaks, or less formal "hack it out" efforts.

There are a few things that I've grown very accustomed to as a Zend Studio user over the past several months. One of those is typing "/**" in a PHP document and having a full phpDocumentor docblock appear magically, with the cursor insertion point set on the first line of the comment area.

Unfortunately, TextMate doesn't handle it quite that way, but he's found a similar way to accomplish it - using "doc_cp" followed by a TAB. It doesn't quite handle the preformatted blocks as well as Zend's software does, but that's nothing the scripting features of TextMate can't take care of - he shows you how.

2 comments voice your opinion now!
textmate phpdocumentor preformatted shortcut comment blocks textmate phpdocumentor preformatted shortcut comment blocks


blog comments powered by Disqus

Similar Posts

Symfony Blog: New in symfony 1.2: Small things matter

Jani Hartikainen's Blog: Is commenting your code useless?

Gonzalo Ayuso's Blog: Inject dependencies via PhpDoc

Gonzalo Ayuso's Blog: Function decorators in PHP with PHPDoc and Annotations

Padraic Brady's Blog: ZF Blog Tutorial Part 10: Comments, reCAPTCHA and Akismet Filtering


Community Events











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


hhvm symfony2 security introduction application podcast language database release performance composer facebook hack framework example unittest install component project package

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework