I find it difficult to figure out how to highlight my html syntax NetBeans IDE 7.1.1when I open the file with the extension twig.
NetBeans IDE 7.1.1
twig
I tried installing php symfony framework pluginfor NetBeans, but nothing has changed.
php symfony framework plugin
You do not need to install any plugin.
You just need to add a new file extension twinto
twin
NetBeans -> Miscellaneous -> Options -> Files
And then you need to associate twig extensionwith HTML.
twig extension
HTML
The result will be as follows:
Closest you can add the extension twigto the tab Tools->Options->Miscellaneous->Filesand set MIME as TPL (text/x-tpl). However, this editor will not show html errors.
Tools->Options->Miscellaneous->Files
TPL (text/x-tpl)
NetBeans 7.0 ( ), , , NetBeans 7.2.1.
PHP Twig: http://plugins.netbeans.org/plugin/37069/php-twig
Installation: 0. Download the plugin. 1. Menu> Tools> Plugins> Download [find and install it] 2. Activate it. Menu> Tools> Plugins> Installed [check the box and activate] 3. Restart NetBeans. (Close and open again) 4. Enjoy it;)