8

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 1

15

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.

Sign up to request clarification or add additional context in comments.

3 Comments

+1 : Oh, I really missed this one :-( Thanks for the info ;-)
thanks, your hint helped me to set the association for *.tml files (tapestry markup language) +1
I coudn't find Misc in options... Can you please specify the exact steps to do this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.