如何在NetBeans中添加带有点(blade.php)的自定义文件扩展名? [英] How to add a custom file extension that has a dot (blade.php) in NetBeans?

查看:98
本文介绍了如何在NetBeans中添加带有点(blade.php)的自定义文件扩展名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要分配一个自定义扩展名,以将其识别为netbeans中的twig文件("blade.php"为"twig"文件,并适当地给我语法突出显示和代码完成).使用文件关联选项(在Tools > Options > Miscellaneous > Files中)的问题 是它不会让我添加."在Blade.php之类的扩展名中,它可以与php,html,css等单词扩展名一起使用.

如果有人可以帮助我,将不胜感激!

解决方案

正如我所看到的,问题更多地是以 NetBeans为中心的,所以我也建议您向NetBeans提交错误报告.社区.

也许将来他们可以解决该问题.您也可以链接该问题,以便他们可以看到用户的反应.

I need to assign a custom extension to be recognized as a twig file in netbeans ('blade.php' as 'twig' file and give me syntax highlighting and code completion appropriately). The problem with using the File association option (in Tools > Options > Miscellaneous > Files) is that it won't let me add '.' in extension like blade.php, it works with single worded extensions like php, html, css etc.

Will be grateful if anybody can help me with this!

解决方案

As I can see the problem is more NetBeans-centric, so I would also suggest you to file a bug report to the NetBeans community.

Maybe in the future they can fix that issue. You may also link that question so they can see the user reactions.

这篇关于如何在NetBeans中添加带有点(blade.php)的自定义文件扩展名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆