简体   繁体   中英

Symfony Twig Templates in Netbeans

I am new to Symfony and am trying to create a Twig template in NetBeans. However, by default NetBeans doesn't support the file extension .twig . I tried to google but couldn't find any answer. I saw some Twig NetNeans plugins in my Google search result but they didn't say whether they support the .twig file extension so I decided not to download them.

Can someone please point me in the right direction.

I use NetBeans 8.0.2 and I can edit Twig files correctly using the "Twig Templates" plugin. It's a core plugin, in the "PHP" category. You can enable it via Tools -> Plugins.

Note: since it's aa core plugin, you don't find it in "Available Plugins", but in "Installed Plugins". Being a core plugin, it's already installed, you probably only have to "Activate" it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM