How to change PHP Smarty plugin template file extension in NetBeans?

孤街浪徒 提交于 2019-11-30 14:49:12

In NetBeans (with the PHP Smarty Framework plugin installed):

  1. Click on the Tools menu, and select Options
  2. Click on Miscellaneous located toward the right side of the top icon bar of the Options dialog.
  3. Click on the Files tab.
  4. In the File Extension combo-box field, select htm.
  5. In the Associated File Type (MIME) field, change the value to TPL (text/tpl).
  6. Click OK

To restore the original behavior, repeat the above steps, except select HTML Files (text/html) in step 5.

I found http://wiki.netbeans.org/FaqCplusPlusDefaultExtensions , unfortunately it's only for C/C++ .

The php-tab should have something like it as well...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!