[TxMt] Re: Folding PHP docblocks

Michael Sheets mummer at whitefalls.org
Fri Nov 21 18:53:11 UTC 2008


On Nov 21, 2008, at 4:58 AM, Richard Dyce wrote:

> Having a small problem changing the HTML wrapping setup to accommodate
> php docblocks.
>
> I use alt-cmd-[ to reformat my code, and it (unsurprisingly) resets
> docblock comments to
>
> /**
>  * A comment
>  **/
>
> However, I like my coments to fold!

Folding markers must have the same indentation level, the regex isn't  
even run if they don't so there isn't any way to 'regex' around this.



More information about the textmate mailing list