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.

Bug 250176 - Support for EJS templating
Summary: Support for EJS templating
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal with 5 votes (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2015-02-03 10:22 UTC by elennaro
Modified: 2017-06-16 14:24 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description elennaro 2015-02-03 10:22:22 UTC
Say we have a file: template.ejs

	<% interests forEach(function(interest){ %>
	<li><strong><% %></strong> <% %></li>
	<% }); %>

It's very necessary to have this file to be treated as a standard html file, to let cc and code highlight work.

Also it could be great if EJS code blocks at least won't be highlighted as html errors.

See EJS docs: for more information.

P.S. EJS is a very popular templating engine among Node.js developers.
Comment 1 _ tboudreau 2015-02-03 17:14:36 UTC
If you are filing this bug against my NodeJS plugin (please be sure that is what you are using), bugs for that are here:

If you are using the limited support for NodeJS in HTML 5 projects in NetBeans 8, this should be filed against HTML 5 support.  Reassigning to the www category for evaluation.
Comment 2 elennaro 2015-02-03 22:37:36 UTC
Oh thanks for explanation.
I suggested this as an enhancement to 8.1s node JS support. But it truly seems to be web's.
Comment 3 Christian Lenz 2016-02-16 13:13:54 UTC
Think that would be a nice enhancement, jade syntax highlighting is still available. EJS is missing :)
Comment 4 Christian Lenz 2017-06-16 14:24:12 UTC
Anything new here?