Underscore.js template code highlighting in Netbeans

I use to save my underscore.js templates in .html files, but Netbeans gives syntax errors.

Is there a plugin for integrating underscore.js templates with Netbeans? If not, is there a way to configure Netbeans to recognize patterns?

+7
source share
1 answer

There is no NetBeans plugin that supports the syntax for underscore.js syntax. There is a way to get NetBeans to recognize any custom language, and it's long and hard. Described here: http://wiki.netbeans.org/SyntaxColoringANTLR

The solution I found thanks to Thomas Davis from http://backbonetutorials.com/ uses a Sublime text editor that recognizes the syntax of the underscore.js syntax, more or less well.

+3
source

All Articles