[TxMt] Add scope for phpdoc comments in PHP/Spell-check in comments

Simon Ruderich simon at ruderich.com
Sun Oct 22 19:14:37 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


On 22.10.2006, at 00:03, Allan Odgaard wrote:

> On 21. Oct 2006, at 12:35, Simon Ruderich wrote:
>
>
>> Thanks, but now I got another problem. If I'm in a phpdoc and  
>> press Enter no * in the next line is entered as usual. I don't  
>> know why but I think it's a problem with the scope name. It worked  
>> for me with 'comment.block.php.phpdoc', but I don't know why. If I  
>> remember correctly it didn't worked with 'comment.block.phpdoc.php'.
>> Could you please look into it.
>>
>
> There is no such behavior by default, so you must have added it  
> locally, and scoped it to just comment.block. You would need to add  
> comment.documentation to the scope selector of this custom command.

I'm using the subversion version of the "Text" bundle and there is a  
snippet "Continue Star Bullet". And if I press enter in a normal PHP  
Comment then it works:

/*
  *
  * <=== I press enter here for example and then I get a new line  
with a star and a intention
  */

But with the new scope name it doesn't work anymore. Could you check  
this please.

Regarding my last email, could you please add the @uses keyword to  
the phpdoc language grammar?
Thanks in advance,
Simon Ruderich
- ----
 > privacy is necessary
 > using http://gnupg.org
 > public key id: 0x6115F804EFB33229 http://ruderich.com/ 
simonruderich.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFO8MdYRX4BO+zMikRClgvAJwKftVNRI+MTK60U2z5KKARKrjBQACeNePv
vGcBsZe9oXPRqiZi/AzyC+0=
=wV7o
-----END PGP SIGNATURE-----



More information about the textmate mailing list