[TxMt] PHP Code Comments

Teifion Jordan sarkalian at gmail.com
Fri Apr 25 13:39:40 UTC 2008


Yes, http://macromates.com/screencasts - check out scope based  
customization, I think it will be easier to follow than any written  
instructions

On 25 Apr 2008, at 14:17, Thomas Allen wrote:

> Neither of those options will print a new "  * " for each line,  
> making it tedious to add more @params, etc. Is there a way to have  
> TM insert that bit with every line in these blocks?
>
> 2008/4/25 Ciarán Walsh <ciawal at gmail.com>:
>
> On 24 Apr 2008, at 18:51, Thomas Allen wrote:
>
> The default block comment in the PHP bundle is:
> /*
>  Comment...
>  Comment...
> */
>
> The industry standard seems to be this:
> /**
> *  Comment...
> *  Comment...
> */
>
> How can I change this in TextMate?
>
> The "industry standard" you mention is used for docblocks, not  
> regular block comments. There is the /**⇥ snippet which Takaaki  
> Kato mentioned, and also a doc⇥ snippet which inserts some relevant  
> PHPDoc data.
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate


––––––––––––––––––
http://woarl.com/blog

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080425/96779c5d/attachment.html>


More information about the textmate mailing list