sebhoerl / Twig-netbeans

Twig syntax highlighting for Netbeans, see todo @ wiki
http://blogsh.de/twig-for-netbeans/
GNU General Public License v3.0
96 stars 7 forks source link

changeable template suffix (extension) #29

Open Gamesh opened 13 years ago

Gamesh commented 13 years ago

Would be nice if you could change the default twig extension to something like html or phtml and get the syntax highlighting. now if you don't use .twig template file extension you can't take advantage of this plugin

Spone commented 12 years ago

You can go to Tools > Options > Miscellaneous > Files, select the phtml extension and associate it to the Mime-Type text/twig.

Gamesh commented 12 years ago

yeah, but when you create a new file ant select twig template, it uses the default extensions .twig instead of let say phtml although the file says twig phtml template. I think it has something to do with changing the association

Spone commented 12 years ago

You're right, it does not enable new file creation with any other extension.