Netbeans syntax highlighting for volt (twig) and php in phtml files
netbeans, phalcon, php, twig, volt
Solution
Go to Tools->Options->Miscellaneous->Files right to "File Extensions" press "create" and type there "volt". After that in "Associated File Type (MIME)" choose "TWIG (text/x-twig)". Restart IDE.
Problem
I'm working with Phalcon in Netbeans. I see I can use twig plugin for template highlighting for volt files. I am using phtml files and want highlighting for volt (twig) and php. Is this possible? Also related - Netbeans keeps duplicating my phtml view files and adding the extention .phtml.php to them. How can I fix that?