OK, I've added this and it works great. The syntax is pure line noise to me...how do I change it from inserting one tab to two spaces (I always indent block comments to two spaces regardless of other indentation, so I'd like this to be consistently at two spaces).<br>
<br>Thanks!<br><br><div class="gmail_quote">2008/4/25 Ian Potter <<a href="mailto:mcsticky@gmail.com">mcsticky@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Apr 25, 2008, at 1:28 AM, Allan Odgaard wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On 23 Apr 2008, at 17:57, Thomas Allen wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
[…]<br>
I can't find a resource of all TM env. vars, but the PHP comments preference<br>
includes values of /* and */ for TM_COMMENT_START_3 and TM_COMMENT_END_3,<br>
respectively. What var can define my block comments' body?<br>
</blockquote>
<br>
The generic Toggle Comment command is not designed to support the configuration of such style. But it should be fairly simple to create an overload which is only active in PHP mode, you can even write it in PHP: <a href="http://ciaranwal.sh/2008/04/04/textmate-tip-using-php-for-commands" target="_blank">http://ciaranwal.sh/2008/04/04/textmate-tip-using-php-for-commands</a> :)<br>

<br>
</blockquote>
I found this snippet a while ago:<br>
<br>
${TM_CURRENT_LINE/(.*\*\/$)|.*?(\/\*(?!.*\*\/)).*|.*/(?1:<br>
:<br>
(?2: )* )/}<br>
Activation: ↩<br>
Scope Selector: source.php comment.block<br>
<br>
This one lines up your * but I'm sure you could modify it to left-align them all.<br>
<br>
itp<br>
<br>
<br>
______________________________________________________________________<br>
For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br>
(threading gets destroyed and the universe will collapse if you don't)<br>
<a href="http://lists.macromates.com/mailman/listinfo/textmate" target="_blank">http://lists.macromates.com/mailman/listinfo/textmate</a><br>
</blockquote></div><br>