問題描述
我需要指定一個(gè)自定義擴(kuò)展名,以便在 netbeans 中識(shí)別為 twig 文件('blade.php' 作為 'twig' 文件并適當(dāng)?shù)亟o我語法高亮和代碼完成).使用文件關(guān)聯(lián)選項(xiàng)的問題(在 Tools > Options > Miscellaneous > Files
中)是它不會(huì)讓我添加 '.'在諸如blade.php 之類的擴(kuò)展中,它可以與諸如php、html、css 等單字?jǐn)U展一起使用.
如果有人能幫助我,我將不勝感激!
正如我所見,問題更以NetBeans 為中心,所以我還建議您向 NetBeans 提交錯(cuò)誤報(bào)告社區(qū).??p>
- NetBeans 論壇.
- NetBeans 錯(cuò)誤跟蹤器.
也許將來他們可以解決這個(gè)問題.您還可以鏈接該問題,以便他們查看用戶的反應(yīng).
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.
- The NetBeans forums.
- The NetBeans bug tracker.
Maybe in the future they can fix that issue. You may also link that question so they can see the user reactions.
這篇關(guān)于如何在 NetBeans 中添加帶有點(diǎn) (blade.php) 的自定義文件擴(kuò)展名?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!