Hi all, I am pretty new to textmate and would like to know if it's possible to change the color of PHPdoc comments from normal comments. I've noticed since using a lot of PHPDoc stuff in my code that it looks more confusing than ever. Being able to change the color would help in making things more readable.
I noticed there was a thread in 2006 that discussed this but it did not help me. Also, I tried setting the scope of "comment.documentation" in hopes that it my be the correct scope with no luck (it doesn't seem to match the scope or something because nothing changes even after restarting textmate).
Any help would really be appreciated.
Thanks, Clark Endrizzi
On 26 Dec 2007, at 19:21, Clark Endrizzi wrote:
[...] Also, I tried setting the scope of "comment.documentation" in hopes that it my be the correct scope with no luck [...]
The correct scope is: comment.block.documentation.phpdoc
In the document you can press ⌃⇧P to see a tool tip with the current scope.
Use ⌃⇧⌘C to copy the full scope to the clipboard. Both actions are from the Bundle Development bundle.