Is there any way to tell Netbeans to highlight PHP code in HTML files? I am using Zend Framework, where a lot of PHP code is included in the view files.
1 Answer
Thanks, but i have found the solutions.
You can set in the Options Screen - Misc - Files. The Type associated with .phtml. After switching it to php it works.
3 Comments
Pascal MARTIN
+1 : Oh, I really missed this one :-( Thanks for the info ;-)
MartinC
thanks, your hint helped me to set the association for *.tml files (tapestry markup language) +1
A.M.N.Bandara
I coudn't find Misc in options... Can you please specify the exact steps to do this.