This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
jquery/underscore templates, Handlebars, Mustache, maybe some other popular ones with traditional curly-braces based syntax. Simple syntax coloring and pair matching in <script type="this_teplate_type"> would be enough, imho.
i solve it installing Apache Server and running my project using External web server. then using the Server Side Include <!--#include virtual="myinclude.html"-->. but i think that the extention of your index page must be index.shtml
Currently including a handlebars template on a .jsp page shows an error: "Expected an operand but found error" Try pasting <script id="list" type="text/x-handlebars-template"> {{#if items}}
iikku: Please install latest updates (Go to Help|Check For updates), it should be fixed - at least I cannot reproduce it. If not, please file a new issue to javascript - editor and provide some sample to reproduce it. Thanks in advance
You're correct, it's fixed in the latest updates. Syntax highlighting is still missing, anyhow.
Yes, definitely. The patch only prevents from getting JavaScript error so there is no error badge.
Would be fantastic to support this. Right now, handlebar templates "confuse" the highlighter enough that it starts messing up on a regular javascript block below it.
Didn't try the plugin yet but maybe this can help: https://github.com/jbboehr/netbeans-handlebars-plugin
I tried the plugin, it brings syntax highlighting to hbs files, hbs files has an icon in the project tree. It is ok for the moment, but the syntax highlighting of the hbs html is missing or broken. everything of the html inside the hbs file has the same color but someone can fix this or so.