<script id="tmplTablaCuenta" type="text/x-jsrender">
<div id="loading" style="text-align:center;display:none">
Reproducible, but I think this is more of a enhancement. It would work if type is set to text/html but I guess that's not possible with used framework? From "text/x-jsrender" NetBeans can't know it is HTML
I'm having the same issue with type="text/x-handlebars".
It would be nice to configure how the editor handles various <script> tags. Like the original requester, I too would like HTML formatting within these tags.
I'm guessing this will become more and more popular as client-side JS frameworks are in use.
*** Bug 248958 has been marked as a duplicate of this bug. ***
type="text/x-jsrender" - html
type="text/x-handlebars" - ???
type="text/ng-template" - html
we have next types:
that should be treated as html (and templating syntax inside) in a script tags.
And it's widely used by all front-end developers.
Created attachment 152602 [details]
Look at this mess!
Please fix this! We suffer much!
Need formatting and cc in <script type="text/ng-template"> So much!
Please, please, please!
Please, do not change the version meta data. Thank you
I am sorry, this is really enhencement. There is a lot of work for each type to be recognizable.
Netbeans can't claim it has angular support if it can't even correctly format templates... this is really needed. Does anyone know any work-a-rounds?
I need that text/ng-template format tooo
So please vote for it. Bugzilla for netbeans has a voting system. More votes, means change to a higher priority. But a comment is not really a vote.
This is extremely annoying.